Specifications

Table Of Contents
4-8
Cisco AS5800 Operations, Administration, Maintenance, and Provisioning Guide
DOC-7810814=
Chapter 4 Administration
Enabling Management Protocols: NTP, SNMP, and Syslog
Step 1 Configure the Cisco IOS software to support basic SNMP functions. Access lists 5 and 8 are used for
SNMP community strings:
The read only (RO) community string is called poptarts. It uses access list 8 as a filter.
The read write (RW) community string is called pixysticks. It uses access list 5 as a filter.
!
snmp-server contact admin user@the.doc
snmp-server location 5800-NAS-corporate
snmp-server community poptarts RO 8
snmp-server community pixysticks RW 5
snmp-server host 172.22.66.18 maddog
snmp-server trap-source Loopback0
snmp-server enable traps snmp
!
access-list 5 permit 172.22.67.1
access-list 5 permit 0.0.0.1 172.22.68.20
access-list 8 permit 172.22.67.1
access-list 8 permit 0.0.0.1 172.22.68.20
!
Table 4-4 describes commands in the previous configuration fragment.
Table 4-4 SNMP Commands
Command Purpose
snmp-server contact admin user@the.doc
Specifies a contact name to notify whenever a MIB problems occurs.
snmp-server location 5800-NAS-corporate
Specifies a geographic location name for the router.
snmp-server community poptarts RO 8
Assigns a read only (RO) community string. Only queries and get requests
can be performed.
The community string (poptarts) allows polling but no configuration
changes. Without the correct community string on both machines, SNMP
will not let you do the authorization to get or set the request.
snmp-server community pixysticks RW 5
Assigns a read write (RW) community string.
This community string (pixysticks) enables configuration changes to be
performed. For example, you can shut down an interface, download a
configuration file, or change a password.
snmp-server host 172.22.66.18 maddog
Identifies the IP address of the SNMP host followed by a password.
snmp-server trap-source Loopback0
Associates SNMP traps with a loopback interface. In this way, an Ethernet
shutdown will not disrupt SNMP management flow.
snmp-server enable traps
Enables traps for unsolicited notifications for configuration changes,
environmental variables, and device conditions.
access-list 5 permit 172.22.67.1
access-list 8 permit 172.22.67.1
Permits access from a single element management server.
access-list 5 permit 0.0.0.1 172.22.68.20
access-list 8 permit 0.0.0.1 172.22.68.20
Permits access from a block of addresses at your network operations center.