This example shows the banner that appears from the previous configuration:
Unix>
telnet 192.0.2.15
Trying 192.0.2.15...
Connected to 192.0.2.15.
Escape character is '^]'.
This is a secure site. Only authorized users are allowed.
For access, contact technical support.
User Access Verification
Password:
Example: Configuring a Login Banner
This example shows how to configure a login banner by using the dollar sign ($) symbol as the beginning
and ending delimiter:
Switch(config)#
banner login $
Access for authorized users only. Please enter your username and password.
$
Switch(config)#
Example: Configuring MAC Address Change Notification Traps
This example shows how to specify 172.20.10.10 as the NMS, enable MAC address notification traps to the
NMS, enable the MAC address-change notification feature, set the interval time to 123 seconds, set the
history-size to 100 entries, and enable traps whenever a MAC address is added on the specified port:
Switch(config)#
snmp-server host 172.20.10.10 traps private mac-notification
Switch(config)#
snmp-server enable traps mac-notification change
Switch(config)#
mac address-table notification change
Switch(config)#
mac address-table notification change interval 123
Switch(config)#
mac address-table notification change history-size 100
Switch(config)#
interface gigabitethernet1/2/1
Switch(config-if)#
snmp trap mac-notification change added
Example: Configuring MAC Threshold Notification Traps
This example shows how to specify 172.20.10.10 as the NMS, enable the MAC address threshold notification
feature, set the interval time to 123 seconds, and set the limit to 78 per cent:
Switch(config)#
snmp-server host 172.20.10.10 traps private mac-notification
Switch(config)#
snmp-server enable traps mac-notification threshold
Switch(config)#
mac address-table notification threshold
Switch(config)#
mac address-table notification threshold interval 123
Switch(config)#
mac address-table notification threshold limit 78
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1555
Configuration Examples for Switch Administration
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......