172Step Command6. Create a site for the VPLS instance. site site-id [ range site-range ] [ default-offset { 0 | 1 } ]Resetting VPLS BGP connectionsWhen the BGP routing policy or protocol is changed, reset BGP connections in a VPLS to make the newconfigurations take effect to the VPLS connections.To reset VPLS BGP connections, perform the following task in user view:Task CommandReset a specific VPLS BGP connection or all VPLS BGPconnections.reset bgp vpls { as-number | ip-address | all |external | internal }Binding a service instance with a VPLS instanceTo bind a service instance with a VPLS instance, create the service instance on a Layer 2 Ethernetinterface or Layer 2 aggregate interface, configure a packet matching rule for the service instance, andthen bind the service instance with the VPLS instance. After these configurations, packets that arrive at theinterface and match the packet matching rule are forwarded by the bound VPLS instance. A serviceinstance supports multiple types of packet matching rules (such as matching all packets received on theport, packets carrying the specified VLAN tags, all tagged packets, and all packets with no VLAN tags),providing a more flexible VPLS instance access control. Use this method when users connected to a VLANinterface belong to different VPNs. For more information about service instances, see Layer 2—LANSwitching Configuration Guide.To bind a service instance with a VPLS instance:Step Command Remarks1. Enter system view. system-view N/A2. Enter the view of the Layer 2Ethernet interface or Layer 2aggregate interfaceconnected to a CE.• Enter Layer 2 Ethernet interfaceview:interface interface-typeinterface-number• Enter Layer 2 aggregateinterface view:interface bridge-aggregationinterface-numberN/A3. Create a service instance andenter its view. service-instance service-instance-id By default, no service instance iscreated.4. Configure a packet matchingrule for the service instance.encapsulation { s-vid vlan-id[ only-tagged ] | port-based |tagged | untagged }By default, no packet matching ruleis configured for a serviceinstance.5. Associate the service instancewith a VPLS instance.xconnect vsi vsi-name[ access-mode { ethernet | vlan } ] *By default, a service instance is notassociated with any VPLS instance.