OcNOS-SP : Layer 3 Guide : Layer 3 Unicast Configuration Guide : OSPF TE-Metric Extension
OSPF TE-Metric Extension
This chapter contains basic OSPF TE-Metric Extension configuration examples.
A TE link represents an IS-IS/OSPF link state advertisement and a link state database of certain physical resources and their properties between two nodes. Typically, a TE link is advertised as an adjunct to a "regular" OSPF or IS-IS link. That is, an adjacency is brought up on the link. When the link is up, both the regular IGP properties of the link (for example, the SPF metric) and the TE properties of the link are then advertised.
Note: Bandwidth-measurement values should be less than maximum link bandwidth configuration.
Topology
Basic OSPF Topology
Configuration
R1
 
#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)#network 10.10.10.0/24 area 0
Define the interface (10.10.10.0/24) on which OSPF runs, and associate the area ID (0) with the interface (area ID 0 specifies the backbone area).
(config-router)#network 30.30.30.0/24 area 0
Define the interface (30.30.30.0/24) on which OSPF runs, and associate the area ID (0) with the interface (area ID 0 specifies the backbone area).
(config-router)#commit
Commit the configurations
(config-router)#exit
Exit mode
(config)#interface eth1
Interface mode
(config-if)# delay-measurement uni-link-delay static 1
Configure the delay-measurement uni-link-delay
(config-if)# delay-measurement uni-link-delay a-bit-threshold min 2 max 4
Configure the delay-measurement unilink delay a bit threshold
(config-if)# bandwidth-measurement uni-available-bandwidth static 200k
Configure the bandwidth-measurement unilink available bandwidth
(config-if)#commit
Commit the configurations
(config-if)#exit
Exit mode
R2
 
#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)#network 10.10.10.0/24 area 0
Define the interface (10.10.10.0/24) on which OSPF runs, and associate the area ID (0) with the interface (area ID 0 specifies the backbone area).
(config-router)#network 20.20.20.0/24 area 0
Define the interface (20.20.20.0/24) on which OSPF runs, and associate the area ID (0) with the interface (area ID 0 specifies the backbone area).
(config-router)#commit
Commit the configurations
(config-router)#exit
Exit mode
(config-if)# delay-measurement uni-link-delay static 1
Configure the delay-measurement uni-link-delay
(config-if)# delay-measurement uni-link-delay a-bit-threshold min 2 max 4
Configure the delay-measurement unilink delay a bit threshold
(config-if)# bandwidth-measurement uni-available-bandwidth static 200k
Configure the bandwidth-measurement unilink available bandwidth
(config-if)#commit
Commit the configurations
Validation
R1#show ip ospf database opaque-area
 
OSPF Router with ID (20.20.20.1) (Process ID 100 VRF default)
 
Area-Local Opaque-LSA (Area 0.0.0.0)
 
LS age: 1591
Options: 0x22 (-|-|DC|-|-|-|E|-)
LS Type: Area-Local Opaque-LSA
Link State ID: 1.0.0.1 (Area-Local Opaque-Type/ID)
Opaque Type: 1
Opaque ID: 1
Advertising Router: 20.20.20.1
LS Seq Number: 80000004
Checksum: 0x2a87
Length: 28
 
MPLS TE router ID : 20.20.20.1
 
Number of Links : 0
 
LS age: 1678
Options: 0x22 (-|-|DC|-|-|-|E|-)
LS Type: Area-Local Opaque-LSA
Link State ID: 1.0.0.1 (Area-Local Opaque-Type/ID)
Opaque Type: 1
Opaque ID: 1
Advertising Router: 30.30.30.1
LS Seq Number: 80000004
Checksum: 0x2a4b
Length: 28
 
MPLS TE router ID : 30.30.30.1
 
Number of Links : 0
 
LS age: 121
Options: 0x22 (-|-|DC|-|-|-|E|-)
LS Type: Area-Local Opaque-LSA
Link State ID: 1.0.0.30 (Area-Local Opaque-Type/ID)
Opaque Type: 1
Opaque ID: 30
Advertising Router: 20.20.20.1
LS Seq Number: 80000006
Checksum: 0xeabc
Length: 116
 
Link connected to Broadcast network
Link ID : 10.10.10.2
Interface Address : 10.10.10.1
Admin Metric : 1
Maximum bandwidth : 10000000.00 Kbits/s
Maximum reservable bandwidth : 10000000.00 Kbits/s
Unreserved Bandwidth :
Number of Priority : 8
Priority 0 : 10000000.00 Kbits/s Priority 1 : 10000000.00 Kbits/s
Priority 2 : 10000000.00 Kbits/s Priority 3 : 10000000.00 Kbits/s
Priority 4 : 10000000.00 Kbits/s Priority 5 : 10000000.00 Kbits/s
Priority 6 : 10000000.00 Kbits/s Priority 7 : 10000000.00 Kbits/s
Link Delay : 1 us, Anomalous : 0
 
