30
show
mac-address-table
[static | filter]
Privileged EXEC
mode
Use the show
mac-address-table user
EXEC command to display
the MAC address table.
Switch (config)# show
mac-address-table static
show
mac-address-table
aging-time
Privileged EXEC
mode
Use the show
mac-address-table user
EXEC command to display
the MAC address table.
Switch (config)# show
mac-address-table aging-time
300
MAC Address aging-time: 300
SNMP Commands Set
Commands Command Level Description Defaults Example
snmp system-name
[SystemName]
Global
configuration mode
Set Snmp agent system
name N/A Switch (config)# snmp
system-name l2switch
snmp system-location
[SystemLocation]
Global
configuration mode
Set Snmp agent system
location N/A Switch (config)# snmp
system-location lab
snmp system-contact
[SystemContact]
Global
configuration mode
Set Snmp agent system
contact N/A Switch (config)# snmp
system-contact where
snmp community-strings
[Community] right [RO |
RW]
Or
no snmp
community-strings
[Community]
Global
configuration mode
Add snmp community
string. Use the no form of
this command to remove
the specified community.
PUBLIC RO
Switch (config)# snmp
community-strings public right
RW