port mirroring on cisco 2970

Oct 24, 2005 4 Replies
port mirroring on cisco 2970 open original image

hi,



Anyone knows the command to mirror a port on a cisco 2970 gig switch? ios ver Version 12.1(14r)EA1a. thanks in adv.



Try

interface FastEthernet0/2 description Monitoring Port - All traffic will hit this port from thosebelow. port monitor FastEthernet0/3 port monitor FastEthernet0/4 port monitor FastEthernet0/5 port monitor FastEthernet0/13 port monitor FastEthernet0/14 port monitor FastEthernet0/15

G

Thanks for the reply. unfortunately the port mirror does not apply to these switches.

found the following command.. haven't put it in yet - will do tonight.

Switch(config)# monitor session 1 source interface gigethernet0/1 Switch(config)# monitor session 1 destination interface gigethernet0/10 encapsulation dot1q

hope this will work.. cheers

Only in older hardware. Something like a 2924xl, but not much newer.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required