port mirroring on cisco 2970

Discussion in 'Cisco' started by ants, Oct 24, 2005.

  1. ants

    ants Guest

    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.
     
    ants, Oct 24, 2005
    #1
    1. Advertising

  2. ants

    Shine, Gary Guest

    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

    "ants" <> wrote in message
    news:...
    > 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.
    >
     
    Shine, Gary, Oct 24, 2005
    #2
    1. Advertising

  3. ants

    ants Guest

    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
     
    ants, Oct 24, 2005
    #3
  4. "Shine, Gary" <> writes:
    >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




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


    >"ants" <> wrote in message
    >news:...
    >> 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.
    >>
     
    Doug McIntyre, Oct 25, 2005
    #4
  5. Taken from document:
    http://www.cisco.com/en/US/products...figuration_guide_chapter09186a00801cde7c.html

    This example shows how to set up a SPAN session, session 1, for
    monitoring source port traffic to a destination port. First, any
    existing SPAN configuration for session 1 is cleared, and then
    bidirectional traffic is mirrored from source port 1 to destination
    port 10.
    Switch(config)# no monitor session 1
    Switch(config)# monitor session 1 source interface fastethernet0/1
    Switch(config)# monitor session 1 destination interface
    fastethernet0/10 encapsulation dot1q
    Switch(config)# end
    On 24 Oct 2005 06:10:55 -0700, "ants" <> wrote:

    >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.
     
    Jon L. Miller, Nov 5, 2005
    #5
  6. ants

    mprasad079

    Joined:
    Dec 23, 2012
    Messages:
    12
    There is good document on this and which clearly explain how to do. search for "How to do capture on Cisco".

    Plz note - once u start monitoring, port will go into monitoring mode and you wont be able to access laptop where u are capturing.
     
    mprasad079, Dec 23, 2012
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. plc
    Replies:
    1
    Views:
    21,885
    M.C. van den Bovenkamp
    Apr 30, 2004
  2. #_#
    Replies:
    0
    Views:
    755
  3. Replies:
    2
    Views:
    18,467
    Gallwapa
    Oct 25, 2005
  4. fotoobscura
    Replies:
    1
    Views:
    765
    summi
    Jun 28, 2006
  5. Replies:
    4
    Views:
    9,089
Loading...

Share This Page