Transition Networks MIL-SM2401MAF
24-Hour Technical Support: 1-800-260-1312 International: 00-1-952-941-7600
41
host [IP
address]
community
[word]
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
show port
monitor
Privileged
EXEC mode
Use the show port
monitor privileged
EXEC command
to display the
ports for which
Switched Port
Analyzer (SPAN)
Switch #
show port
monitor
State: Enable
AnalysisPortId: 8
Port 01 TxRx: Monitor
Port 02 TxRx:
Port 03 TxRx: