02.10.2013 Views

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Display monitor sessions using <strong>the</strong> command show monitor session from EXEC Privilege mode, as<br />

shown in Figure 88.<br />

Figure 88 Configuring Port-based Monitoring<br />

<strong>Force10</strong>(conf-if-gi-1/2)#show config<br />

!<br />

interface GigabitE<strong>the</strong>rnet 1/2<br />

no ip address<br />

no shutdown<br />

<strong>Force10</strong>(conf-if-gi-1/2)#exit<br />

<strong>Force10</strong>(conf)#monitor session 0<br />

<strong>Force10</strong>(conf-mon-sess-0)#source gig 1/1 dest gig 1/2 direction rx<br />

<strong>Force10</strong>(conf-mon-sess-0)#exit<br />

<strong>Force10</strong>(conf)#do show monitor session 0<br />

SessionID Source Destination Direction Mode Type<br />

--------- ------ ----------- --------- ---- ----<br />

0 Gi 1/1 Gi 1/2 rx interface Port-based<br />

<strong>Force10</strong>(conf)#<br />

In Figure 89, <strong>the</strong> host and server are exchanging traffic which passes through interface gigabite<strong>the</strong>rnet 1/1.<br />

Interface gigabite<strong>the</strong>rnet 1/1 is <strong>the</strong> monitored port and gigabite<strong>the</strong>rnet 1/2 is <strong>the</strong> monitoring port, which is<br />

configured to only monitor traffic received on gigabite<strong>the</strong>rnet 1/1 (host-originated traffic).<br />

Figure 89 Port Monitoring Example<br />

Host<br />

Host Traffic<br />

1/1<br />

Server Traffic<br />

<strong>Force10</strong>(conf-if-gi-1/2)#show config<br />

!<br />

interface GigabitE<strong>the</strong>rnet 1/2<br />

no ip address<br />

no shutdown<br />

Sniffer<br />

<strong>Force10</strong>(conf )#monitor session 0<br />

<strong>Force10</strong>(conf-mon-sess-0)#source gig 1/1 destination gig 1/2 direction rx<br />

1/2<br />

Server<br />

178 Port Monitoring<br />

1/3<br />

Port Monitoring 001

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!