121
Performing Switch Administration
Configuration Examples for Performing Switch Admininistration
Configuring a MOTD Banner: Examples
This example shows how to configure a MOTD banner for the switch by using the pound sign (#) symbol as the beginning
and ending delimiter:
Switch(config)#
banner motd #
This is a secure site. Only authorized users are allowed.
For access, contact technical support.
#
Switch(config)#
This example shows the banner that appears from the previous configuration:
Unix>
telnet 172.2.5.4
Trying 172.2.5.4...
Connected to 172.2.5.4.
Escape character is '^]'.
This is a secure site. Only authorized users are allowed.
For access, contact technical support.
User Access Verification
Password:
Configuring a Login Banner: Example
This example shows how to configure a login banner for the switch 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)#
Configuring MAC Address Change Notification Traps: Example
This example shows how to specify 172.20.10.10 as the NMS, enable the switch to send 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/18
Switch(config-if)#
snmp trap mac-notification change added
Sending MAC Address Move Notification Traps: Example
This example shows how to specify 172.20.10.10 as the NMS, enable the switch to send MAC address move notification
traps to the NMS, enable the MAC address move notification feature, and enable traps when a MAC address moves from
one port to another.
Switch(config)#
snmp-server host 172.20.10.10 traps private mac-notification
Switch(config)#
snmp-server enable traps mac-notification move
Switch(config)#
mac address-table notification mac-move
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...