Specifications
7-6
Cisco AS5x00 Case Study for Basic IP Modem Services
11/24/1999
Section 7 Enabling Management Protocols: NTP, SNMP, and Syslog
Enabling SNMP
If you are working with multiple network access servers, assign a different logging facility tag to each
server. Syslog information can be collected and sorted into different files on the syslog server.
For example:
Assign local1 to NAS1
Assign local2 to NAS2
Assign local3 to NAS3
Assigning a different tag to each device enables you to intelligently sort and view syslog messages:
!
logging facility local7
!
Step 4
Verify that local buffered logging is working:
5300-NAS#show logging
Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns)
Console logging: disabled
Monitor logging: level debugging, 0 messages logged
Buffer logging: level debugging, 2 messages logged
Trap logging: level debugging, 53 message lines logged
Logging to 172.22.66.18, 2 message lines logged
Log Buffer (10000 bytes):
Sep 26 16:32:02.848 PDT: %SYS-5-CONFIG_I: Configured from console by admin on console
Sep 26 16:33:16.069 PDT: %SYS-5-CONFIG_I: Configured from console by admin on console
5300-NAS#
Task 3. Enabling SNMP
The SNMP traps generated by Cisco routers provide useful information:
Potentially harmful environmental conditions
Processor status
Port status
Security issues
The Cisco IOS generates SNMP traps based on the features that the Cisco IOS supports.
Figure 7-3 shows the interactions and timing of the SNMP protocol between the EM (SNMP manager)
and the NAS (SNMP agent). Traps are unsolicited messages sent from the NAS to the EM. There are
four functions of SNMP: trap, get request, get next, and set request.