[PE2-Vlan-interface3] quit
# Configure OSPF.
[PE2] ospf
[PE2-ospf-1] area 0
[PE2-ospf-1-area-0.0.0.0] network 3.3.3.9 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] network 26.2.2.0 0.0.0.255
[PE2-ospf-1-area-0.0.0.0] quit
[PE2-ospf-1] quit
# Configure BGP extensions.
[PE2] bgp 100
[PE2-bgp] peer 1.1.1.9 as-number 100
[PE2-bgp] peer 1.1.1.9 connect-interface loopback 0
[PE2-bgp] vpls-family
[PE2-bgp-af-vpls] peer 1.1.1.9 enable
[PE2-bgp-af-vpls] quit
[PE2-bgp] quit
# Configure the basic attributes of VPLS instance aaa, which uses LDP.
[PE2] vsi aaa static
[PE2-vsi-aaa] pwsignal ldp
[PE2-vsi-aaa-ldp] vsi-id 500
[PE2-vsi-aaa-ldp] peer 1.1.1.9
[PE2-vsi-aaa-ldp] quit
[PE2-vsi-aaa] quit
# Configure the basic attributes of VPLS instance bbb, which uses BGP.
[PE2] vsi bbb auto
[PE2-vsi-bbb] pwsignal bgp
[PE2-vsi-bbb-bgp] route-distinguisher 100:1
[PE2-vsi-bbb-bgp] vpn-target 111:1
[PE2-vsi-bbb-bgp] site 11 range 12
[PE2-vsi-bbb-bgp] quit
[PE2-vsi-bbb] quit
# On the interface connecting CE 2, create service instance 1000 to bind the interface and VLAN 100
with VPLS instance aaa, and create service instance 2000 to bind the interface and VLAN 200 with
VPLS instance bbb.
[PE2] interface gigabitethernet 2/0/1
[PE2-GigabitEthernet2/0/1] service-instance 1000
[PE2-GigabitEthernet2/0/1-srv1000] encapsulation s-vid 100
[PE2-GigabitEthernet2/0/1-srv1000] xconnect vsi aaa
[PE2-GigabitEthernet2/0/1-srv1000] quit
[PE2-GigabitEthernet2/0/1] service-instance 2000
[PE2-GigabitEthernet2/0/1-srv2000] encapsulation s-vid 200
[PE2-GigabitEthernet2/0/1-srv2000] xconnect vsi bbb
[PE2-GigabitEthernet2/0/1-srv2000] quit
[PE2-GigabitEthernet2/0/1] quit
1-18
Need help?
Do you have a question about the S7906E and is the answer not in the manual?
Questions and answers