OcNOS-SP : Layer 3 Guide : Layer 3 Unicast Configuration Guide : IS-IS-TE IPv4 : Enable MPLS-TE in Level-1 and Level-2 on L1-L2 IS
Enable MPLS-TE in Level-1 and Level-2 on L1-L2 IS
In the following example, R1 is the L1 router, R2 is the L1/L2 router enabling MPLS-TE for both Level-1 and Level-2 IS, and R3 is the L2 router. The following configuration is given for R1, R2 and R3.
Figure 15-122: MPLS-TE Topology
Configuration
R2
 
#configure terminal
Enter Configure mode.
(config)#interface eth1
Specify the interface (eth1) to configure, and enter Interface mode.
(config-if)#ip address 13.1.1.2/24
Configure ip address to the interface eth1.
(config-if)#ip router isis 1
Enable ISIS on interface eth1.
(config-if)#isis circuit-type level-1
Configure ISIS circuit-type as Level-1
(config-if)#commit
Commit candidate configuration to the running configuration
(config-if)#exit
Exit from interface configuration mode.
(config)#interface eth2
Enter Interface eth2 configure mode.
(config-if)#ip address 15.1.1.2/24
Configure ip address to the interface eth2.
(config-if)#ip router isis 1
Enable ISIS on interface eth2.
(config-if)#isis circuit-type level-2
Configure ISIS circuit-type as Level-2.
(config-if)#commit
Commit candidate configuration to the running configuration
(config-if)#exit
Exit from interface configuration mode.
(config)#router isis 1
Create an IS-IS routing instance for area 49 (1).
(config-router)#metric-style wide
Configure the new style of metric type as wide.
(config-router)#mpls traffic-eng router-id 2.2.2.2
Configure MPLS-TE unique router-id TLV.
(config-router)#mpls traffic-eng level-1
Enable MPLS-TE in is-type Level-1.
(config-router)#mpls traffic-eng level-2
Enable MPLS-TE in is-type Level-2.
(config-router)#net 49.0001.0000.0000.0002.00
Configure the ISIS net address with area id as: 49.0001 and system id as: 0000.0000.0002.
(config-router)#commit
Commit candidate configuration to the running configuration
(config-router)#end
Exit Router mode.
R1
 
#configure terminal
Enter Configure mode.
(config)#interface eth1
Specify the interface (eth1) to configure, and enter Interface mode.
(config-if)#ip address 13.1.1.1/24
Configure ip address to the interface eth1.
(config-if)#ip router isis 1
Enable ISIS on interface eth1.
(config-if)#isis circuit-type level-1
Configure ISIS circuit-type as Level-1
(config-if)#commit
Commit candidate configuration to the running configuration
(config-if)#exit
Exit from interface configuration mode.
(config)#router isis 1
Create an IS-IS routing instance for area 49 (1).
(config-router)#metric-style wide
Configure the new style of metric type as wide.
(config-router)#is-type level-1
Configure IS-Type as Level-1 router.
(config-router)#mpls traffic-eng router-id 1.1.1.1
Configure MPLS-TE unique router-id TLV.
(config-router)#mpls traffic-eng level-1
Enable MPLS-TE in is-type Level-1.
(config-router)#net 49.0001.0000.0000.0001.00
Configure the ISIS net address with area id as: 49.0001 and system-id as: 0000.0000.0001.
(config-router)#commit
Commit candidate configuration to the running configuration
(config-router)#end
Exit Router mode.
R3
 
#configure terminal
Enter Configure mode.
(config)#interface eth2
Specify the interface (eth2) to configure, and enter Interface mode.
(config-if)#ip address 15.1.1.3/24
Configure ip address to the interface eth1.
(config-if)#ip router isis 1
Enable ISIS on interface eth1.
(config-if)#isis circuit-type level-2
Configure ISIS circuit-type as Level-2
(config-if)#commit
Commit candidate configuration to the running configuration
(config-if)#exit
Exit from interface configuration mode.
(config)#router isis 1
Create an IS-IS routing instance for area 49 (1).
(config-router)#metric-style wide
Configure the new style of metric type as wide.
(config-router)#is-type level-2
Configure IS-Type as Level-1 router.
(config-router)#mpls traffic-eng router-id 3.3.3.3
Configure MPLS-TE unique router-id TLV.
(config-router)#mpls traffic-eng level-2
Enable MPLS-TE in is-type Level-2.
(config-router)#net 49.0001.0000.0000.0003.00
Configure the ISIS net address with area id as: 49.0001 and system-id as: 0000.0000.0003.
(config-router)#commit
Commit candidate configuration to the running configuration
(config-router)#end
Exit Router mode.
Validation
R2
Check the output of “show clns neighbors” to verify that ISIS adjacency is up.
#show clns neighbors
Area 1:
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0001 eth1 5254.00bb.5e85 Up 24 L1 IS-IS
0000.0000.0003 eth2 5254.00ac.f960 Up 9 L2 IS-IS
#
 
