2020年3月25日 星期三

cisco switch 3750 port mirroring

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750/software/release/12-2_52_se/configuration/guide/3750scg/swspan.html
Switch(config)#monitor session 1 source int
Switch(config)#monitor session 1 source interface f
Switch(config)#monitor session 1 source interface fastEthernet 1/0/1
Switch(config)#mo
Switch(config)#monitor es
Switch(config)#monitor se
Switch(config)#monitor session 1 de
Switch(config)#monitor session 1 destination in
Switch(config)#monitor session 1 destination interface fa
Switch(config)#monitor session 1 destination interface fastEthernet 1/0/2 en
Switch(config)#$tination interface fastEthernet 1/0/2 encapsulation re
Switch(config)#$nterface fastEthernet 1/0/2 encapsulation replicate
Switch(config)#
Switch(config)#mon
Switch(config)#monitor se
Switch(config)#monitor session 2 sou
Switch(config)#monitor session 2 source in
Switch(config)#monitor session 2 source interface fa
Switch(config)#monitor session 2 source interface fastEthernet 1/0/3
Switch(config)#mo
Switch(config)#monitor se
Switch(config)#monitor session 2 de
Switch(config)#monitor session 2 destination int
Switch(config)#monitor session 2 destination interface fa
Switch(config)#monitor session 2 destination interface fastEthernet 1/0/4 e
Switch(config)#$tination interface fastEthernet 1/0/4 encapsulation re
Switch(config)#$nterface fastEthernet 1/0/4 encapsulation replicate
Switch(config)#exit
Switch#
00:48:50: %SYS-5-CONFIG_I: Configured from console by console
00:51:40: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to down
00:51:41: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to down
00:51:48: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to up
00:51:49: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to up
00:52:25: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to down
00:52:26: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to down
00:52:32: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/3, changed state to down
00:52:32: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan191, changed state to down
00:52:33: %LINK-3-UPDOWN: Interface FastEthernet1/0/3, changed state to down
Switch#
Switch#
Switch#no
Switch#no
% Incomplete command.

Switch#
Switch#no mo
Switch#sh mo
Switch#sh monitor se
Switch#sh monitor session 1
Session 1
---------
Type              : Local Session
Source Ports      :
    Both          : Fa1/0/1
Destination Ports : Fa1/0/2
    Encapsulation : Replicate
          Ingress : Disabled


Switch#sh monitor session 2
Session 2
---------
Type              : Local Session
Source Ports      :
    Both          : Fa1/0/3
Destination Ports : Fa1/0/4
    Encapsulation : Replicate
          Ingress : Disabled


Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#not
Switch(config)#no mo
Switch(config)#no monitor se
Switch(config)#no monitor session 1
Switch(config)#no monitor session 2
Switch(config)#exit
Switch#

沒有留言:

張貼留言

注意:只有此網誌的成員可以留言。