Configure Port Monitor Session
Command | Purpose |
Force10# configure | Enter configuration mode. |
Force10(conf)# interface te 0/2 | Enter the destination port to be used for monitor session. Confirm that it has no configuration. |
Force10(conf-if-te-0/2)# no ip address | Remove any ip address that may be configured. |
Force10(conf-if-te-0/2)# no shutdown | Enable the port. |
Force10(conf-if-te-0/2)#exit | Leave the destination port interface. |
Force10(conf)# monitor session 0 | Set up and identify the session number. Range 0 – 65535. |
Force10(conf-mon-sess-0)#source te 0/1 destination te 0/2 direction both | Set the source (the port you want to monitor). Set the destination (the port where you send the monitored packets). Set the direction (Both/Rx/Tx). |
Verify Port Monitor Session
Force10#show monitor session 0
SessID Source Destination Dir Mode Source IP Dest IP
—— —— ———– — —- ——— ——–
0 Te 0/1 Te 0/2 both Port N/A N/A