Check the output of “show isis database level-1 verbose” to verify that LSP does have correct router-id.
R2#show isis database level-1 verbose
Tag 1: VRF : default
IS-IS Level-1 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0001.00-00 0x00000003 0x5D0E 629 0/0/0
Area Address: 49.0001
NLPID: 0xCC
IP Address: 13.1.1.1
Router ID: 1.1.1.1
Metric: 10 IS-Extended 0000.0000.0001.01
IPv4 Interface Address: 13.1.1.1
Neighbor IP Address: 13.1.1.1
Maximum Link Bandwidth: 10g
Reservable Bandwidth: 10g
Unreserved Bandwidth:
Unreserved Bandwidth at priority 0: 10g
Unreserved Bandwidth at priority 1: 10g
Unreserved Bandwidth at priority 2: 10g
Unreserved Bandwidth at priority 3: 10g
Unreserved Bandwidth at priority 4: 10g
Unreserved Bandwidth at priority 5: 10g
Unreserved Bandwidth at priority 6: 10g
Unreserved Bandwidth at priority 7: 10g
TE-Default Metric: 10
Metric: 10 IP-Extended 13.1.1.0/24
0000.0000.0001.01-00 0x00000002 0x8D3E 629 0/0/0
Metric: 0 IS-Extended 0000.0000.0001.00
Metric: 0 IS-Extended 0000.0000.0002.00
0000.0000.0002.00-00* 0x00000004 0xE080 634 0/0/0
Area Address: 49.0001
NLPID: 0xCC
IP Address: 13.1.1.2
Router ID: 2.2.2.2
Metric: 10 IS-Extended 0000.0000.0001.01
IPv4 Interface Address: 13.1.1.2
Neighbor IP Address: 13.1.1.1
Maximum Link Bandwidth: 10g
Reservable Bandwidth: 10g
Unreserved Bandwidth:
Unreserved Bandwidth at priority 0: 10g
Unreserved Bandwidth at priority 1: 10g
Unreserved Bandwidth at priority 2: 10g
Unreserved Bandwidth at priority 3: 10g
Unreserved Bandwidth at priority 4: 10g
Unreserved Bandwidth at priority 5: 10g
Unreserved Bandwidth at priority 6: 10g
Unreserved Bandwidth at priority 7: 10g
TE-Default Metric: 10
Metric: 10 IP-Extended 13.1.1.0/24
 
Check the output of “show isis database level-2 verbose” to verify that LSP does have correct router-id.
R2#show isis database level-2 verbose
Tag 1: VRF : default
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0002.00-00* 0x00000005 0xEE2C 622 0/0/0
Area Address: 49.0001
NLPID: 0xCC
IP Address: 15.1.1.2
Router ID: 2.2.2.2
Metric: 10 IS-Extended 0000.0000.0003.01
IPv4 Interface Address: 15.1.1.2
Neighbor IP Address: 15.1.1.3
Maximum Link Bandwidth: 10g
Reservable Bandwidth: 10g
Unreserved Bandwidth:
Unreserved Bandwidth at priority 0: 10g
Unreserved Bandwidth at priority 1: 10g
Unreserved Bandwidth at priority 2: 10g
Unreserved Bandwidth at priority 3: 10g
Unreserved Bandwidth at priority 4: 10g
Unreserved Bandwidth at priority 5: 10g
Unreserved Bandwidth at priority 6: 10g
Unreserved Bandwidth at priority 7: 10g
TE-Default Metric: 10
Metric: 10 IP-Extended 15.1.1.0/24
Metric: 10 IP-Extended 13.1.1.0/24
0000.0000.0003.00-00 0x00000003 0x94BA 616 0/0/0
Area Address: 49.0001
NLPID: 0xCC
IP Address: 15.1.1.3
Router ID: 3.3.3.3
Metric: 10 IS-Extended 0000.0000.0003.01
IPv4 Interface Address: 15.1.1.3
Neighbor IP Address: 15.1.1.3
Maximum Link Bandwidth: 10g
Reservable Bandwidth: 10g
Unreserved Bandwidth:
Unreserved Bandwidth at priority 0: 10g
Unreserved Bandwidth at priority 1: 10g
Unreserved Bandwidth at priority 2: 10g
Unreserved Bandwidth at priority 3: 10g
Unreserved Bandwidth at priority 4: 10g
Unreserved Bandwidth at priority 5: 10g
Unreserved Bandwidth at priority 6: 10g
Unreserved Bandwidth at priority 7: 10g
TE-Default Metric: 10
Metric: 10 IP-Extended 15.1.1.0/24
0000.0000.0003.01-00 0x00000002 0x9134 616 0/0/0
Metric: 0 IS-Extended 0000.0000.0003.00
Metric: 0 IS-Extended 0000.0000.0002.00
 
R1
Check the output of “show clns neighbors” to verify that ISIS adjacency is up.
#show clns neighbors
 
