4-15
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 4 Managing and Monitoring Network Management Features
Configuration Examples
Configuration Examples
This section provides the following configuration examples:
• Example: Configuring SNMP Support
• Example: Configuring Remote Network Management
• Example: Configuring a DHCP Server
• Example: Zero-touch Deployment
Example: Configuring SNMP Support
!
snmp-server community xxxxx RO
snmp-server queue-length 100
snmp-server enable traps snmp linkdown linkup coldstart warmstart
snmp-server enable traps ipran
snmp-server enable traps envmonsnmp-server host 10.20.30.40 version 2c
!
Example: Configuring Remote Network Management
cns trusted-server all-agents 30.30.1.20
cns event 30.30.1.20 11011 keepalive 60 3
cns config initial 30.30.1.20 80
cns config partial 30.30.1.20 80
cns id hostname
cns id hostname event
cns id hostname image
cns exec 80
logging buffered 20000
!
end
Example: Configuring a DHCP Server
ip dhcp excluded-address 30.30.1.6
ip dhcp excluded-address 30.30.1.20 30.30.1.255
!
ip dhcp pool asrdhcp
network 30.30.1.0 255.255.255.0
default-router 30.30.1.6
Option 43 ascii 3A1D;A3;B161.100.100.2
!
end