47
No snmp-server
host [IP
address]
community
[word]
Switch(config)# no
snmp-server host
192.168.1.50
community public
snmp
system-name
[word]
Global
configuration
mode
Set SNMP agent
system name N/A
Switch (config)#
snmp system-name
l2switch
Port Mirroring Commands Set
Commands Command
Level Description Defaults
Example
port monitor
[RX|TX|both]
[port ID]
Or
no port monitor
Interface
configuration
mode
Use the port
monitor interface
configuration
command to
enable Switch
Port Analyzer
(SPAN) port
monitoring on a
port. Use the no
form of this
command to
return the port to
its default value.
N/A
Switch (config)#
Interface
fastEthernet
0/8
Switch (config-if)# port
monitor both 3