Area 1:
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0002 eth1 5254.00f6.4ae7 Up 7 L1 IS-IS
Check the output of “show isis database level-1 verbose” to verify that LSP does have correct router-id.
R1#show isis database level-1 verbose
Tag 1: VRF : default
IS-IS Level-1 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0001.00-00* 0x00000003 0x5D0E 364 0/0/0
Area Address: 49.0001
NLPID: 0xCC
IP Address: 13.1.1.1
Router ID: 1.1.1.1
Metric: 10 IS-Extended 0000.0000.0001.01
IPv4 Interface Address: 13.1.1.1
Neighbor IP Address: 13.1.1.1
Maximum Link Bandwidth: 10g
Reservable Bandwidth: 10g
Unreserved Bandwidth:
Unreserved Bandwidth at priority 0: 10g
Unreserved Bandwidth at priority 1: 10g
Unreserved Bandwidth at priority 2: 10g
Unreserved Bandwidth at priority 3: 10g
Unreserved Bandwidth at priority 4: 10g
Unreserved Bandwidth at priority 5: 10g
Unreserved Bandwidth at priority 6: 10g
Unreserved Bandwidth at priority 7: 10g
TE-Default Metric: 10
Metric: 10 IP-Extended 13.1.1.0/24
0000.0000.0001.01-00* 0x00000002 0x8D3E 364 0/0/0
Metric: 0 IS-Extended 0000.0000.0001.00
Metric: 0 IS-Extended 0000.0000.0002.00
0000.0000.0002.00-00 0x00000004 0xE080 368 0/0/0
Area Address: 49.0001
NLPID: 0xCC
IP Address: 13.1.1.2
Router ID: 2.2.2.2
Metric: 10 IS-Extended 0000.0000.0001.01
IPv4 Interface Address: 13.1.1.2
Neighbor IP Address: 13.1.1.1
Maximum Link Bandwidth: 10g
Reservable Bandwidth: 10g
Unreserved Bandwidth:
Unreserved Bandwidth at priority 0: 10g
Unreserved Bandwidth at priority 1: 10g
Unreserved Bandwidth at priority 2: 10g
Unreserved Bandwidth at priority 3: 10g
Unreserved Bandwidth at priority 4: 10g
Unreserved Bandwidth at priority 5: 10g
Unreserved Bandwidth at priority 6: 10g
Unreserved Bandwidth at priority 7: 10g
TE-Default Metric: 10
Metric: 10 IP-Extended 13.1.1.0/24
R3
Check the output of “show clns neighbors” to verify that ISIS adjacency is up.
#sh clns neighbors
 
Area 1:
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0002 eth2 5254.0062.3ea6 Up 21 L2 IS-IS
 
Check the output of “show isis database level-2 verbose” to verify that LSP does have correct router-id.
R3#show isis database level-2 verbose
Tag 1: VRF : default
IS-IS Level-2 Link State Database:
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
0000.0000.0002.00-00 0x00000005 0xEE2C 337 0/0/0
Area Address: 49.0001
NLPID: 0xCC
IP Address: 15.1.1.2
Router ID: 2.2.2.2
Metric: 10 IS-Extended 0000.0000.0003.01
IPv4 Interface Address: 15.1.1.2
Neighbor IP Address: 15.1.1.3
Maximum Link Bandwidth: 10g
Reservable Bandwidth: 10g
Unreserved Bandwidth:
Unreserved Bandwidth at priority 0: 10g
Unreserved Bandwidth at priority 1: 10g
Unreserved Bandwidth at priority 2: 10g
Unreserved Bandwidth at priority 3: 10g
Unreserved Bandwidth at priority 4: 10g
Unreserved Bandwidth at priority 5: 10g
Unreserved Bandwidth at priority 6: 10g
Unreserved Bandwidth at priority 7: 10g
TE-Default Metric: 10
Metric: 10 IP-Extended 15.1.1.0/24
Metric: 10 IP-Extended 13.1.1.0/24
0000.0000.0003.00-00* 0x00000003 0x94BA 333 0/0/0
Area Address: 49.0001
NLPID: 0xCC
IP Address: 15.1.1.3
Router ID: 3.3.3.3
Metric: 10 IS-Extended 0000.0000.0003.01
IPv4 Interface Address: 15.1.1.3
Neighbor IP Address: 15.1.1.3
Maximum Link Bandwidth: 10g
Reservable Bandwidth: 10g
Unreserved Bandwidth:
Unreserved Bandwidth at priority 0: 10g
Unreserved Bandwidth at priority 1: 10g
Unreserved Bandwidth at priority 2: 10g
Unreserved Bandwidth at priority 3: 10g
Unreserved Bandwidth at priority 4: 10g
Unreserved Bandwidth at priority 5: 10g
Unreserved Bandwidth at priority 6: 10g
Unreserved Bandwidth at priority 7: 10g
TE-Default Metric: 10
Metric: 10 IP-Extended 15.1.1.0/24
0000.0000.0003.01-00* 0x00000002 0x9134 333 0/0/0
Metric: 0 IS-Extended 0000.0000.0003.00
Metric: 0 IS-Extended 0000.0000.0002.00
Last modified date: 08/28/2023