Home > Cisco > Switch > Cisco 2960 X Owners Manual

Cisco 2960 X Owners Manual

    Download as PDF Print this page Share this page

    Have a look at the manual Cisco 2960 X Owners Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 53 Cisco manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.

    							SUMMARY STEPS
    1.configureterminal
    2.nomonitorsession{session_number|all|local|remote}
    3.monitorsessionsession_numbersourceremotevlanvlan-id
    4.monitorsessionsession_numberdestination{interfaceinterface-id[,|-][ingress{dot1qvlanvlan-id
    |isl|untaggedvlanvlan-id|vlanvlan-id}]}
    5.end
    DETAILED STEPS
    PurposeCommand or Action
    Enterstheglobalconfigurationmode.configureterminal
    Example:
    Switch#configureterminal
    Step 1
    RemovesanyexistingSPANconfigurationforthesession.nomonitorsession{session_number|all
    |local|remote}
    Step 2
    •Forsession_number,therangeis1to66.
    Example:
    Switch(config)#nomonitorsession2
    •all—RemovesallSPANsessions.
    •local—Removesalllocalsessions.
    •remote—RemovesallremoteSPANsessions.
    SpecifiestheRSPANsessionandthesourceRSPANVLAN.monitorsessionsession_numbersource
    remotevlanvlan-id
    Step 3
    •Forsession_number,therangeis1to66.
    Example:
    Switch(config)#monitorsession2sourceremotevlan901
    •Forvlan-id,specifythesourceRSPANVLANtomonitor.
    SpecifiestheSPANsession,thedestinationport,thepacketencapsulation,
    andtheincomingVLANandencapsulation.
    monitorsessionsession_number
    destination{interfaceinterface-id[,|-]
    Step 4
    [ingress{dot1qvlanvlan-id|isl|
    untaggedvlanvlan-id|vlanvlan-id}]}•Forsession_number,enterthenumberdefinedinStep4.
    InanRSPANdestinationsession,youmustusethesamesessionnumber
    forthesourceRSPANVLANandthedestinationport.Example:
    Switch(config)#monitorsession2•Forinterface-id,specifythedestinationinterface.Thedestination
    interfacemustbeaphysicalinterface.destinationinterfacegigabitethernet1/0/2ingressvlan6
    •Thoughvisibleinthecommand-linehelpstring,encapsulationreplicate
    isnotsupportedforRSPAN.TheoriginalVLANIDisoverwrittenby
    theRSPANVLANID,andallpacketsappearonthedestinationport
    asuntagged.
    Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX    
       OL-29044-0191
    Configuring SPAN and RSPAN
    Creating an RSPAN Destination Session and Configuring Incoming Traffic 
    						
    							PurposeCommand or Action
    •(Optional)[,|-]Specifiesaseriesorrangeofinterfaces.Enteraspace
    beforeandafterthecomma;enteraspacebeforeandafterthehyphen.
    •Enteringresswithadditionalkeywordstoenableforwardingofincoming
    trafficonthedestinationportandtospecifytheencapsulationtype:
    ◦dot1qvlanvlan-id—ForwardsincomingpacketswithIEEE802.1Q
    encapsulationwiththespecifiedVLANasthedefaultVLAN.
    ◦isl—ForwardsingresspacketswithISLencapsulation.
    ◦untaggedvlanvlan-idorvlanvlan-id—Forwardsincoming
    packetswithuntaggedencapsulationtypewiththespecifiedVLAN
    asthedefaultVLAN.
    ReturnstoprivilegedEXECmode.end
    Example:
    Switch(config)#end
    Step 5
    Related Topics
    RemoteSPAN,onpage69
    RSPANVLAN,onpage75
    RSPANConfigurationGuidelines,onpage78
    Examples:CreatinganRSPANVLAN,onpage94
    Monitoring SPAN and RSPAN Operations
    ThefollowingtabledescribesthecommandusedtodisplaySPANandRSPANoperationsconfigurationand
    resultstomonitoroperations:
    Table 13: Monitoring SPAN and RSPAN Operations
    DisplaysthecurrentSPAN,RSPAN,FSPAN,
    orFRSPANconfiguration
    showmonitor
       Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX
    92OL-29044-01  
    Configuring SPAN and RSPAN
    Monitoring SPAN and RSPAN Operations 
    						
    							SPAN and RSPAN Configuration Examples
    Example: Configuring Local SPAN
    ThisexampleshowshowtosetupSPANsession1formonitoringsourceporttraffictoadestinationport.
    First,anyexistingSPANconfigurationforsession1isdeleted,andthenbidirectionaltrafficismirroredfrom
    sourceGigabitEthernetport1todestinationGigabitEthernetport2,retainingtheencapsulationmethod.
    Switch(config)#nomonitorsession1Switch(config)#monitorsession1sourceinterfacegigabitethernet1/0/1Switch(config)#monitorsession1destinationinterfacegigabitethernet1/0/2encapsulationreplicateSwitch(config)#end
    Thisexampleshowshowtoremoveport1asaSPANsourceforSPANsession1:
    Switch(config)#nomonitorsession1sourceinterfacegigabitethernet1/0/1Switch(config)#end
    Thisexampleshowshowtodisablereceivedtrafficmonitoringonport1,whichwasconfiguredforbidirectional
    monitoring:
    Switch(config)#nomonitorsession1sourceinterfacegigabitethernet1/0/1rx
    Themonitoringoftrafficreceivedonport1isdisabled,buttrafficsentfromthisportcontinuestobemonitored.
    ThisexampleshowshowtoremoveanyexistingconfigurationonSPANsession2,configureSPANsession
    2tomonitorreceivedtrafficonallportsbelongingtoVLANs1through3,andsendittodestinationGigabit
    Ethernetport2.TheconfigurationisthenmodifiedtoalsomonitoralltrafficonallportsbelongingtoVLAN
    10.
    Switch(config)#nomonitorsession2Switch(config)#monitorsession2sourcevlan1-3rxSwitch(config)#monitorsession2destinationinterfacegigabitethernet1/0/2Switch(config)#monitorsession2sourcevlan10Switch(config)#end
    ThisexampleshowshowtoremoveanyexistingconfigurationonSPANsession2,configureSPANsession
    2tomonitorreceivedtrafficonGigabitEthernetsourceport1,andsendittodestinationGigabitEthernet
    port2withthesameegressencapsulationtypeasthesourceport,andtoenableingressforwardingwithIEEE
    802.1QencapsulationandVLAN6asthedefaultingressVLAN:
    Switch(config)#nomonitorsession2Switch(config)#monitorsession2sourcegigabitethernet1/0/1rxSwitch(config)#monitorsession2destinationinterfacegigabitethernet1/0/2encapsulationreplicateingressdot1qvlan6Switch(config)#end
    ThisexampleshowshowtoremoveanyexistingconfigurationonSPANsession2,configureSPANsession
    2tomonitortrafficreceivedonGigabitEthernettrunkport2,andsendtrafficforonlyVLANs1through5
    andVLAN9todestinationGigabitEthernetport1:
    Switch(config)#nomonitorsession2Switch(config)#monitorsession2sourceinterfacegigabitethernet1/0/2rxSwitch(config)#monitorsession2filtervlan1-5,9Switch(config)#monitorsession2destinationinterfacegigabitethernet1/0/1Switch(config)#end
    Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX    
       OL-29044-0193
    Configuring SPAN and RSPAN
    SPAN and RSPAN Configuration Examples 
    						
    							Related Topics
    CreatingaLocalSPANSessionandConfiguringIncomingTraffic,onpage80
    LocalSPAN,onpage68
    SPANSessions,onpage71
    SPANConfigurationGuidelines,onpage77
    Examples: Creating an RSPAN VLAN
    ThisexampleshowshowtocreatetheRSPANVLAN901:
    Switch(config)#vlan901Switch(config-vlan)#remotespanSwitch(config-vlan)#end
    ThisexampleshowshowtoremoveanyexistingRSPANconfigurationforsession1,configureRSPAN
    session1tomonitormultiplesourceinterfaces,andconfigurethedestinationasRSPANVLAN901:
    Switch(config)#nomonitorsession1Switch(config)#monitorsession1sourceinterfacegigabitethernet1/0/1txSwitch(config)#monitorsession1sourceinterfacegigabitethernet1/0/2rxSwitch(config)#monitorsession1sourceinterfaceport-channel2Switch(config)#monitorsession1destinationremotevlan901Switch(config)#end
    ThisexampleshowshowtoremoveanyexistingconfigurationonRSPANsession2,configureRSPAN
    session2tomonitortrafficreceivedontrunkport2,andsendtrafficforonlyVLANs1through5and9to
    destinationRSPANVLAN902:
    Switch(config)#nomonitorsession2Switch(config)#monitorsession2sourceinterfacegigabitethernet1/0/2rxSwitch(config)#monitorsession2filtervlan1-5,9Switch(config)#monitorsession2destinationremotevlan902Switch(config)#end
    ThisexampleshowshowtoconfigureVLAN901asthesourceremoteVLANandport1asthedestination
    interface:
    Switch(config)#monitorsession1sourceremotevlan901Switch(config)#monitorsession1destinationinterfacegigabitethernet2/0/1Switch(config)#end
    ThisexampleshowshowtoconfigureVLAN901asthesourceremoteVLANinRSPANsession2,to
    configureGigabitEthernetsourceport2asthedestinationinterface,andtoenableforwardingofincoming
    trafficontheinterfacewithVLAN6asthedefaultreceivingVLAN:
    Switch(config)#monitorsession2sourceremotevlan901Switch(config)#monitorsession2destinationinterfacegigabitethernet1/0/2ingressvlan6Switch(config)#end
    Related Topics
    CreatinganRSPANDestinationSessionandConfiguringIncomingTraffic,onpage90
    RemoteSPAN,onpage69
    RSPANVLAN,onpage75
    RSPANConfigurationGuidelines,onpage78
       Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX
    94OL-29044-01  
    Configuring SPAN and RSPAN
    Examples: Creating an RSPAN VLAN 
    						
    							Additional References
    Related Documents
    Document TitleRelated Topic
    Standards and RFCs
    TitleStandard/RFC
    MIBs
    MIBs LinkMIB
    TolocateanddownloadMIBsforselectedplatforms,
    CiscoIOSreleases,andfeaturesets,useCiscoMIB
    LocatorfoundatthefollowingURL:
    http://www.cisco.com/go/mibs
    Technical Assistance
    LinkDescription
    http://www.cisco.com/supportTheCiscoSupportwebsiteprovidesextensiveonline
    resources,includingdocumentationandtoolsfor
    troubleshootingandresolvingtechnicalissueswith
    Ciscoproductsandtechnologies.
    Toreceivesecurityandtechnicalinformationabout
    yourproducts,youcansubscribetovariousservices,
    suchastheProductAlertTool(accessedfromField
    Notices),theCiscoTechnicalServicesNewsletter,
    andReallySimpleSyndication(RSS)Feeds.
    AccesstomosttoolsontheCiscoSupportwebsite
    requiresaCisco.comuserIDandpassword.
    Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX    
       OL-29044-0195
    Configuring SPAN and RSPAN
    Additional References 
    						
    							Feature History and Information for SPAN and RSPAN
    ModificationRelease
    SwitchPortAnalyzer(SPAN):
    Allowsmonitoringofswitchtraffic
    onaportorVLANusinga
    sniffer/analyzerorRMONprobe.
    Thisfeaturewasintroduced.
    CiscoIOS15.0(2)EX
    SPANdestinationportsupporton
    EtherChannels:Providestheability
    toconfigureaSPANdestination
    portonanEtherChannel.
    Thisfeaturewasintroduced.
    CiscoIOS15.0(2)EX
    SwitchPortAnalyzer(SPAN)-
    distributedegressSPAN:Provides
    distributedegressSPAN
    functionalityontolinecardsin
    conjunctionwithingressSPAN
    alreadybeendistributedtoline
    cards.BydistributingegressSPAN
    functionalitiesontolinecards,the
    performanceofthesystemis
    improved.
    Thisfeaturewasintroduced.
    CiscoIOS15.0(2)EX
       Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX
    96OL-29044-01  
    Configuring SPAN and RSPAN
    Feature History and Information for SPAN and RSPAN 
    						
    							INDEX
    C
    CiscoDiscoveryProtocol(CDP)33
    CiscoNetworkingServices16
    CNS16
    ConfigurationEngine14
    restrictions14
    D
    defaultconfiguration77
    RSPAN77
    SPAN77
    defined16, 33
    EventService16
    NameSpaceMapper16
    devicestack34
    E
    EventService16
    I
    Inter-SwitchLink66
    SeeISL66
    IntrusionDetectionSystem68
    SeeIDSappliances68
    L
    localSPAN68
    M
    mirroringtrafficforanalysis67
    monitoring68
    networktrafficforanalysiswithprobe68
    N
    NameSpaceMapper16
    R
    remoteSPAN69
    restrictions14
    ConfigurationEngine14
    RSPAN66, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 84, 85, 87, 90
    andstackchanges77
    characteristics75
    configurationguidelines78
    defaultconfiguration77
    destinationports74
    inadevicestack68
    interactionwithotherfeatures76
    monitoredports73
    monitoringports74
    overview67
    receivedtraffic72
    sessionlimits66
    sessions71, 84, 85, 87, 90
    creating84, 85
    defined71
    limitingsourcetraffictospecificVLANs87
    specifyingmonitoredports84, 85
    withingresstrafficenabled90
    sourceports73
    transmittedtraffic72
    VLAN-based73
    Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX    
       OL-29044-01IN-1 
    						
    							S
    services16
    networking16
    SimpleNetworkManagementProtocol(SNMP)33
    SPAN66, 67, 71, 72, 73, 74, 76, 77, 78, 80, 82
    andstackchanges77
    configurationguidelines77
    defaultconfiguration77
    destinationports74
    interactionwithotherfeatures76
    monitoredports73
    monitoringports74
    overview67
    receivedtraffic72
    sessionlimits66
    sessions71, 77, 78, 80, 82
    creating78
    defined71
    limitingsourcetraffictospecificVLANs82
    removingdestination(monitoring)ports77
    SPAN(continued)
    sessions(continued)
    specifyingmonitoredports78
    withingresstrafficenabled80
    sourceports73
    transmittedtraffic72
    VLAN-based73
    SPANtraffic72
    stackchanges,effectson77
    SPANandRSPAN77
    SubnetworkAccessProtocol(SNAP)33
    SwitchedPortAnalyzer65
    SeeSPAN65
    V
    VLANfilteringandSPAN74
    VLANs82, 87
    limitingsourcetrafficwithRSPAN87
    limitingsourcetrafficwithSPAN82
       Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX
    IN-2OL-29044-01  
    Index 
    						
    All Cisco manuals Comments (0)