EasyManuals Logo
Home>Cisco>Network Router>A9K-SIP-700

Cisco A9K-SIP-700 User Manual

Cisco A9K-SIP-700
422 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 #151 background imageLoading...
Page #151 background image
Simple Configuration Group: Example
This example shows how to use configuration groups to add a global configuration to the system:
RP/0/RSP0/CPU0:router(config)# group g-logging
RP/0/RSP0/CPU0:router(config-GRP)# logging trap notifications
RP/0/RSP0/CPU0:router(config-GRP)# logging console debugging
RP/0/RSP0/CPU0:router(config-GRP)# logging monitor debugging
RP/0/RSP0/CPU0:router(config-GRP)# logging buffered 10000000
RP/0/RSP0/CPU0:router(config-GRP)# end-group
RP/0/RSP0/CPU0:router(config)# apply-group g-logging
When this configuration is committed, all commands contained in the g-logging configuration group are
committed.
Configuration Group Applied to Different Places: Example
Configuration groups can be applied to different places, and their effect depends on the context within which
they are applied. Consider this configuration group:
RP/0/RSP0/CPU0:router(config)# group g-interfaces
RP/0/RSP0/CPU0:router(config-GRP)# interface 'FastEthernet.*'
RP/0/RSP0/CPU0:router(config-GRP-if)# mtu 1500
RP/0/RSP0/CPU0:router(config-GRP-if)# exit
RP/0/RSP0/CPU0:router(config-GRP)# interface 'GigabitEthernet.*'
RP/0/RSP0/CPU0:router(config-GRP-if)# mtu 1000
RP/0/RSP0/CPU0:router(config-GRP-if)# exit
RP/0/RSP0/CPU0:router(config-GRP)# interface 'POS.*'
RP/0/RSP0/CPU0:router(config-GRP-if)# mtu 2000
RP/0/RSP0/CPU0:router(config-GRP-if)# end-group
This group can be applied to Fast Ethernet, Gigabit Ethernet or POS interfaces, and in each instance the
applicable MTU is applied. For instance, in this example, the Gigabit Ethernet interface is configured to have
an MTU of 1000:
RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet0/2/0/0
RP/0/RSP0/CPU0:router(config-if)# apply-group g-interfaces
RP/0/RSP0/CPU0:router(config-if)# ipv4 address 2.2.2.2 255.255.255.0
In this example, the Fast Ethernet interface is configured to have an MTU of 1500:
RP/0/RSP0/CPU0:router(config)# interface FastEthernet0/2/0/0
RP/0/RSP0/CPU0:router(config-if)# apply-group g-interfaces
RP/0/RSP0/CPU0:router(config-if)# ipv4 address 3.3.3.3 255.255.255.0
The same configuration group is used in both cases, but only the applicable configuration statements are used.
Verifying the Configuration of Configuration Groups
Use this task to verify the router configuration using configuration groups:
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
133
Configuring Flexible Command Line Interface Configuration Groups
Simple Configuration Group: Example

Table of Contents

Other manuals for Cisco A9K-SIP-700

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco A9K-SIP-700 and is the answer not in the manual?

Cisco A9K-SIP-700 Specifications

General IconGeneral
BrandCisco
ModelA9K-SIP-700
CategoryNetwork Router
LanguageEnglish

Related product manuals