#configure terminal | Enter configure mode. |
(config)#interface lo | Configure the Loopback interface. |
(config-if)# ip address 35.35.35.35/32 secondary | Set the IP address of the loopback interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe5 | Enter interface mode. |
(config-if)# ip address 10.35.48.1/30 | Set the IP address of the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe9 | Enter interface mode. |
(config-if)# ip address 10.35.33.1/30 | Set the IP address of the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe10 | Enter interface mode. |
(config-if)# ip address 10.35.49.1/30 | Set the IP address of the interface. |
(config-if)#exit | Exit interface mode. |
(config)#router ospf 100 | Enter the Router mode for OSPF. |
(config-router)#ospf router-id 35.35.35.35 | Configure OSPF router ID. |
(config-router)# bfd all-interfaces | Configure BFD on OSPF. |
(config-router)#network 10.35.48.0/30 area 0.0.0.0 | Define the Network on which OSPF runs and associate the area ID (area 0) with the interface. |
(config-router)#network 10.35.49.0/30 area 0.0.0.0 | Define the Network on which OSPF runs and associate the area ID (area 0) with the interface. |
(config-router)#network 10.35.33.0/30 area 0.0.0.0 | Define the Network on which OSPF runs and associate the area ID (area 0) with the interface. |
(config-router)#exit | Exit router mode. |
#configure terminal | Enter configure mode. |
(config)#interface lo | Configure the Loopback interface. |
(config-if)# ip address 33.33.33.33/32 secondary | Set the IP address of the loopback interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe5 | Enter interface mode. |
(config-if)# ip address 10.33.49.1/30 | Set the IP address of the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe9 | Enter interface mode. |
(config-if)# ip address 10.35.33.2/30 | Set the IP address of the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe11 | Enter interface mode. |
(config-if)# ip address 10.33.48.1/30 | Set the IP address of the interface. |
(config-if)#exit | Exit interface mode. |
(config)#router ospf 100 | Enter the Router mode for OSPF. |
(config-router)#ospf router-id 33.33.33.33 | Configure OSPF router ID. |
(config-router)# bfd all-interfaces | Configure BFD on OSPF. |
(config-router)#network 10.33.48.0/30 area 0.0.0.0 | Define the Network on which OSPF runs and associate the area ID (area 0) with the interface. |
(config-router)#network 10.33.49.0/30 area 0.0.0.0 | Define the Network on which OSPF runs and associate the area ID (area 0) with the interface. |
(config-router)#network 10.35.33.0/30 area 0.0.0.0 | Define the Network on which OSPF runs and associate the area ID (area 0) with the interface. |
(config-router)#exit | Exit router mode |
#configure terminal | Enter configure mode. |
(config)#interface lo | Configure the Loopback interface. |
(config-if)# ip address 48.48.48.48/32 secondary | Set the IP address of the loopback interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe5 | Enter interface mode. |
(config-if)# ip address 10.35.48.2/30 | Set the IP address of the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe6 | Enter interface mode. |
(config-if)# ip address 10.48.32.1/30 | Set the IP address of the interface |
(config-if)#exit | Exit interface mode. |
(config)# interface xe7 | Enter interface mode. |
(config-if)# ip address 10.48.49.1/30 | Set the IP address of the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe11 | Enter interface mode. |
(config-if)# ip address 10.33.48.2/30 | Set the IP address of the interface |
(config-if)#exit | Exit interface mode. |
(config)#router ospf 100 | Enter the Router mode for OSPF. |
(config-router)#ospf router-id 48.48.48.48 | Configure OSPF router ID. |
(config-router)# bfd all-interfaces | Configure BFD on OSPF. |
(config-router)#network 10.35.48.0/30 area 0.0.0.0 | Define the Network on which OSPF runs and associate the area ID (area 0) with the interface. |
(config-router)#network 10.48.49.0/30 area 0.0.0.0 | Define the Network on which OSPF runs and associate the area ID (area 0) with the interface. |
(config-router)#network 10.48.32.0/30 area 0.0.0.0 | Define the Network on which OSPF runs and associate the area ID (area 0) with the interface. |
(config-router)#network 10.33.48.0/30 area 0.0.0.0 | Define the Network on which OSPF runs and associate the area ID (area 0) with the interface. |
(config-router)#exit | Exit router mode |
#configure terminal | Enter configure mode. |
(config)#interface lo | Configure the Loopback interface. |
(config-if)# ip address 49.49.49.49/32 secondary | Set the IP address of the loopback interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe5 | Enter interface mode. |
(config-if)# ip address 10.33.49.2/30 | Set the IP address of the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe6 | Enter interface mode. |
(config-if)# ip address 10.49.32.1/30 | Set the IP address of the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe7 | Enter interface mode. |
(config-if)# ip address 10.48.49.2/30 | Set the IP address of the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe10 | Enter interface mode. |
(config-if)# ip address 10.35.49.2/30 | Set the IP address of the interface. |
(config-if)#exit | Exit interface mode. |
(config)#router ospf 100 | Enter the Router mode for OSPF. |
(config-router)#ospf router-id 49.49.49.49 | Configure OSPF router ID. |
(config-router)# bfd all-interfaces | Configure BFD on OSPF. |
(config-router)#network 10.35.49.0/30 area 0.0.0.0 | Define the Network on which OSPF runs and associate the area ID (area 0) with the interface. |
(config-router)#network 10.48.49.0/30 area 0.0.0.0 | Define the Network on which OSPF runs and associate the area ID (area 0) with the interface. |
(config-router)#network 10.49.32.0/30 area 0.0.0.0 | Define the Network on which OSPF runs and associate the area ID (area 0) with the interface. |
(config-router)#network 10.33.49.0/30 area 0.0.0.0 | Define the Network on which OSPF runs and associate the area ID (area 0) with the interface. |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)#interface lo | Configure the Loopback interface. |
(config-if)# ip address 32.32.32.32/32 secondary | Set the IP address of the loopback interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe6 | Enter interface mode. |
(config-if)# ip address 10.48.32.2/30 | Set the IP address of the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe7 | Enter interface mode. |
(config-if)# ip address 10.49.32.1/30 | Set the IP address of the interface. |
(config-if)#exit | Exit interface mode. |
(config)#router ospf 100 | Enter the Router mode for OSPF. |
(config-router)#ospf router-id 32.32.32.32 | Configure OSPF router ID. |
(config-router)# bfd all-interfaces | Configure BFD on OSPF. |
(config-router)#network 10.48.32.0/30 area 0.0.0.0 | Define the Network on which OSPF runs and associate the area ID (area 0) with the interface. |
(config-router)#network 10.49.32.0/30 area 0.0.0.0 | Define the Network on which OSPF runs and associate the area ID (area 0) with the interface. |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)#router rsvp | Enter the router mode for RSVP. |
(config-router)# no php | Configure no PHP |
(config-router)#exit | Exit router mode. |
(config)# interface xe5 | Enter interface mode. |
(config-if)# label-switching | Enable label switching on the interface |
(config-if)# enable-rsvp | Enable RSVP on the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe9 | Enter interface mode. |
(config-if)# label-switching | Enable label switching on the interface |
(config-if)# enable-rsvp | Enable RSVP on the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe10 | Enter interface mode. |
(config-if)# label-switching | Enable label switching on the interface |
(config-if)# enable-rsvp | Enable RSVP on the interface. |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)#router rsvp | Enter the Router mode for RSVP. |
(config-router)# no php | Configure no PHP |
(config-router)#exit | Exit router mode. |
(config)# interface xe5 | Enter interface mode. |
(config-if)# label-switching | Enable label switching on the interface |
(config-if)# enable-rsvp | Enable RSVP on the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe9 | Enter interface mode. |
(config-if)# label-switching | Enable label switching on the interface. |
(config-if)# enable-rsvp | Enable RSVP on the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe11 | Enter interface mode. |
(config-if)# label-switching | Enable label switching on the interface |
(config-if)# enable-rsvp | Enable RSVP on the interface. |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)#router rsvp | Enter the Router mode for RSVP. |
(config-router)# no php | Configure no PHP |
(config-router)#exit | Exit router mode. |
(config)# interface xe5 | Enter interface mode. |
(config-if)# label-switching | Enable label switching on the interface |
(config-if)# enable-rsvp | Enable RSVP on the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe6 | Enter interface mode. |
(config-if)# label-switching | Enable label switching on the interface |
(config-if)# enable-rsvp | Enable RSVP on the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe7 | Enter interface mode. |
(config-if)# label-switching | Enable label switching on the interface |
(config-if)# enable-rsvp | Enable RSVP on the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe11 | Enter interface mode. |
(config-if)# label-switching | Enable label switching on the interface |
(config-if)# enable-rsvp | Enable RSVP on the interface. |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)#router rsvp | Enter the Router mode for RSVP. |
(config-router)# no php | Configure no PHP |
(config-router)#exit | Exit router mode. |
(config)# interface xe5 | Enter interface mode. |
(config-if)# label-switching | Enable label switching on the interface |
(config-if)# enable-rsvp | Enable RSVP on the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe6 | Enter interface mode. |
(config-if)# label-switching | Enable label switching on the interface |
(config-if)# enable-rsvp | Enable RSVP on the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe7 | Enter interface mode. |
(config-if)# label-switching | Enable label switching on the interface |
(config-if)# enable-rsvp | Enable RSVP on the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe10 | Enter interface mode. |
(config-if)# label-switching | Enable label switching on the interface |
(config-if)# enable-rsvp | Enable RSVP on the interface. |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)#router rsvp | Enter the Router mode for RSVP. |
(config-router)# no php | Configure no PHP |
(config-router)#exit | Exit router mode. |
(config)# interface xe6 | Enter interface mode. |
(config-if)# label-switching | Enable label switching on the interface |
(config-if)# enable-rsvp | Enable RSVP on the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe7 | Enter interface mode. |
(config-if)# label-switching | Enable label switching on the interface |
(config-if)# enable-rsvp | Enable RSVP on the interface. |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)# rsvp-path 35-to-32 mpls | Configure RSVP-Path PE5 |
(config-path)# 10.35.48.2 strict | Configure Strict hop |
(config-path)# 10.48.32.2 strict | Configure Strict hop |
(config-path)#exit | Exit RSVP-Path mode |
(config)#rsvp-trunk 35-to-32 | Configure RSVP-Trunk to PE5 |
(config-trunk)# primary fast-reroute protection one-to-one | Set FRR one-to-one mode. |
(config-trunk)# primary fast-reroute node-protection | Set FRR node protection |
(config-trunk)# primary path 35-to-32 | Set RSVP path. |
(config-trunk)# to 32.32.32.32 | Configure RSVP-LSP destination IP address |
(config-trunk)#exit | Exit RSVP-Trunk mode |
#configure terminal | Enter configure mode. |
(config)# rsvp-path 33-to-32 mpls | Configure RSVP-Path to PE5 |
(config-path)# 10.33.49.2 strict | Configure Strict hop |
(config-path)# 10.49.32.2 strict | Configure Strict hop |
(config-path)#exit | Exit RSVP path mode |
(config)#rsvp-trunk 33-to-32 | Configure RSVP trunk to PE5. |
(config-trunk)# primary fast-reroute protection one-to-one | Set FRR one-to-one mode. |
(config-trunk)# primary fast-reroute node-protection | Set FRR node protection |
(config-trunk)# primary path 33-to-32 | Set RSVP path. |
(config-trunk)# to 32.32.32.32 | Configure RSVP LSP destination IP address. |
(config-trunk)#exit | Exit RSVP-Trunk mode |
#configure terminal | Enter configure mode. |
(config)# rsvp-path 32-to-35 mpls | Configure RSVP path to PE1 |
(config-path)# 10.48.32.1 strict | Configure Strict hop |
(config-path)# 10.35.48.1 strict | Configure Strict hop |
(config-path)#exit | Exit RSVP path mode |
(config)# rsvp-path 32-to-33 mpls | Configure RSVP path to PE2 |
(config-path)# 10.49.32.1 strict | Configure Strict hop |
(config-path)# 10.33.49.1 strict | Configure Strict hop |
(config-path)#exit | Exit RSVP path mode |
(config)#rsvp-trunk 32-to-35 | Configure RSVP trunk.to PE1. |
(config-trunk)# primary fast-reroute protection one-to-one | Set FRR one-to-one mode. |
(config-trunk)# primary fast-reroute node-protection | Set FRR node protection |
(config-trunk)# primary path 32-to-35 | Set RSVP path |
(config-trunk)# to 33.33.33.33 | Configure RSVP-LSP destination IP address. |
(config-trunk)#exit | Exit RSVP trunk mode |
#configure terminal | Enter configure mode. |
(config)#router ldp | Enter the router mode for LDP. |
(config-router)# router-id 35.35.35.35 | Configure LDP router ID. |
(config-router)# pw-status-tlv | Set PW status TLV |
(config-router)# no multicast-hellos | Disable Multicast hellos |
(config-router)# targeted-peer ipv4 32.32.32.32 | Configure LDP targeted peer to PE5 |
(config-router-targeted-peer)# exit-targeted-peer-mode | Exit targeted peer mode. |
(config-router)#exit | Exit router mode |
(config)# interface xe5 | Enter interface mode. |
(config-if)# enable-ldp ipv4 | Enable IPv4 LDP on the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe9 | Enter interface mode. |
(config-if)# enable-ldp ipv4 | Enable IPv4 LDP on the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe10 | Enter interface mode. |
(config-if)# enable-ldp ipv4 | Enable IPv4 LDP on the interface. |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)#router ldp | Enter the router mode for LDP. |
(config-router)# router-id 33.33.33.33 | Configure LDP router ID |
(config-router)# pw-status-tlv | Set PW status TLV. |
(config-router)# no multicast-hellos | Disable multicast hellos |
(config-router)# targeted-peer ipv4 32.32.32.32 | Configure LDP targeted peer to PE5 |
(config-router-targeted-peer)# exit-targeted-peer-mode | Exit targeted peer mode. |
(config-router)#exit | Exit router mode |
(config)# interface xe5 | Enter interface mode. |
(config-if)# enable-ldp ipv4 | Enable IPv4 LDP on the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe9 | Enter interface mode. |
(config-if)# enable-ldp ipv4 | Enable IPv4 LDP on the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe11 | Enter interface mode. |
(config-if)# enable-ldp ipv4 | Enable IPv4 LDP on the interface. |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)#router ldp | Enter the router mode for LDP. |
(config-router)# router-id 32.32.32.32 | Configure LDP router ID |
(config-router)# pw-status-tlv | Set PW status TLV |
(config-router)# no multicast-hellos | Disable multicast hellos |
(config-router)# targeted-peer ipv4 35.35.35.35 | Configure LDP targeted peer to PE5 |
(config-router-targeted-peer)# exit-targeted-peer-mode | Exit targeted peer mode. |
(config-router)# targeted-peer ipv4 33.33.33.33 | Configure LDP targeted peer to PE5 |
(config-router-targeted-peer)# exit-targeted-peer-mode | Exit targeted peer mode. |
(config-router)#exit | Exit router mode |
(config)# interface xe6 | Enter interface mode. |
(config-if)# enable-ldp ipv4 | Enable IPv4 LDP on the interface. |
(config-if)#exit | Exit interface mode. |
(config)# interface xe7 | Enter interface mode. |
(config-if)# enable-ldp ipv4 | Enable IPv4 LDP on the interface. |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)#interface po1 | Configure the LAG interface |
(config-if)#switchport | Configure the interface as Layer 2 |
(config-if)#exit | Exit interface mode. |
(config)#interface xe1 | Enter interface mode. |
(config-if)#channel-group 1 mode active | Add this interface to channel group 1 and enable link aggregation so that it can be selected for aggregation by the local system |
(config-if)#exit | Exit interface mode. |
(config)#interface xe2 | Enter interface mode. |
(config-if)#channel-group 1 mode active | Add this interface to channel group 1 and enable link aggregation so that it can be selected for aggregation by the local system |
(config-if)#exit | Exit interface mode. |
(config)#interface xe3 | Enter interface mode. |
(config-if)#channel-group 1 mode active | Add this interface to channel group 1 and enable link aggregation so that it can be selected for aggregation by the local system |
(config-if)#exit | Exit interface mode. |
(config)#interface xe4 | Enter interface mode. |
(config-if)#channel-group 1 mode active | Add this interface to channel group 1 and enable link aggregation so that it can be selected for aggregation by the local system |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)#mcec domain configuration | Configure MLAG global. |
(config-mcec-domain)# domain-address 1111.2222.3333 | Configure the domain address. |
(config-mcec-domain)# domain-system-number 1 | Configure Domain System number. |
(config-mcec-domain)# intra-domain-link xe6 | Configure IDL link. |
(config-mcec-domain)#exit | Exit MLAG global mode. |
(config)#interface po1 | Configure the LAG interface |
(config-if)#switchport | Configure the interface as Layer 2 |
(config-if)#exit | Exit interface mode. |
(config)#interface xe1 | Enter interface mode. |
(config-if)#channel-group 1 mode active | Add this interface to channel group 1 and enable link aggregation so that it can be selected for aggregation by the local system |
(config-if)#exit | Exit interface mode. |
(config)#interface xe2 | Enter interface mode. |
(config-if)#channel-group 1 mode active | Add this interface to channel group 1 and enable link aggregation so that it can be selected for aggregation by the local system |
(config-if)#exit | Exit interface mode. |
(config)#interface po1 | Configure the LAG interface |
(config-if)# mlag 1 | Configure MLAG domain to LAG interface |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)#mcec domain configuration | Configure MLAG global |
(config-mcec-domain)# domain-address 1111.2222.3333 | Configure the Domain address |
(config-mcec-domain)# domain-system-number 2 | Configure Domain System number. |
(config-mcec-domain)# intra-domain-link xe6 | Configure IDL link. |
(config-mcec-domain)#exit | Exit MLAG global mode. |
(config)#interface po1 | Configure the LAG interface |
(config-if)#switchport | Configure the interface as Layer 2 |
(config-if)#exit | Exit interface mode. |
(config)#interface xe3 | Enter interface mode. |
(config-if)#channel-group 1 mode active | Add this interface to channel group 1 and enable link aggregation so that it can be selected for aggregation by the local system |
(config-if)#exit | Exit interface mode. |
(config)#interface xe4 | Enter interface mode. |
(config-if)#channel-group 1 mode active | Add this interface to channel group 1 and enable link aggregation so that it can be selected for aggregation by the local system |
(config-if)#exit | Exit interface mode. |
(config)#interface po1 | Configure the LAG interface |
(config-if)# mlag 1 | Configure MLAG domain to LAG interface |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)#service-template S-00-00-10 | Configure service template (translate) |
(config-svc)# match outer-vlan 10 | Configure match |
(config-svc)# rewrite ingress translate 20 outgoing-tpid dot1.q | Configure rewrite action |
(config-svc)#exit | Exit service template |
(config)# mpls l2-circuit VC1 1001 32.32.32.32 | Configure VPWS to PE5 |
(config-pseudowire)#exit | Exit pseudowire config mode. |
(config)#int po1 | Enter interface mode |
(config-if)#mpls-l2-circuit VC1 service-template S-00-00-10 | Attach VPWS to AC interface. |
(config-if)#exit | Exit interface |
#configure terminal | Enter configure mode. |
(config)#service-template S-00-00-10 | Configure service template (translate) |
(config-svc)# match outer-vlan 10 | Configure match |
(config-svc)# rewrite ingress translate 20 outgoing-tpid dot1.q | Configure rewrite action |
(config-svc)#exit | Exit service template |
(config)# mpls l2-circuit VC2 1002 32.32.32.32 | Configure VPWS to PE5 |
(config-pseudowire)#exit | Exit pseudowire config mode. |
(config)#int po1 | Enter interface mode |
(config-if)#mpls-l2-circuit VC2 service-template S-00-00-10 | Attach VPWS to AC interface. |
(config-if)#exit | Exit interface |
#configure terminal | Enter configure mode. |
(config)#service-template S-00-00-10 | Configure service template (translate) |
(config-svc)# match outer-vlan 10 | Configure match |
(config-svc)# rewrite ingress translate 20 outgoing-tpid dot1.q | Configure rewrite action |
(config-svc)#exit | Exit service template |
(config)# mpls l2-circuit VC1 1001 35.35.35.35 | Configure VPWS to PE1 |
(config-pseudowire)#exit | Exit pseudowire config mode. |
(config)# mpls l2-circuit VC2 1002 33.33.33.33 | Configure VPWS to PE2 |
(config-pseudowire)#exit | Exit pseudowire config mode. |
(config)#int xe8 | Enter interface mode |
(config-if)# switchport | Switch to Layer 2 mode. |
(config-if)#mpls-l2-circuit VC1 service-template S-00-00-10 | Attach Primary VPWS to AC interface. |
(config-if)# mpls-l2-circuit VC2 service-template S-00-00-10 secondary | Attach Secondary VPWS to AC interface. |
(config-if)#exit | Exit interface |