EasyManuals Logo

Cisco NCS 5000 Series User Manual

Cisco NCS 5000 Series
188 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #101 background imageLoading...
Page #101 background image
RP/0/RP0/CPU0:router(config-GRP)# router ospf '.*'
RP/0/RP0/CPU0:router(config-GRP-ospf)# nsf cisco
RP/0/RP0/CPU0:router(config-GRP-ospf)# packet-size 3000
RP/0/RP0/CPU0:router(config-GRP-ospf)# end-group
RP/0/RP0/CPU0:router(config)# apply-group g-ospf
The result is effectively this configuration:
router ospf 100
packet-size 1000
nsf cisco
Note that packet-size 3000 is not inherited from the configuration group because the explicit local
configuration has precedence.
Compatible Configuration Is Inherited
The configuration in the configuration group must match the configuration on the router to be inherited. If
the configuration does not match, it is not inherited. For example, assume that this configuration is running
on the router:
router ospf 100
auto-cost disable
!
You configure this configuration and commit it to the configuration.
RP/0/RP0/CPU0:router(config)# group g-ospf
RP/0/RP0/CPU0:router(config-GRP)# router ospf '.*'
RP/0/RP0/CPU0:router(config-GRP-ospf)# area '.*'
RP/0/RP0/CPU0:router(config-GRP-ospf-ar)# packet-size 2000
RP/0/RP0/CPU0:router(config-GRP-ospf)# end-group
RP/0/RP0/CPU0:router(config)# apply-group g-ospf
RP/0/RP0/CPU0:router(config)# router ospf 200
RP/0/RP0/CPU0:router(config-ospf)# area 1
The result is effectively this configuration:
router ospf 100
auto-cost disable
router ospf 200
area 1
packet-size 2000
The packet size is inherited by the ospf 200 configuration, but not by the ospf 100 configuration because the
area is not configured.
Layer 2 Transport Configuration Group: Example
This example shows how to configure and apply a configuration group with Layer 2 transport subinterfaces:
RP/0/RP0/CPU0:router(config)# group g-l2trans-if
RP/0/RP0/CPU0:router(config-GRP)# interface 'TenGigE.*\..*' l2transport
RP/0/RP0/CPU0:router(config-GRP)# mtu 1514
RP/0/RP0/CPU0:router(config-GRP)# end-group
RP/0/RP0/CPU0:router(config)# interface TenGigE0/0/0/0.1 l2transport
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
91
Configuring Flexible Command Line Interface
Configuration Examples Using Regular Expressions

Table of Contents

Other manuals for Cisco NCS 5000 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco NCS 5000 Series and is the answer not in the manual?

Cisco NCS 5000 Series Specifications

General IconGeneral
BrandCisco
ModelNCS 5000 Series
CategoryNetwork Router
LanguageEnglish

Related product manuals