Cisco Switch Command

gabilangabilan Member Posts: 74 ■■□□□□□□□□
I want to use a packet sniffer to monitor a Lan network inside the Wan. The Lan use a Catalyst switch 2900 XL series. Which command I should use to enable a port to catch all the traffic in the other ports?

Comments

  • IncInc Member Posts: 184
    http://www.cisco.com/warp/public/473/41.html

    Sample Configuration on the Catalyst 2900XL/3500XL

    2900XL/3500XL SPAN Sample Configuration


    !--- Output suppressed.

    !
    interface FastEthernet0/1
    port monitor FastEthernet0/2
    port monitor FastEthernet0/5
    port monitor VLAN1
    !
    interface FastEthernet0/2
    !
    interface FastEthernet0/3
    switchport access vlan 2
    !
    interface FastEthernet0/4
    port monitor FastEthernet0/3
    port monitor FastEthernet0/6
    switchport access vlan 2
    !
    interface FastEthernet0/5
    !
    interface FastEthernet0/6
    switchport access vlan 2
    !

    !--- Output suppressed.

    !
    interface VLAN1
    ip address 10.200.8.136 255.255.252.0
    no ip directed-broadcast
    no ip route-cache
    !

    !--- Output suppressed.
Sign In or Register to comment.