MPLS L2VPN в Cisco
Материал из Xgu.ru
Содержание |
[править] Пример настройки PW
[править] С использованием синтаксиса L2VPN Protocol-Based CLIs
template type pseudowire BANK_PW encapsulation mpls mtu 8192 interface pseudowire10211 description PW BANK MSK r1 -> SPB r1 source template type pseudowire BANK_PW encapsulation mpls neighbor 20.20.2.1 10211 interface pseudowire10212 description PW BANK MSK r1 -> SPB r2 source template type pseudowire BANK_PW encapsulation mpls neighbor 20.20.2.2 10212 interface GigabitEthernet0/0/2 description LAN to MSK sw mtu 8192 no ip address speed 1000 no negotiation auto spanning-tree cost 7 service instance 803 ethernet description PW BANK SPB encapsulation dot1q 803 l2vpn xconnect context PW_SPB description PW MSK - SPB member pseudowire10211 group GR_SPB priority 1 member pseudowire10212 group GR_SPB priority 2 member GigabitEthernet0/0/2 service-instance 803 redundancy delay 1 1 group GR_SPB
[править] С использованием традиционного синтаксиса xconnect
pseudowire-class PW_BANK_FIL encapsulation mpls interface GigabitEthernet0/0/2.811 description PW BANK MSK - Vologda encapsulation dot1Q 811 xconnect 20.20.93.1 9311 encapsulation mpls pw-class PW_BANK_FIL backup peer 20.20.93.2 9312 pw-class PW_BANK_FIL backup delay 1 1 mtu 8192