#configure terminal | Enter configure mode. |
(config)#interface lo | Enter interface mode. |
(config-if)#ip address 192.168.0.63/32 secondary | Set the IP address for the interface. |
(config-if)#exit | Exit interface mode. |
(config)#interface xe2 | Enter interface mode. |
(config-if)#ip address 10.10.23.63/24 | Set the IP address for the interface. |
(config-if)#label-switching | Enable label switching on interface xe2. |
(config-if)#commit | Commit the transaction. |
(config)#router rsvp | Enter Configure Router mode. |
(config-router)#exit | Exit Router mode. |
(config)#interface xe2 | Enter interface mode. |
(config-if)#enable-rsvp | Enable RSVP message exchange on this interface. |
(config-if)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#router ospf 100 | Configure the Routing process and specify the Process ID (100). The Process ID should be a unique positive integer identifying the routing process. |
(config-router)#router-id 192.168.0.63 | Configure OSPF router-ID same as loopback interface IP address |
(config-router)#network 10.10.23.0/24 area 0 | Define the network (10.10.23.0/24) on which OSPF runs and associate the area ID (0). |
(config-router)#network 192.168.0.63/32 area 0 | Set the IP address of the loopback interface to 192.168.0.63/32. |
(config-router)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#interface lo | Enter interface mode. |
(config-if)#ip address 192.168.0.60/32 secondary | Set the IP address for the interface. |
(config-if)#exit | Enable label switching on interface lo. |
(config)#interface xe2 | Enter interface mode. |
(config-if)#ip address 10.10.23.60/24 | Set the IP address for the interface. |
(config-if)#label-switching | Enable label switching on interface xe2. |
(config-if)#exit | Exit interface mode. |
(config)#interface xe1 | Enter interface mode. |
(config-if)#ip address 10.10.21.60/24 | Set the IP address for the interface. |
(config-if)#label-switching | Enable label switching on interface xe1. |
(config-if)#commit | Commit the transaction. |
(config)#router rsvp | Enter Configure Router mode. |
(config-router)#exit | Exit Router mode. |
(config)#interface xe2 | Enter interface mode. |
(config-if)#enable-rsvp | Enable RSVP message exchange on this interface. |
(config-if)#exit | Exit interface mode. |
(config)#interface xe1 | Enter interface mode. |
(config-if)#enable-rsvp | Enable RSVP message exchange on this interface. |
(config-if)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#router ospf 100 | Configure the Routing process and specify the Process ID (100). The Process ID should be a unique positive integer identifying the routing process. |
(config-router)#router-id 192.168.0.60 | Configure OSPF router-ID same as loopback interface IP address |
(config-router)#network 10.10.23.0/24 area 0 | Define the first network (10.10.23.0/24) on which OSPF runs and associate the area ID (0). |
(config-router)#network 10.10.21.0/24 area 0 | Define the second network (10.10.21.0/24) on which OSPF runs and associate the area ID (0). |
(config-router)#network 192.168.0.60/32 area 0 | Set the IP address of the loopback interface to 192.168.0.63/32. |
(config-router)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#interface lo | Enter interface mode. |
(config-if)#ip address 192.168.0.90/32 secondary | Set the IP address for the interface. |
(config-if)#exit | Exit interface mode. |
(config)#interface xe1 | Enter interface mode. |
(config-if)#ip address 10.10.21.90/24 | Set the IP address for the interface. |
(config-if)#label-switching | Enable label switching on interface xe2. |
(config-if)#commit | Commit the transaction. |
(config)#router rsvp | Enter Configure Router mode. |
(config-router)#exit | Exit Router mode. |
(config)#interface xe1 | Enter interface mode. |
(config-if)#enable-rsvp | Enable RSVP message exchange on this interface. |
(config-if)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#router ospf 100 | Configure the Routing process and specify the Process ID (100). The Process ID should be a unique positive integer identifying the routing process. |
(config-router)#router-id 192.168.0.90 | Configure OSPF router-ID same as loopback interface IP address |
(config-router)#network 10.10.21.0/24 area 0 | Define the network (10.10.21.0/24) on which OSPF runs and associate the area ID (0). |
(config-router)#network 192.168.0.90/32 area 0 | Set the IP address of the loopback interface to 192.168.0.63/32. |
(config-router)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#rsvp-trunk T1 | Create an RSVP trunk T1 and enter the Trunk mode. |
(config-trunk)#no primary cspf | Specify no primary cspf since CSPF is enabled by default. |
(config-trunk)#to 192.168.0.90 | Specify the IPv4 egress (destination point) for the LSP. |
(config-trunk)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#rsvp-trunk T1 | Create an RSVP trunk T1 and enter the Trunk mode. |
(config-trunk)#to 192.168.0.90 | Specify the IPv4 egress (destination point) for the LSP. |
(config-trunk)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#router rsvp | Enable RSVP globally. |
(config-router)#rsvp-path PE2 | Configure RSVP path. |
(config-path)#rsvp-trunk T1 | Create an RSVP trunk T1 and enter the Trunk mode. |
(config-trunk)#map-route 90.90.90.0/24 | Specify the destination prefix that needs to mapped to this trunk. |
(config-trunk)#to 192.168.0.90 | Specify the IPv4 egress (destination point) for the LSP. |
(config-trunk)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#rsvp-path P1 | Create an RSVP Path P1 and enter the Path mode. |
(config-path)#10.10.23.60 strict | Configure this explicit route path as a strict hop. |
(config-path)#10.10.21.90 loose | Configure this explicit route path as a loose hop. |
(config-path)#exit | Exit Path mode. |
#configure terminal | Enter configure mode. |
(config)#rsvp-trunk T1 | Create an RSVP trunk T1 and enter the Trunk mode. |
(config-trunk)#no primary cspf | Since CSPF is enabled by default, specify no primary cspf if CSPF is not required. |
(config-trunk)#primary path P1 | Configure trunk T1 to use the defined path. |
(config-trunk)#to 192.168.0.90 | Specify the IPv4 egress (destination point) for the LSP. |
(config-trunk)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#rsvp-path myPath | Specify an RSVP path to be used. |
(config-path)#10.10.23.60 strict | Configure this explicit route path as a strict hop. |
(config-path)#exit | Exit Path mode. |
(config)#rsvp-path myPath2 | Specify an RSVP path to be used. |
(config-path)#10.10.23.60 loose | Configure this explicit route path as a loose hop. |
(config-path)#exit | Exit Path mode. |
(config)#rsvp-trunk T1 | Create an RSVP trunk T1 and enter the Trunk mode. |
(config-trunk)#no primary cspf | Since CSPF is enabled by default, specify no secondary cspf if CSPF is not required. |
(config-trunk)#primary path myPath | Specify an RSVP path to be used. |
(config-trunk)#no secondary cspf | Specify the no secondary cspf option for the Secondary LSP. |
(config-trunk)#secondary path myPath2 | Specify an RSVP path to be used. |
(config-trunk)#to 192.168.0.90 | Specify the IPv4 egress (destination point) for the LSP. |
(config-trunk)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#interface lo | Enter interface mode |
(config-if)#ip address 47.47.47.47/32 secondary | Set the secondary IP address for the lo interface |
(config-if)#exit | Exit interface mode. |
(config)#router rsvp | Enable RSVP globally. |
(config-router)#exit | Exit RSVP mode. |
(config)#interface vlan1.2 | Enter the interface mode. |
(config-if)#ip address 10.10.23.1/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.3 | Enter the interface mode. |
(config-if)#ip address 10.10.24.1/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.4 | Enter the interface mode. |
(config-if)#ip address 10.10.25.1/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.5 | Enter the interface mode. |
(config-if)#ip address 10.10.26.1/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.6 | Enter the interface mode. |
(config-if)#ip address 10.10.27.1/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.7 | Enter the interface mode. |
(config-if)#ip address 10.10.28.1/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe2 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 2,501 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 501 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe3 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 3,502 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 502 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe4 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 4,503 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 503 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe5 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 5,504 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 504 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe6 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 6,505 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 505 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe7 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 7,506 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 506 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(conf)#rsvp-path p1-r1-r3 mpls | Create RSVP path |
(conf-path)#10.10.23.2 strict | Configure nexthop |
(conf-path)#10.10.21.2 strict | Configure nexthop |
(conf)#rsvp-path sp1-r1-r3 mpls | Create RSVP path |
(conf-path)#10.10.24.2 strict | Configure nexthop |
(conf-path)#10.10.22.2 strict | Configure nexthop |
(conf)#rsvp-path sp2-r1-r3 mpls | Create RSVP path |
(conf-path)#10.10.25.2 strict | Configure nexthop |
(conf-path)#10.10.29.2 strict | Configure nexthop |
(conf)#rsvp-path sp3-r1-r3 mpls | Create RSVP path |
(conf-path)#10.10.26.2 strict | Configure nexthop |
(conf-path)#10.10.30.2 strict | Configure nexthop |
(conf)#rsvp-path sp4-r1-r3 mpls | Create RSVP path |
(conf-path)#10.10.27.2 strict | Configure nexthop |
(conf-path)#10.10.31.2 strict | Configure nexthop |
(conf)#rsvp-path sp5-r1-r3 mpls | Create RSVP path |
(conf-path)#10.10.28.2 strict | Configure nexthop |
(conf-path)#10.10.32.2 strict | Configure nexthop |
(conf)#rsvp-trunk 47-49-test ipv4 | Create a RSVP trunk link |
(conf-trunk)#primary path p1-r1-r3 | Configure primary path for trunk link |
(conf-trunk)#secondary-priority 1 path sp1-r1-r3 | Configure secondary link for trunk link |
(conf-trunk)#secondary-priority 2 path sp2-r1-r3 | Configure secondary link for trunk link |
(conf-trunk)#secondary-priority 3 path sp3-r1-r3 | Configure secondary link for trunk link |
(conf-trunk)#secondary-priority 4 path sp4-r1-r3 | Configure secondary link for trunk link |
(conf-trunk)#secondary-priority 5 path sp5-r1-r3 | Configure secondary link for trunk link |
(conf-trunk)#to 49.49.49.49 | Configure remote node for the LSP |
(config-trunk)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#router ospf 100 | Configure the Routing process and specify the Process ID (100). The Process ID should be a unique positive integer identifying the routing process. |
(config-router)#ospf router-id 47.47.47.47 | Configure OSPF router-ID same as loopback interface IP address |
(config-router)#network 10.10.23.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.24.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.25.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.26.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.27.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.28.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 47.47.47.47/32 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router) #commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#interface lo | Enter interface mode |
(config-if)#ip address 46.46.46.46/32 secondary | Set the secondary IP address for the lo interface |
(config-if)#exit | Exit interface mode. |
(config)#router rsvp | Enable RSVP globally. |
(config-router)#exit | Exit RSVP mode. |
(config)#interface vlan1.2 | Enter the interface mode. |
(config-if)#ip address 10.10.23.2/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.3 | Enter the interface mode. |
(config-if)#ip address 10.10.24.2/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.4 | Enter the interface mode. |
(config-if)#ip address 10.10.25.2/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.5 | Enter the interface mode. |
(config-if)#ip address 10.10.26.2/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.6 | Enter the interface mode. |
(config-if)#ip address 10.10.27.2/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.7 | Enter the interface mode. |
(config-if)#ip address 10.10.28.2/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.9 | Enter the interface mode. |
(config-if)#ip address 10.10.21.1/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.10 | Enter the interface mode. |
(config-if)#ip address 10.10.22.1/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.11 | Enter the interface mode. |
(config-if)#ip address 10.10.29.1/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.12 | Enter the interface mode. |
(config-if)#ip address 10.10.30.1/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.13 | Enter the interface mode. |
(config-if)#ip address 10.10.31.1/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.14 | Enter the interface mode. |
(config-if)#ip address 10.10.32.1/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe2 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 2,507 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 507 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe3 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 3,508 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 508 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe4 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 4,509 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 509 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe5 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 5,510 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 510 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe6 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 6,511 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 511 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe7 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 7,512 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 512 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe9 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 9,513 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 513 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe10 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 10,514 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 514 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe11 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 11,515 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 515 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe12 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 12,516 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 516 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe13 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 13,517 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 517 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe14 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 14,518 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 518 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#router ospf 100 | Configure the Routing process and specify the Process ID (100). The Process ID should be a unique positive integer identifying the routing process. |
(config-router)#ospf router-id 46.46.46.46 | Configure OSPF router-ID same as loopback interface IP address |
(config-router)#network 10.10.21.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.22.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.23.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.24.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.25.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.26.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.27.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.28.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.29.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.30.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.31.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.32.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 46.46.46.46/32 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router) #commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#interface lo | Enter interface mode |
(config-if)#ip address 49.49.49.49/32 secondary | Set the secondary IP address for the lo interface |
(config-if)#exit | Exit interface mode. |
(config)#router rsvp | Enable RSVP globally. |
(config-router)#exit | Exit RSVP mode. |
(config)#interface vlan1.9 | Enter the interface mode. |
(config-if)#ip address 10.10.21.2/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.10 | Enter the interface mode. |
(config-if)#ip address 10.10.22.2/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.11 | Enter the interface mode. |
(config-if)#ip address 10.10.29.2/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.12 | Enter the interface mode. |
(config-if)#ip address 10.10.30.2/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.13 | Enter the interface mode. |
(config-if)#ip address 10.10.31.2/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface vlan1.14 | Enter the interface mode. |
(config-if)#ip address 10.10.32.2/24 | Configure the IP Address |
(config-if)#mtu 1600 | Configure MTU size. |
(config-if)#label-switching | Enable MPLS. |
(config-if)#ip ospf network point-to-point | Enable OSPF point-to-point network type. |
(config-if)#enable-rsvp | Enable RSVP at the interface level. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe9 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 9,519 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 519 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe10 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 10,520 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 520 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe11 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 11,521 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 521 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe12 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 12,522 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 522 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe13 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 13,523 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 523 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(config)#interface xe14 | Enter the interface mode. |
(config-if)#switchport | Configure Switchport |
(config-if)#bridge-group 1 | Assign a Bridge ID to the port channel |
(config-if)#switchport mode trunk | Configure trunk |
(config-if)#switchport trunk allowed vlan add 14,524 | Configure allowed VLANs |
(config-if)#switchport trunk native vlan 524 | Configure native VLAN. |
(config-if)#load-interval 30 | Set load interval |
(config-if)#mtu 9192 | Configure the MTU Size. |
(config-if)#exit | Exit the interface mode. |
(conf)#rsvp-path sp1-r3-r1 mpls | Create RSVP path |
(conf-path)#10.10.21.1 strict | Configure nexthop |
(conf-path)#10.10.23.1 strict | Configure nexthop |
(conf)#rsvp-path sp2-r3-r1 mpls | Create RSVP path |
(conf-path)#10.10.22.1 strict | Configure nexthop |
(conf-path)#10.10.24.1 strict | Configure nexthop |
(conf)#rsvp-path sp2-r3-r1 mpls | Create RSVP path |
(conf-path)#10.10.29.2 strict | Configure nexthop |
(conf-path)#10.10.25.1 strict | Configure nexthop |
(conf)#rsvp-path sp3-r3-r1 mpls | Create RSVP path |
(conf-path)#10.10.30.1 strict | Configure nexthop |
(conf-path)#10.10.26.1 strict | Configure nexthop |
(conf)#rsvp-path sp4-r3-r1 mpls | Create RSVP path |
(conf-path)#10.10.31.1 strict | Configure nexthop |
(conf-path)#10.10.27.1 strict | Configure nexthop |
(conf)#rsvp-path sp5-r3-r1 mpls | Create RSVP path |
(conf-path)#10.10.32.1 strict | Configure nexthop |
(conf-path)#10.10.28.1 strict | Configure nexthop |
(conf)#rsvp-trunk 49-47-test ipv4 | Create a RSVP trunk link |
(conf-trunk)#primary path p1-r3-r1 | Configure primary path for trunk link |
(conf-trunk)#secondary-priority 1 path sp1-r3-r1 | Configure secondary link for trunk link |
(conf-trunk)#secondary-priority 2 path sp2-r3-r1 | Configure secondary link for trunk link |
(conf-trunk)#secondary-priority 3 path sp3-r3-r1 | Configure secondary link for trunk link |
(conf-trunk)#secondary-priority 4 path sp4-r3-r1 | Configure secondary link for trunk link |
(conf-trunk)#secondary-priority 5 path sp5-r3-r1 | Configure secondary link for trunk link |
(conf-trunk)#to 47.47.47.47 | Configure remote node for the LSP |
(conf-trunk)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#router ospf 100 | Configure the Routing process and specify the Process ID (100). The Process ID should be a unique positive integer identifying the routing process. |
(config-router)#ospf router-id 49.49.49.49 | Configure OSPF router-ID same as loopback interface IP address |
(config-router)#network 10.10.21.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.22.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.29.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.30.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.31.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 10.10.32.0/24 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router)#network 49.49.49.49/32 area 0 | Define the network on which OSPF runs and associate the area ID |
(config-router) #commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#admin-group A 0 | Add new administrative groups, specify their names and assign bit values to them. |
(config)#admin-group B 1 | |
(config)#admin-group C 2 | |
(config)#admin-group D 3 | |
(config)#admin-group E 4 | |
(config)#interface xe0 | Enter interface mode. |
(config-if)#admin-group A | Add administrative groups to the links. When used in the interface mode, this command adds a link between an interface and a group. The name is the name of the group previously configured. You can have multiple groups per interface. |
(config-if)#admin-group B | |
(config-if)#admin-group C | |
(config-if)#exit | Exit interface mode. |
(config)#interface xe2 | Enter interface mode. |
(config-if)#admin-group E | Add administrative groups to the links. When used in the interface mode, this command adds a link between an interface and a group. The name is the name of the group previously configured. You can have multiple groups per interface. |
(config-if)#admin-group D | |
(config-if)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#admin-group A 0 | Add new administrative groups and specify their names and assign bit values to them. |
(config)#admin-group C 2 | |
(config)#interface xe2 | Enter interface mode |
(config-if)#admin-group A | Add administrative groups to the links. When used in the interface mode, this command adds a link between an interface and a group. The name is the name of the group previously configured. You can have multiple groups per interface. |
(config-if)#admin-group C | |
(config-if)#commit | Commit the transaction. |
(config)#router rsvp | Enter the router mode for RSVP. |
(config-router)#rsvp-path P1 | Configure RSVP path. |
#configure terminal | Enter configure mode. |
(config)#rsvp-trunk T1 | Create an RSVP trunk T1 and enter the Trunk mode. |
(config-trunk)#no primary cspf | Since CSPF is enabled by default, specify no primary cspf if CSPF is not required. |
(config-trunk)#primary path P1 | Specify an RSVP primary path to be used. |
(config-trunk)#no primary cspf | Specify the no primary cspf option for the LSP. |
(config-trunk)#primary include-any A | Set up the LSP with admin group constraint A. |
(config-trunk)#primary include-any C | Set up the LSP with admin group constraint C. |
(config-trunk)#to 192.168.0.90 | Specify the IPv4 egress (destination point) for the LSP. |
(config-trunk)#commit | Commit the transaction. |