OcNOS-SP : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Configuration Guide : RSVP-TE Configuration : Configure RSVP-TE
Configure RSVP-TE
Note: The following configuration for establishing a trunk is required on all routers participating in label-switching. Based on the assumption that minimal configurations exist on all participating routers, other examples do not repeat this configuration.
Enable Label Switching - Minimal Configuration
To establish a trunk on a system:
1. Enable label-switching and RSVP-TE on all participating interfaces.
2. Configure a trunk on the ingress router to use the best available IGP path.
In this example, the Label Switched Path (LSP) is configured using minimal configuration and is setup using the best IP nexthop available. Each router along the path is chosen by the previous router by looking up the best nexthop available in its IP routing table.
Figure 6-8: Topology for Minimal Configuration
PE1 - NSM
 
#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.
PE1 - RSVP-TE
 
(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.
PE1 - OSPF
 
#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.
P - NSM
 
#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.
P - RSVP-TE
 
(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.
P - OSPF
 
#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.
PE2 - NSM
 
#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.
PE2 - RSVP-TE
 
(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.
PE2 - OSPF
 
#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.
Establish a Trunk with CSPF Disabled
OcNOS, Constrained Shortest Path First (CSPF) calculation is enabled by default.Typically, CSPF is disabled when all of the participating nodes do not support the required traffic engineering extensions and LSPs are configured manually to use an explicit path. In this case, an LSP is established only along the path specified by the operator.
Note: This example is based on the assumption that a minimal configuration exists on all participating routers as described in Enable Label Switching - Minimal Configuration.
Topology
Figure 6-9: Basic Topology
PE1 - RSVP-TE
 
#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.
Establish a Trunk Using CSPF
The RSVP trunk can be configured using CSPF (Constraint-based Shortest Path First). In this case, the RSVP daemon (rsvpd) sends a request to the CSPF server to compute a path through the network to reach the destination. CSPF returns a hop-by-hop path called the Explicit Route to the RSVP daemon to be used in the Explicit Route Object (ERO). Each router along the path sends a Path message only to the nexthop specified in the ERO. In the OcNOS implementation, CSPF is enabled by default and if no cspf is not specified, the trunk is CSPF enabled automatically.
Note: This example is based on the assumption that a minimal configuration exists on all participating routers as described in Enable Label Switching - Minimal Configuration.
PE1 (RSVP Daemon)
 
#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.
Mapping a Route to a Trunk
In the OcNOS implementation, a network can be mapped to a particular trunk using map-route configuration.
Note: This example is based on the assumption that a minimal configuration exists on all participating routers. For configuration details, refer to the “Establishing a Trunk - Minimal Configuration” section.
Topology
Figure 6-10: Topology for route mapping
PE1 - RSVP-TE
 
#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.
Establish a Trunk Using Explicitly-Defined Path
Explicit Route hops can be configured manually in the trunk configuration. In this case, the RSVP daemon uses the configured hops as Explicit Route Objects (ERO). It sets up the LSP using specified hops only.
An ERO is composed of IP addresses called hops. An ERO hop can be defined as loose or strict. A loose hop can be reached by any available route. A strict hop must be reached via a direct link and cannot be routed over any alternate routers in between. In this example, since PE3 is defined as loose hop, P can use P2 as an intermediate hop to reach PE2. However, if it was a strict hop, then P would have to use interface xe1 to reach PE3 directly.
Note: This example is based on the assumption that a minimal configuration exists on all participating routers as described in Enable Label Switching - Minimal Configuration.
Topology
Figure 6-11: Topology for Explicitly Defined Path
PE1 - RSVP-Path
 
#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.
Validation
PE1#show rsvp session
Type : PRI - Primary, SEC - Secondary, DTR - Detour, BPS - Bypass
State : UP - Up, DN - Down, BU - Backup in Use, SU - Secondary in Use, FS - Forced to Secondary
* indicates the session is active with local repair at one or more nodes
(P) indicates the secondary-priority session is acting as primary
 
Ingress RSVP:
To From Type LSPName State Uptime Rt Style Labelin Labelout DSType
192.168.0.90 192.168.0.63 PRI T1-Primary UP 00:00:16 1 1 SE - 24320 DEFAULT
Total 1 displayed, Up 1, Down 0.
 
PE2#show rsvp session
Type : PRI - Primary, SEC - Secondary, DTR - Detour, BPS - Bypass
State : UP - Up, DN - Down, BU - Backup in Use, SU - Secondary in Use, FS - Forced to
ondary
* indicates the session is active with local repair at one or more nodes
(P) indicates the secondary-priority session is acting as primary
 
Egress RSVP:
To From Type LSPName State Uptime Rt Style Labelin Labelout DSType
192.168.0.90 192.168.0.63 PRI T1-Primary UP 00:00:33 1 1 SE 25600 - ELSP_CON
Total 1 displayed, Up 1, Down 0. PE1#show ip ospf neighbor
Total number of full neighbors: 1 OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
192.168.0.60 1 Full/Backup 00:00:30 10.10.23.60 xe2 0
 
P1#show ip ospf neighbor
 
Total number of full neighbors: 2 OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
192.168.0.90 1 Full/Backup 00:00:35 10.10.21.90 xe8 0
192.168.0.63 1 Full/DR 00:00:36 10.10.23.63 xe2 0
 
PE2#show ip ospf neighbor
 
Total number of full neighbors: 1 OSPF process 100 VRF(default):
Neighbor ID Pri State Dead Time Address Interface Instance ID
192.168.0.60 1 Full/DR 00:00:32 10.10.21.60 xe8 0
Add a Secondary LSP to the Trunk
Although the attributes of a Secondary LSP are independent of the Primary LSP, a Secondary LSP cannot be configured without first configuring a Primary LSP. In addition to information on how to configure a secondary LSP, this example illustrates how to define a non-default setup and the hold priority for an LSP. Setup and hold priorities are used to determine which LSP should be given a preference when competing for resources. Specifically, the setup priority of an un-established LSP is compared to the hold priorities of established LSPs, and the numerically lower one is given a preference. However, once the LSP is established, its setup priority is never used until it is pre-empted or reset and is being brought up again.
Note: This example is based on the assumption that a minimal configuration exists on all participating routers as described in Enable Label Switching - Minimal Configuration.
Note: If user provides the RSVP path option for secondary, the primary path exclusion logic gets disabled. User needs to keep primary and secondary path mutually exclusive. Else, RSVP-Primary LSP and RSVP-Secondary LSP may select the same next hop, when RSVP is configured with "loose". Hence RSVP-Path first next-hop should be "strict".
PE1 - RSVP-TE
 
#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.
Validation
This example shows the number of configured RSVP sessions in a router.
PE1
#show rsvp session count
Total configured: 1, Up 1, Down 0
 
Total ingress sessions: 1, Up 1, Down 0
Total transit sessions: 0, Up 0, Down 0
Total egress sessions: 0, Up 0, Down 0
PE2
#show rsvp session count
Total configured: 1, Up 1, Down 0
 
Total ingress sessions: 0, Up 0, Down 0
Total transit sessions: 0, Up 0, Down 0
Total egress sessions: 1, Up 1, Down 0
Add Multiple Secondary LSP to the trunk
RSVP Multiple Secondary feature tries to provide continuous protection when multiple failures happen. In majority scenarios, feature tries to provide seamless protection. This is a proprietary feature where user can configure multiple secondary sessions in a rsvp-trunk. Each secondary will be associated with a priority. Priority secondary sessions must be programmed with a predefined path. User can configure a maximum of five priority levels. Lowest priority number corresponds to highest priority. Highest priority session will be signaled to be programmed as secondary session. If highest priority session cannot come up, then next available secondary will be selected based on polling. During primary session fail-over, programmed secondary priority session will protect the primary and then goes for an MBB update to act as the primary session until primary comes up. Once the highest priority session comes up as acting primary session, next available secondary priority session will be programmed to signal and come up secondary. Re-optimization timer executed once in every 5 minutes to ensure the best priority session serves as secondary. Configuration updates on secondary priority configurations doesn't trigger MBB and session will be restarted. This example illustrates how to create SVI, enable IGP protocols and RSVP on SVI.
Note: Ensure that the VLAN is configured before creating SVI.
Topology
Figure 6-12: Topology for Multiple Secondary Protection
Bridge Configuration
bridge 1 protocol ieee vlan-bridge
no bridge 1 spanning-tree enable bridge-forward
VLAN creation
vlan database
vlan 2-7 bridge 1 state enable
vlan 501-506 bridge 1 state enable
PE1
 
#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.
OSPF configurations
 
#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.
 
Validation
This example shows the number of configured RSVP sessions in a router.
PE1
#show rsvp session
Type : PRI - Primary, SEC - Secondary, DTR - Detour, BPS - Bypass
State : UP - Up, DN - Down, BU - Backup in Use, SU - Secondary in Use, FS - Forced to Secondary
* indicates the session is active with local repair at one or more nodes
(P) indicates the secondary-priority session is acting as primary
 
Ingress RSVP:
To From Type LSPName State Uptime Rt Style Labelin Labelout DSType
49.49.49.49 47.47.47.47 PRI 47-49-test-Primary UP 00:32:35 1 1 SE - 24961 DEFAULT
49.49.49.49 47.47.47.47 SEC 47-49-test-Secondary-Priority-1 UP 00:32:35 1 1 SE - 24962 DEFAULT
Total 2 displayed, Up 2, Down 0.
 
Egress RSVP:
To From Type LSPName State Uptime Rt Style Labelin Labelout DSType
47.47.47.47 49.49.49.49 PRI 49-47-test-Primary UP 00:32:53 1 1 SE 24964 - ELSP_CON
47.47.47.47 49.49.49.49 PRI 49-47-test-Secondary-Priority-1 UP 00:32:47 1 1 SE 24962 - ELSP_CON
Total 2 displayed, Up 2, Down 0.
 
#show rsvp trunk multi-sec-detail
Ingress (Secondary-Priority1)
49.49.49.49
From: 47.47.47.47, LSPstate: Up, LSPname: 47-49-test-Secondary-Priority-1
Ingress FSM state: Operational
Establishment Time: 0s 253ms
Setup priority: 7, Hold priority: 0
CSPF usage: Enabled, CSPF Retry Count: 0, CSPF Retry Interval: 30 seconds
LSP Re-Optimization: Disabled, Re-Optimization Timer: NA, Cspf Client: OSPF
IGP-Shortcut: Disabled, LSP metric: 3
LSP Protection: None
Label in: -, Label out: 24962,
Tspec rate: 0, Fspec rate: 0
Policer: Not Configured
Tunnel Id: 5001, LSP Id: 2219, Ext-Tunnel Id: 47.47.47.47
Downstream: 47.46.3.2, vlan1.1003
Path refresh: 30 seconds (RR enabled) (due in 27970 seconds)
Resv lifetime: 157 seconds (due in 138 seconds)
Retry count: 0, intrvl: 30 seconds
RRO re-use as ERO: Disabled
Label Recording: Disabled
Admin Groups: none
Configured Path: SP1-47-49 (in use)
Configured Explicit Route Detail :
47.46.3.2/32 strict
46.45.9.2/32 strict
45.49.24.2/32 strict
Session Explicit Route Detail :
47.46.3.2/32 strict
46.45.9.2/32 strict
45.49.24.2/32 strict
Record route:
-------------------------------------------------------------
IP Address Label
-------------------------------------------------------------
<self>
47.46.3.2
46.45.9.2
45.49.24.2
Style: Shared Explicit Filter
Traffic type: controlled-load
Minimum Path MTU: 9216
Last Recorded Error Code: None
Last Recorded Error Value: None
Node where Last Recorded Error originated: None
Trunk Type: mpls
Ingress (Secondary-Priority2)
49.49.49.49
From: 47.47.47.47, LSPstate: Dn, LSPname: 47-49-test-Secondary-Priority-2
Ingress FSM state: Idle
Setup priority: 7, Hold priority: 0
CSPF usage: Enabled, CSPF Retry Count: 0, CSPF Retry Interval: 30 seconds
LSP Re-Optimization: Disabled, Re-Optimization Timer: NA, Cspf Client: NA
IGP-Shortcut: Disabled, LSP metric: 3
LSP Protection: None
Label in: -, Label out: -,
Tspec rate: 0, Fspec rate: 0
Policer: Not Configured
Tunnel Id: 5001, LSP Id: 2223, Ext-Tunnel Id: 47.47.47.47
Last Recorded Error Code: None
Last Recorded Error Value: None
Node where Last Recorded Error originated: None
Trunk Type: mpls
Ingress (Secondary-Priority3)
49.49.49.49
From: 47.47.47.47, LSPstate: Dn, LSPname: 47-49-test-Secondary-Priority-3
Ingress FSM state: Idle
Setup priority: 7, Hold priority: 0
CSPF usage: Enabled, CSPF Retry Count: 0, CSPF Retry Interval: 30 seconds
LSP Re-Optimization: Disabled, Re-Optimization Timer: NA, Cspf Client: NA
IGP-Shortcut: Disabled, LSP metric: 65
LSP Protection: None
Label in: -, Label out: -,
Tspec rate: 0, Fspec rate: 0
Policer: Not Configured
Tunnel Id: 5001, LSP Id: 2219, Ext-Tunnel Id: 47.47.47.47
Last Recorded Error Code: Routing Problem (24)
Last Recorded Error Value: No route available toward destination (5)
Node where Last Recorded Error originated: None
Trunk Type: mpls
Ingress (Secondary-Priority4)
49.49.49.49
From: 47.47.47.47, LSPstate: Dn, LSPname: 47-49-test-Secondary-Priority-4
Ingress FSM state: Idle
Setup priority: 7, Hold priority: 0
CSPF usage: Enabled, CSPF Retry Count: 0, CSPF Retry Interval: 30 seconds
LSP Re-Optimization: Disabled, Re-Optimization Timer: NA, Cspf Client: NA
IGP-Shortcut: Disabled, LSP metric: 65
LSP Protection: None
Label in: -, Label out: -,
Tspec rate: 0, Fspec rate: 0
Policer: Not Configured
Tunnel Id: 5001, LSP Id: 2219, Ext-Tunnel Id: 47.47.47.47
Last Recorded Error Code: Routing Problem (24)
Last Recorded Error Value: No route available toward destination (5)
Node where Last Recorded Error originated: None
Trunk Type: mpls
Ingress (Secondary-Priority5)
49.49.49.49
From: 47.47.47.47, LSPstate: Dn, LSPname: 47-49-test-Secondary-Priority-5
Ingress FSM state: Idle
Setup priority: 7, Hold priority: 0
CSPF usage: Enabled, CSPF Retry Count: 0, CSPF Retry Interval: 30 seconds
LSP Re-Optimization: Disabled, Re-Optimization Timer: NA, Cspf Client: NA
IGP-Shortcut: Disabled, LSP metric: 65
LSP Protection: None
Label in: -, Label out: -,
Tspec rate: 0, Fspec rate: 0
Policer: Not Configured
Tunnel Id: 5001, LSP Id: 2219, Ext-Tunnel Id: 47.47.47.47
Last Recorded Error Code: Routing Problem (24)
Last Recorded Error Value: No route available toward destination (5)
Node where Last Recorded Error originated: None
Trunk Type: mpls
P Bridge Configuration
bridge 1 protocol ieee vlan-bridge
no bridge 1 spanning-tree enable bridge-forward
VLAN creation (Peer configuration for PE1)
vlan database
vlan 2-7 bridge 1 state enable
vlan 507-512 bridge 1 state enable
VLAN creation (Peer configuration for PE2)
vlan database
vlan 9-14 bridge 1 state enable
vlan 513-518 bridge 1 state enable
 
#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.
OSPF configurations
 
#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.
PE2 Bridge Configuration
bridge 1 protocol ieee vlan-bridge
no bridge 1 spanning-tree enable bridge-forward
PE2 VLAN Creation
vlan database
vlan 9-14 bridge 1 state enable
vlan 519-524 bridge 1 state enable
 
#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.
OSPF configurations
 
#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.
Validation
This example shows the number of configured RSVP sessions in a router.
PE2
#show rsvp session
Type : PRI - Primary, SEC - Secondary, DTR - Detour, BPS - Bypass
State : UP - Up, DN - Down, BU - Backup in Use, SU - Secondary in Use, FS - Forced to Secondary
* indicates the session is active with local repair at one or more nodes
(P) indicates the secondary-priority session is acting as primary
 
Ingress RSVP:
To From Type LSPName State Uptime Rt Style Labelin Labelout DSType
47.47.47.47 49.49.49.49 PRI 49-47-test-Primary UP 00:34:57 1 1 SE - 24970 DEFAULT
47.47.47.47 49.49.49.49 SEC 49-47-test-Secondary-Priority-1 UP 00:34:56 1 1 SE - 24968 DEFAULT
Total 2 displayed, Up 2, Down 0.
 
Egress RSVP:
To From Type LSPName State Uptime Rt Style Labelin Labelout DSType
49.49.49.49 47.47.47.47 PRI 47-49-test-Primary UP 00:34:45 1 1 SE 31364 - ELSP_CON
49.49.49.49 47.47.47.47 PRI 47-49-test-Secondary-Priority-1 UP 00:34:44 1 1 SE 31360 - ELSP_CON
Total 2 displayed, Up 2, Down 0.
 
#show rsvp trunk multi-sec-detail
Ingress (Secondary-Priority1)
47.47.47.47
From: 49.49.49.49, LSPstate: Up, LSPname: 49-47-test-Secondary-Priority-1
Ingress FSM state: Operational
Establishment Time: 1s 71ms
Setup priority: 7, Hold priority: 0
CSPF usage: Enabled, CSPF Retry Count: 0, CSPF Retry Interval: 30 seconds
LSP Re-Optimization: Disabled, Re-Optimization Timer: NA, Cspf Client: OSPF
IGP-Shortcut: Disabled, LSP metric: 3
LSP Protection: None
Label in: -, Label out: 24968,
Tspec rate: 0, Fspec rate: 0
Policer: Not Configured
Tunnel Id: 5001, LSP Id: 2214, Ext-Tunnel Id: 49.49.49.49
Downstream: 45.49.24.1, vlan1.1024
Path refresh: 30 seconds (RR enabled) (due in 27829 seconds)
Resv lifetime: 157 seconds (due in 145 seconds)
Retry count: 0, intrvl: 30 seconds
RRO re-use as ERO: Disabled
Label Recording: Disabled
Admin Groups: none
Configured Path: SP1-49-47 (in use)
Configured Explicit Route Detail :
45.49.24.1/32 strict
46.45.9.1/32 strict
47.46.3.1/32 strict
Session Explicit Route Detail :
45.49.24.1/32 strict
46.45.9.1/32 strict
47.46.3.1/32 strict
Record route:
-------------------------------------------------------------
IP Address Label
-------------------------------------------------------------
<self>
45.49.24.1
46.45.9.1
47.46.3.1
Style: Shared Explicit Filter
Traffic type: controlled-load
Minimum Path MTU: 9216
Last Recorded Error Code: None
Last Recorded Error Value: None
Node where Last Recorded Error originated: None
Trunk Type: mpls
Ingress (Secondary-Priority2)
47.47.47.47
From: 49.49.49.49, LSPstate: Dn, LSPname: 49-47-test-Secondary-Priority-2
Ingress FSM state: Idle
Setup priority: 7, Hold priority: 0
CSPF usage: Enabled, CSPF Retry Count: 0, CSPF Retry Interval: 30 seconds
LSP Re-Optimization: Disabled, Re-Optimization Timer: NA, Cspf Client: NA
IGP-Shortcut: Disabled, LSP metric: 3
LSP Protection: None
Label in: -, Label out: -,
Tspec rate: 0, Fspec rate: 0
Policer: Not Configured
Tunnel Id: 5001, LSP Id: 2215, Ext-Tunnel Id: 49.49.49.49
Last Recorded Error Code: None
Last Recorded Error Value: None
Node where Last Recorded Error originated: None
Trunk Type: mpls
Ingress (Secondary-Priority3)
47.47.47.47
From: 49.49.49.49, LSPstate: Dn, LSPname: 49-47-test-Secondary-Priority-3
Ingress FSM state: Idle
Setup priority: 7, Hold priority: 0
CSPF usage: Enabled, CSPF Retry Count: 0, CSPF Retry Interval: 30 seconds
LSP Re-Optimization: Disabled, Re-Optimization Timer: NA, Cspf Client: NA
IGP-Shortcut: Disabled, LSP metric: 65
LSP Protection: None
Label in: -, Label out: -,
Tspec rate: 0, Fspec rate: 0
Policer: Not Configured
Tunnel Id: 5001, LSP Id: 2213, Ext-Tunnel Id: 49.49.49.49
Last Recorded Error Code: Routing Problem (24)
Last Recorded Error Value: No route available toward destination (5)
Node where Last Recorded Error originated: None
Trunk Type: mpls
Ingress (Secondary-Priority4)
47.47.47.47
From: 49.49.49.49, LSPstate: Dn, LSPname: 49-47-test-Secondary-Priority-4
Ingress FSM state: Idle
Setup priority: 7, Hold priority: 0
CSPF usage: Enabled, CSPF Retry Count: 0, CSPF Retry Interval: 30 seconds
LSP Re-Optimization: Disabled, Re-Optimization Timer: NA, Cspf Client: NA
IGP-Shortcut: Disabled, LSP metric: 65
LSP Protection: None
Label in: -, Label out: -,
Tspec rate: 0, Fspec rate: 0
Policer: Not Configured
Tunnel Id: 5001, LSP Id: 2213, Ext-Tunnel Id: 49.49.49.49
Last Recorded Error Code: Routing Problem (24)
Last Recorded Error Value: No route available toward destination (5)
Node where Last Recorded Error originated: None
Trunk Type: mpls
Ingress (Secondary-Priority5)
47.47.47.47
From: 49.49.49.49, LSPstate: Dn, LSPname: 49-47-test-Secondary-Priority-5
Ingress FSM state: Idle
Setup priority: 7, Hold priority: 0
CSPF usage: Enabled, CSPF Retry Count: 0, CSPF Retry Interval: 30 seconds
LSP Re-Optimization: Disabled, Re-Optimization Timer: NA, Cspf Client: NA
IGP-Shortcut: Disabled, LSP metric: 65
LSP Protection: None
Label in: -, Label out: -,
Tspec rate: 0, Fspec rate: 0
Policer: Not Configured
Tunnel Id: 5001, LSP Id: 2213, Ext-Tunnel Id: 49.49.49.49
Last Recorded Error Code: Routing Problem (24)
Last Recorded Error Value: No route available toward destination (5)
Node where Last Recorded Error originated: None
Trunk Type: mpls
Add Administrative Group Constraints to an LSP
To add administrative group constraints (also known as color constraints) to an LSP:
Configure support for required administrative groups in NSM on all participating routers
Configure required administrative groups on all participating interfaces
The configuration in this example forces the primary LSP to be setup through links that belong either to administrative group A or C. A link that does not belong to either of these administrative groups will not be used for setting up the LSP.
Note: This example is based on the assumption that a minimal configuration exists on all participating routers as described in Enable Label Switching - Minimal Configuration.
PE1 - NSM
 
#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.
P - NSM
 
#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.
PE1 - RSVP-TE
 
(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.
Last modified date: 10/17/2023