beautypg.com

Binding a bgp vpls instance – H3C Technologies H3C S7500E Series Switches User Manual

Page 173

background image

4-13

To do…

Use the command…

Remarks

Specify BGP as the PW signaling

protocol and enter VSI BGP view

pwsignal bgp

Required

Configure an RD for the VPLS

instance

route-distinguisher

route-distinguisher

Required

Configure VPN targets for the

VPLS instance

vpn-target vpn-target

&<1-16>

[ both | import-extcommunity |

export-extcommunity

]

Required

Create a site for the VPLS

instance

site

site-id [ range site-range ]

[ default-offset { 0 | 1 } ]

Required

Binding a BGP VPLS Instance

You can Binding a Layer 2 Ethernet interface and a VLAN with the VPLS instance. After you configure
such a binding, the VPLS connection services packets that carry the specified VLAN tag and are
received on the specified Layer 2 Ethernet interface.

To bind a Layer 2 Ethernet interface and a VLAN with a VPLS instance, you need to create a service
instance on the Layer 2 Ethernet interface, configure a packet matching rule for the service instance,
and bind the service instance with the VPLS instance. After these configurations, packets that arrive at
the Layer 2 Ethernet interface and match the packet matching rule will be forwarded through the
bound VPLS instance.

Follow these steps to bind a VLAN interface with a VPLS instance:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter the view of the interface

connecting a CE

interface

interface-type

interface-number

Create a service instance and

enter its view

service-instance

service-instance-id

Required

By default, no service instance is

created.

Configure a packet matching rule

for the service instance

encapsulation s-vid

vlan-id

Required

By default, no packet matching

rule is configured for a service

instance..

Associate the service instance with

a VPLS instance

xconnect vsi

vsi-name

[ access-mode { ethernet |

vlan

} ]

Required

By default, a service instance is

not associated with any VPLS

instance.