port mirroring on cisco 2970

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.

Reply to
ants
Loading thread data ...

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
Reply to
Shine, Gary

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

Reply to
ants

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

Reply to
Doug McIntyre

Reply to
Jon L. Miller

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.