Configuring Flexible Command Line Interface
!
!
end-group
3 Check the inheritance view and verify that the apply-group in the lowest configuration submode gets the
highest priority:
RP/0/RP0/CPU0:router# show running router ospf 1 inheritance detail
router ospf 1
nsr
router-id 121.121.121.121
nsf cisco
redistribute connected
address-family ipv4 unicast
area 0
interface GigabitEthernet0/0/0/0
## Inherited from group go-a
cost 200
!
interface GigabitEthernet0/0/0/1
## Inherited from group go-b
cost 250
!
interface GigabitEthernet0/0/0/3
## Inherited from group go-b
cost 250
!
interface GigabitEthernet0/0/0/4
## Inherited from group go-b
cost 250
!
interface GigabitEthernet0/0/0/21
bfd minimum-interval 100
bfd fast-detect
bfd multiplier 3
## Inherited from group go-b
cost 250
!
interface TenGigE0/2/0/0.3891
!
interface TenGigE0/2/0/0.3892
!
interface TenGigE0/2/0/0.3893
!
interface TenGigE0/2/0/0.3894
!
!
!
4 Check the functionality of the cost inheritance through the groups:
RP/0/RP0/CPU0:router# show ospf 1 interface GigabitEthernet 0/0/0/0
GigabitEthernet0/0/0/0 is up, line protocol is up
Internet Address 1.0.1.1/30, Area 0
Process ID 1, Router ID 121.121.121.121, Network Type BROADCAST, Cost: 200
Transmit Delay is 1 sec, State DR, Priority 1, MTU 1500, MaxPktSz 1500
Designated Router (ID) 121.121.121.121, Interface address 1.0.1.1
No backup designated router on this network
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Non-Stop Forwarding (NSF) enabled
Index 5/5, flood queue length 0
Next 0(0)/0(0)
Last flood scan length is 1, maximum is 40
Last flood scan time is 0 msec, maximum is 7 msec
LS Ack List: current length 0, high water mark 0
Neighbor Count is 1, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)
Hello due in 00:00:02
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
<< apply-group in lowest submode
OSPF Hierarchy: Example
gets highest priority
103