Port Monitoring | 389
To display monitor sessions, use the show monitor session command from EXEC Privilege mode
(Figure 21-4).
Figure 21-4. Configuring Port-based Monitoring
In Figure 21-5, the host and server are exchanging traffic which passes through interface tengigabitethernet
1/1. Interface tengigabitethernet 1/1 is the monitored port and tengigabitethernet 1/2 is the monitoring port,
which is configured to only monitor traffic received on tengigabitethernet 1/1 (host-originated traffic).
Figure 21-5. Port Monitoring Example
FTOS(conf-if-te-1/2)#show config
!
interface TenGigabitEthernet 1/2
no ip address
no shutdown
FTOS(conf-if-te-1/2)#exit
FTOS(conf)#monitor session 0
FTOS(conf-mon-sess-0)#source tengig 1/1 dest tengig 1/2 direction rx
FTOS(conf-mon-sess-0)#exit
FTOS(conf)#do show monitor session 0
SessionID Source Destination Direction Mode Type
--------- ------ ----------- --------- ---- ----
0 TenGig 1/1 TenGig 1/2 rx interface Port-based
FTOS(conf)#