Number of Links : 1
 
LS age: 36
Options: 0x22 (-|-|DC|-|-|-|E|-)
LS Type: Area-Local Opaque-LSA
Link State ID: 1.0.0.32 (Area-Local Opaque-Type/ID)
Opaque Type: 1
Opaque ID: 32
Advertising Router: 30.30.30.1
LS Seq Number: 80000005
Checksum: 0x0681
Length: 116
 
Link connected to Broadcast network
Link ID : 10.10.10.2
Interface Address : 10.10.10.2
Admin Metric : 1
Maximum bandwidth : 10000000.00 Kbits/s
Maximum reservable bandwidth : 10000000.00 Kbits/s
Unreserved Bandwidth :
Number of Priority : 8
Priority 0 : 10000000.00 Kbits/s Priority 1 : 10000000.00 Kbits/s
Priority 2 : 10000000.00 Kbits/s Priority 3 : 10000000.00 Kbits/s
Priority 4 : 10000000.00 Kbits/s Priority 5 : 10000000.00 Kbits/s
Priority 6 : 10000000.00 Kbits/s Priority 7 : 10000000.00 Kbits/s
Link Delay : 1 us, Anomalous : 0
 
Number of Links : 1
R2 IP-Extended 21.21.21.0/24
R2# R2#sh ip ospf database
 
OSPF Router with ID (30.30.30.1) (Process ID 100 VRF default)
 
Router Link States (Area 0.0.0.0)
 
Link ID ADV Router Age Seq# CkSum Link count
20.20.20.1 20.20.20.1 1773 0x80000005 0xdd4a 2
30.30.30.1 30.30.30.1 1773 0x80000006 0xe9e1 2
 
Net Link States (Area 0.0.0.0)
 
Link ID ADV Router Age Seq# CkSum
10.10.10.2 30.30.30.1 133 0x80000002 0x0520
 
Area-Local Opaque-LSA (Area 0.0.0.0)
 
Link ID ADV Router Age Seq# CkSum Opaque ID
1.0.0.1 20.20.20.1 138 0x80000002 0x2e85 1
1.0.0.1 30.30.30.1 173 0x80000002 0x2e49 1
1.0.0.30 20.20.20.1 362 0x80000002 0x5555 30
1.0.0.32 30.30.30.1 223 0x80000002 0x3288 32
R2#
R1#sh ip ospf database opaque-area
 
OSPF Router with ID (20.20.20.1) (Process ID 100 VRF default)
 
Area-Local Opaque-LSA (Area 0.0.0.0)
 
LS age: 341
Options: 0x22 (-|-|DC|-|-|-|E|-)
LS Type: Area-Local Opaque-LSA
Link State ID: 1.0.0.1 (Area-Local Opaque-Type/ID)
Opaque Type: 1
Opaque ID: 1
Advertising Router: 20.20.20.1
LS Seq Number: 80000006
Checksum: 0x2689
Length: 28
 
MPLS TE router ID : 20.20.20.1
 
Number of Links : 0
 
LS age: 379
Options: 0x22 (-|-|DC|-|-|-|E|-)
LS Type: Area-Local Opaque-LSA
Link State ID: 1.0.0.1 (Area-Local Opaque-Type/ID)
Opaque Type: 1
Opaque ID: 1
Advertising Router: 30.30.30.1
LS Seq Number: 80000006
Checksum: 0x264d
Length: 28
 
MPLS TE router ID : 30.30.30.1
 
Number of Links : 0
 
LS age: 8
Options: 0x22 (-|-|DC|-|-|-|E|-)
LS Type: Area-Local Opaque-LSA
Link State ID: 1.0.0.30 (Area-Local Opaque-Type/ID)
Opaque Type: 1
Opaque ID: 30
Advertising Router: 20.20.20.1
LS Seq Number: 8000000a
Checksum: 0x1c03
Length: 116
 
Link connected to Broadcast network
Link ID : 10.10.10.2
Interface Address : 10.10.10.1
Admin Metric : 1
Maximum bandwidth : 10000000.00 Kbits/s
Maximum reservable bandwidth : 10000000.00 Kbits/s
Unreserved Bandwidth :
Number of Priority : 8
Priority 0 : 10000000.00 Kbits/s Priority 1 : 10000000.00 Kbits/s
Priority 2 : 10000000.00 Kbits/s Priority 3 : 10000000.00 Kbits/s
Priority 4 : 10000000.00 Kbits/s Priority 5 : 10000000.00 Kbits/s
Priority 6 : 10000000.00 Kbits/s Priority 7 : 10000000.00 Kbits/s
Link Delay : 5 us, Anomalous : 1
 
