3com S7906E 安装指导
1-12
To do…
Use the command…
Remarks
Create a BGP VPLS instance
and enter VSI view
and enter VSI view
vsi vsi-name auto
Required
Specify BGP as the PW
signaling protocol and enter
VSI BGP view
signaling protocol and enter
VSI BGP view
pwsignal bgp
Required
Configure an RD for the VPLS
instance
instance
route-distinguisher
route-distinguisher
route-distinguisher
Required
Configure VPN targets for the
VPLS instance
VPLS instance
vpn-target vpn-target&<1-16>
[ both | import-extcommunity
| export-extcommunity ]
[ both | import-extcommunity
| export-extcommunity ]
Required
Create a site for the VPLS
instance
instance
site site-id [ range site-range ]
[ default-offset { 0 | 1 } ]
[ default-offset { 0 | 1 } ]
Required
Binding the VPLS Instance
You can Binding a Layer 2 Ethernet interface and a VLAN interface 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.
Configuration prerequisite
z
Configuring the VPLS instance.
Configuration procedure
To bind a Layer 2 Ethernet interface and one or more VLANs 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 Layer 2 Ethernet interface and one or more VLANs with a VPLS instance:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter the view of the interface
connecting a CE
connecting a CE
interface interface-type
interface-number
interface-number
—
Create a service instance and
enter its view
enter its view
service-instance
service-instance-id
service-instance-id
Required
By default, no service instance
is created.
is created.
Configure a packet matching
rule for the service instance
rule for the service instance
encapsulation s-vid vlan-id
Required
By default, no packet matching
rule is configured for a service
instance.
rule is configured for a service
instance.