apply-group go-c
nsr
router-id 121.121.121.121
nsf cisco
redistribute connected
address-family ipv4 unicast
area 0
apply-group go-b
interface GigabitEthernet0/0/0/0
apply-group go-a
!
interface GigabitEthernet0/0/0/1
!
interface GigabitEthernet0/0/0/3
!
interface GigabitEthernet0/0/0/4
!
interface GigabitEthernet0/0/0/21
bfd minimum-interval 100
bfd fast-detect
bfd multiplier 3
!
interface TenGigE0/2/0/0.3891
!
interface TenGigE0/2/0/0.3892
!
interface TenGigE0/2/0/0.3893
!
interface TenGigE0/2/0/0.3894
!
!
!
router ospf 100
!
router ospf 1000
!
router ospf 1001
!
2
Configure a configuration group and apply it in a configuration submode:
RP/0/RP0/CPU0:router#
show running group go-a
group go-a
router ospf '.*'
area '.*'
interface 'Gig.*'
cost 200
!
!
!
end-group
RP/0/RP0/CPU0:router#
show running group go-b
group go-b
router ospf '.*'
area '.*'
interface 'Gig.*'
cost 250
!
!
!
end-group
RP/0/RP0/CPU0:router#
show running group go-c
group go-c
router ospf '.*'
area '.*'
interface 'Gig.*'
cost 300
!
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
102
Configuring Flexible Command Line Interface
OSPF Hierarchy: Example