Cisco Systems C819GUK9 Router User Manual


 
10-5
Cisco 819 Series Integrated Services Routers Software Configuration Guide
OL-23590-02
Chapter 10 Configuring the Ethernet Switches
Overview of SNMP MIBs
Use the following syntax to query the SNMP BRIDGE-MIB details:
snmpwalk -v2c <ip address of the ISR, …> public .1.3.6.1.2.1.17
snmpwalk -v2c <ip address of the ISR, …> public@2 .1.3.6.1.2.1.17
snmpwalk -v2c <ip address of the ISR, …> public@3 .1.3.6.1.2.1.17
Note When you create a VLAN “x”, the logical entity public@x is added. If you query with the public
community, the L3 MIB is displayed. When you query with public@x, the L2 MIB for VLAN
“x” is displayed.
In the context-based approach, the SNMP context mapping commands are used to display the values for
L2 interfaces. Each VLAN is mapped to a context. When the user queries with a context, the MIB
displays the data for that specific VLAN, which is mapped to the context. In this approach, each VLAN
is manually mapped to a context.
To get the BRIDGE-MIB details, use the following commands in the configuration mode:
Router(config)#Routersnmp-server group public v2c context bridge-group
Router(config)#snmp-server community public RW
Router(config)#snmp-server community private RW
Router(config)#snmp-server context bridge-group
Router(config)#snmp mib community-map public context bridge-group
Use the following syntax to query the SNMP BRIDGE-MIB details:
snmpwalk -v2c <ip address of the ISR, …> public@1 .1.3.6.1.2.1.17 ?L2-MIB
snmpwalk -v2c <ip address of the ISR, …> private .1.3.6.1.2.1.17?L3-MIB
Note When you query with the public community, the L2 MIB is displayed. Use the private group
for L3 MIB.
For more details to configure and retrieve the BRIDGE-MIB details, see The BRIDGE-MIB.
MAC Address Notification
MAC address notification enables you to track users on a network by storing the MAC address activity
on the switch. Whenever the switch learns or removes a MAC address, an SNMP notification can be
generated and sent to the NMS. If you have many users coming and going from the network, you can set
a trap interval time to bundle the notification traps and reduce network traffic. The MAC notification
history table stores the MAC address activity for each hardware port for which the trap is enabled. MAC
address notifications are generated for dynamic and secure MAC addresses; events are not generated for
self addresses, multicast addresses, or other static addresses.
For more details to configure MAC address notification, see Configuring MAC Address Notification
Traps.