Monday, May 3, 2010

Enabling Port Mirroring

1. Log into enable mode
2. Log into configuration terminal mode
3. Enter the following command for source
Router(config)# monitor session {session_number} {source {interface slot/port} |
{vlan vlan_ID}} [, | - | rx | tx | both]
4. Enter the following command for destination
Router(config)# monitor session local_span_session_number destination
{single_interface | interface_list | interface_range | mixed_interface_list}


Example :
xxxrouter(config)#monitor session 1 source interface fa0/2 both
xxxrouter(config)#monitor session 1 destination interface fa0/3
xxxrouter#show monitor
Session 1

---------
Type : Local Session
Source Ports :
RX Only : Fa0/3
Both : Fa0/2
xxxrouter#

No comments:

Post a Comment