switch>enableShow info:
switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)#monitor session 1 source interface fastEthernet 0/1
switch(config)#monitor session 1 source interface fastEthernet 0/2
switch(config)#monitor session 1 source interface fastEthernet 0/3
switch(config)#monitor session 1 source interface fastEthernet 0/4
switch(config)#monitor session 1 source interface fastEthernet 0/5
switch(config)#monitor session 1 source interface fastEthernet 0/6
switch(config)#monitor session 1 source interface fastEthernet 0/7
switch(config)#monitor session 1 source interface fastEthernet 0/8
switch(config)#monitor session 1 destination interface gigabitEthernet 0/1
switch#show monitor session 1And now we can capture this traffic:
Session 1
---------
Type : Local Session
Source Ports :
Both: Fa0/1-8
Destination Ports : Gi0/1
Encapsulation : Native
Ingress : Disabled
# tcpdump -i eth0 -n