PE1(su)->set spantree version spt PE1(su)->set spantree mstcfgid cfgname spbvRegion1 PE1(su)->set spantree mstmap 2000-2200 sid spvid PE1(su)->set spantree mstmap 100,200 sid spbv PE1(su)->set spb port ge.1.10-20 status enable
PE1(su)->router vrf1 PE1(su-vrf1)->configure PE1(su-vrf1-config)->rd 1:10 PE1(su-vrf1-config)->route-target export 1:1 PE1(su-vrf1-config)->route-target import 1:10 PE1(su-vrf1-config)->exit PE1(su-vrf1)->exit
PE1(su)->router vrf2 PE1(su-vrf2)->configure PE1(su-vrf2-config)->rd 2:20 PE1(su-vrf2-config)->route-target both 2:2 PE1(su-vrf2-config)->route-target import 2:20 PE1(su-vrf2-config)->exit PE1(su-vrf2)->exit
Use the following example input when configuring L3 VPN over SPBV.
PE1(su)->configure PE1(su-config)->interface loopback 1 PE1(su-config-intf-loop.0.1)->ip address 192.168.100.10 255.255.255.255 primary PE1(su-config-intf-loop.0.1)->no shutdown PE1(su-config-intf-loop.0.1)->exit PE1(su-config)->interface vlan 100 PE1(su--config-intf-vlan.0.100)->ip address 192.168.100.110 255.255.255.0 primary PE1(su--config-intf-vlan.0.100)->no shutdown PE1(su--config-intf-vlan.0.100)->exit PE1(su-config)->interface vlan 200 PE1(su--config-intf-vlan.0.200)->ip address 192.168.100.120 255.255.255.0 primary PE1(su--config-intf-vlan.0.200)->no shutdown PE1(su--config-intf-vlan.0.200)->exit PE1(su-config)->
PE1(su-config)->router bgp 64520 PE1(su-config-bgp)->bgp router-id 192.168.100.10 PE1(su-config-bgp)->log-up-down PE1(su-config-bgp)->neighbor 192.168.100.20 remote-as 64520 PE1(su-config-bgp)->neighbor 192.168.100.20 update-source 192.168.100.10 PE1(su-config-bgp)->neighbor 192.168.100.30 remote-as 64520 PE1(su-config-bgp)->neighbor 192.168.100.30 update-source 192.168.100.10 PE1(su-config-bgp)->address-family vpnv4 PE1(su-config-bgp-af-vpn)->enable PE1(su-config-bgp-af-vpn)->192.168.100.20 activate PE1(su-config-bgp-af-vpn)->192.168.100.30 activate PE1(su-config-bgp-af-vpn)->exit PE1(su-config-bgp)->exit PE1(su-config)->exit PE1(su)->