cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
740
Views
0
Helpful
3
Replies

mirror a port

ohareka70
Level 3
Level 3

Hello,

At moment I have mirrored a single port and am pointing the data back to the netflow server:

  • monitor session 2 source interface Gi1/0/28 (data I want to capture)
  • monitor session 2 destination interface Gi1/0/17 (mirrored port)

Is it possible though to mirror a Port-channel1 (trunk port)?

  • interface Port-channel1
  • switchport trunk encapsulation dot1q
  • switchport mode trunk

Is it also possible to mirror a VLAN?

  • vlan 226
  • name SAN

  • if so does anyone have the config for both?
2 Accepted Solutions

Accepted Solutions

nawas
Level 4
Level 4

Yes, you can monitor a port channel, matter of fact if a physcial is part of a port channel you would have to add its port

channel in your source span using the following

  • monitor session 2 source interface port-chanenl-1 (mirrored port)

Use the following command for vlan span

switch(config)#monitor sess 2 source vlan ?

  <1-4094>  SPAN source VLAN

View solution in original post

cadet alain
VIP Alumni
VIP Alumni

Hi,

yes you can do SPAN for a portchannel as source only and for vlan also.

so just specify interface port-channel 1 in source or the vlan you want to monitor.

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

View solution in original post

3 Replies 3

nawas
Level 4
Level 4

Yes, you can monitor a port channel, matter of fact if a physcial is part of a port channel you would have to add its port

channel in your source span using the following

  • monitor session 2 source interface port-chanenl-1 (mirrored port)

Use the following command for vlan span

switch(config)#monitor sess 2 source vlan ?

  <1-4094>  SPAN source VLAN

cadet alain
VIP Alumni
VIP Alumni

Hi,

yes you can do SPAN for a portchannel as source only and for vlan also.

so just specify interface port-channel 1 in source or the vlan you want to monitor.

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

thanks for the advice - spot on.

regards,

Kevin

Review Cisco Networking for a $25 gift card