142
Switch(config)# mirror source fa1-2 both
Mirror source fa1-2 both set ok.
Note: Select source port list and TX/RX/Both mode.
Select Destination Port Switch(config)# mirror destination fa6 both
Mirror destination fa6 both set ok
Display
Switch# show mirror
Mirror Status : Enabled
Ingress Monitor Destination P rt : fa6
Egress Monitor Destination P rt : fa6
Ingress Source Po ts :fa1,fa2,
Egress Source Po ts :fa1,fa2,
Event Log
Display
Switch# show event-log
<1>Jan 1 02:50:47 snmpd[101]: Event: Link 4 Down.
<2>Jan 1 02:50:50 snmpd[101]: Event: Link 5 Up.
<3>Jan 1 02:50:51 snmpd[101]: Event: Link 5 Down.
<4>Jan 1 02:50:53 snmpd[101]: Event: Link 4 Up.
Topology Discovery (LLDP)
Enable LLDP
Switch(config)# lldp
holdtime Specify the holdtime of LLDP in seconds
run Enable LLDP
timer Set the transmission frequency of LLDP in
seconds
Switch(config)# lldp run
LLDP is enabled!
Change LLDP timer
Switch(config)# lldp holdtime
<10-255> Valid range is 10~255
Switch(config)# lldp timer
<5-254> Valid range is 5~254
Ping
Ping IP
Switch# ping 192.168.10.33
PING 192.168.10.33 (192.168.10.33): 56 data bytes
64 bytes from 192.168.10.33: icmp_seq=0 ttl=128 time=0.0 ms
64 bytes from 192.168.10.33: icmp_seq=1 ttl=128 time=0.0 ms
64 bytes from 192.168.10.33: icmp_seq=2 ttl=128 time=0.0 ms
64 bytes from 192.168.10.33: icmp_seq=3 ttl=128 time=0.0 ms
64 bytes from 192.168.10.33: icmp_seq=4 ttl=128 time=0.0 ms
--- 192.168.10.33 ping statistics ---
4
packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.0/0.0/0.0 ms
Modbus/TCP
Number of the
Modbus/TCP Master
Switch(config)# modbus
idle-timeout Max interval between requests
master Modbus TCP Master
port Listening Port
Switch(config)# modbus master
<1-20> Max Modbus TCP Master
Modbus/TCP idle time
Switch(config)# modbus idle-timeout
<200-10000> Timeout vlaue: 200-10000ms
Modbus/TCP port
number
Switch(config)# modbus port
<1-65535> Port Number