Number of Links : 1
 
LS age: 33
Options: 0x22 (-|-|DC|-|-|-|E|-)
LS Type: Area-Local Opaque-LSA
Link State ID: 1.0.0.32 (Area-Local Opaque-Type/ID)
Opaque Type: 1
Opaque ID: 32
Advertising Router: 30.30.30.1
LS Seq Number: 80000009
Checksum: 0x37c7
Length: 116
 
Link connected to Broadcast network
Link ID : 10.10.10.2
Interface Address : 10.10.10.2
Admin Metric : 1
Maximum bandwidth : 10000000.00 Kbits/s
Maximum reservable bandwidth : 10000000.00 Kbits/s
Unreserved Bandwidth :
Number of Priority : 8
Priority 0 : 10000000.00 Kbits/s Priority 1 : 10000000.00 Kbits/s
Priority 2 : 10000000.00 Kbits/s Priority 3 : 10000000.00 Kbits/s
Priority 4 : 10000000.00 Kbits/s Priority 5 : 10000000.00 Kbits/s
Priority 6 : 10000000.00 Kbits/s Priority 7 : 10000000.00 Kbits/s
Link Delay : 5 us, Anomalous : 1
 
Number of Links : 1
R1#sh ip ospf database opaque-area
 
OSPF Router with ID (20.20.20.1) (Process ID 100 VRF default)
 
Area-Local Opaque-LSA (Area 0.0.0.0)
 
LS age: 341
Options: 0x22 (-|-|DC|-|-|-|E|-)
LS Type: Area-Local Opaque-LSA
Link State ID: 1.0.0.1 (Area-Local Opaque-Type/ID)
Opaque Type: 1
Opaque ID: 1
Advertising Router: 20.20.20.1
LS Seq Number: 80000006
Checksum: 0x2689
Length: 28
 
MPLS TE router ID : 20.20.20.1
 
Number of Links : 0
 
LS age: 379
Options: 0x22 (-|-|DC|-|-|-|E|-)
LS Type: Area-Local Opaque-LSA
Link State ID: 1.0.0.1 (Area-Local Opaque-Type/ID)
Opaque Type: 1
Opaque ID: 1
Advertising Router: 30.30.30.1
LS Seq Number: 80000006
Checksum: 0x264d
Length: 28
 
MPLS TE router ID : 30.30.30.1
 
Number of Links : 0
 
LS age: 8
Options: 0x22 (-|-|DC|-|-|-|E|-)
LS Type: Area-Local Opaque-LSA
Link State ID: 1.0.0.30 (Area-Local Opaque-Type/ID)
Opaque Type: 1
Opaque ID: 30
Advertising Router: 20.20.20.1
LS Seq Number: 8000000a
Checksum: 0x1c03
Length: 116
 
Link connected to Broadcast network
Link ID : 10.10.10.2
Interface Address : 10.10.10.1
Admin Metric : 1
Maximum bandwidth : 10000000.00 Kbits/s
Maximum reservable bandwidth : 10000000.00 Kbits/s
Unreserved Bandwidth :
Number of Priority : 8
Priority 0 : 10000000.00 Kbits/s Priority 1 : 10000000.00 Kbits/s
Priority 2 : 10000000.00 Kbits/s Priority 3 : 10000000.00 Kbits/s
Priority 4 : 10000000.00 Kbits/s Priority 5 : 10000000.00 Kbits/s
Priority 6 : 10000000.00 Kbits/s Priority 7 : 10000000.00 Kbits/s
Link Delay : 5 us, Anomalous : 1
 
Number of Links : 1
 
LS age: 33
Options: 0x22 (-|-|DC|-|-|-|E|-)
LS Type: Area-Local Opaque-LSA
Link State ID: 1.0.0.32 (Area-Local Opaque-Type/ID)
Opaque Type: 1
Opaque ID: 32
Advertising Router: 30.30.30.1
LS Seq Number: 80000009
Checksum: 0x37c7
Length: 116
 
Link connected to Broadcast network
Link ID : 10.10.10.2
Interface Address : 10.10.10.2
Admin Metric : 1
Maximum bandwidth : 10000000.00 Kbits/s
Maximum reservable bandwidth : 10000000.00 Kbits/s
Unreserved Bandwidth :
Number of Priority : 8
Priority 0 : 10000000.00 Kbits/s Priority 1 : 10000000.00 Kbits/s
Priority 2 : 10000000.00 Kbits/s Priority 3 : 10000000.00 Kbits/s
Priority 4 : 10000000.00 Kbits/s Priority 5 : 10000000.00 Kbits/s
Priority 6 : 10000000.00 Kbits/s Priority 7 : 10000000.00 Kbits/s
Link Delay : 5 us, Anomalous : 1
 
Number of Links : 1