Cisco 2960 X Owners Manual
Here you can view all the pages of manual Cisco 2960 X Owners Manual. The Cisco manuals for Switch are available online for free. You can easily download all the documents as PDF.
Page 91
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)#nomonitorsessionall •all—RemovesallSPANsessions. •local—Removesalllocalsessions. •remote—RemovesallremoteSPANsessions. SpecifiestheSPANsessionandthesourceport(monitoredport).monitorsessionsession_numbersource...
Page 92
PurposeCommand or Action •dot1qvlanvlan-id—AcceptincomingpacketswithIEEE802.1Q encapsulationwiththespecifiedVLANasthedefaultVLAN. •isl—ForwardingresspacketswithISLencapsulation. •untaggedvlanvlan-idorvlanvlan-id—Acceptincomingpacketswith untaggedencapsulationtypewiththespecifiedVLANasthedefault VLAN. ReturnstoprivilegedEXECmode.end Example: Switch(config)#end Step 5 Related Topics LocalSPAN,onpage68 SPANSessions,onpage71 SPANConfigurationGuidelines,onpage77 Example:ConfiguringLocalSPAN,onpage93...
Page 93
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)#nomonitorsessionall •all—RemovesallSPANsessions. •local—Removesalllocalsessions. •remote—RemovesallremoteSPANsessions. Specifiesthecharacteristicsofthesourceport(monitoredport)andSPAN session....
Page 94
PurposeCommand or Action ReturnstoprivilegedEXECmode.end Example: Switch(config)#end Step 6 Configuring a VLAN as an RSPAN VLAN FirstcreateanewVLANtobetheRSPANVLANfortheRSPANsession. BeginninginprivilegedEXECmode,followthesestepstocreateanewVLAN,thenconfigureittobethe RSPANVLANfortheRSPANsession. SUMMARY STEPS 1.configureterminal 2.vlanvlan-id 3.remote-span 4.end DETAILED STEPS PurposeCommand or Action Enterstheglobalconfigurationmode.configureterminal Example: Switch#configureterminal Step 1...
Page 95
PurposeCommand or Action ReturnstoprivilegedEXECmode.end Example: Switch(config-vlan)#end Step 4 What to Do Next YoumustcreatetheRSPANVLANinallswitchesthatwillparticipateinRSPAN.IftheRSPANVLAN-ID isinthenormalrange(lowerthan1005)andVTPisenabledinthenetwork,youcancreatetheRSPANVLAN inoneswitch,andVTPpropagatesittotheotherswitchesintheVTPdomain.Forextended-rangeVLANs (greaterthan1005),youmustconfigureRSPANVLANonbothsourceanddestinationswitchesandany intermediateswitches....
Page 96
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)#nomonitorsession1 •all—RemovesallSPANsessions. •local—Removesalllocalsessions. •remote—RemovesallremoteSPANsessions. SpecifiestheRSPANsessionandthesourceport(monitoredport).monitorsessionsession_numbersource...
Page 97
PurposeCommand or Action Example: Switch(config)#monitorsession1destinationremotevlan100 •Forsession_number,enterthenumberdefinedinStep3. •Forvlan-id,specifythesourceRSPANVLANtomonitor. ReturnstoprivilegedEXECmode.end Example: Switch(config)#end Step 5 Related Topics RemoteSPAN,onpage69 RSPANVLAN,onpage75 RSPANConfigurationGuidelines,onpage78 Specifying VLANs to Filter BeginninginprivilegedEXECmode,followthesestepstoconfiguretheRSPANsourcesessiontolimit RSPANsourcetraffictospecificVLANs. SUMMARY STEPS...
Page 98
PurposeCommand or Action •Forsession_number,therangeis1to66. Example: Switch(config)#nomonitorsession2 •all—RemovesallSPANsessions. •local—Removesalllocalsessions. •remote—RemovesallremoteSPANsessions. Specifiesthecharacteristicsofthesourceport(monitoredport)and SPANsession. monitorsessionsession_numbersource interfaceinterface-id Step 3 Example: Switch(config)#monitorsession2sourceinterfacegigabitethernet1/0/2rx •Forsession_number,therangeis1to66....
Page 99
BeginninginprivilegedEXECmode,followthesestepstodefinetheRSPANVLANonthatswitch,tocreate anRSPANdestinationsession,andtospecifythesourceRSPANVLANandthedestinationport. SUMMARY STEPS 1.configureterminal 2.vlanvlan-id 3.remote-span 4.exit 5.nomonitorsession{session_number|all|local|remote} 6.monitorsessionsession_numbersourceremotevlanvlan-id 7.monitorsessionsession_numberdestinationinterfaceinterface-id 8.end DETAILED STEPS PurposeCommand or Action Enterstheglobalconfigurationmode.configureterminal...
Page 100
PurposeCommand or Action SpecifiestheRSPANsessionandthesourceRSPANVLAN.monitorsessionsession_numbersource remotevlanvlan-id Step 6 •Forsession_number,therangeis1to66. Example: Switch(config)#monitorsession1sourceremotevlan901 •Forvlan-id,specifythesourceRSPANVLANtomonitor. SpecifiestheRSPANsessionandthedestinationinterface.monitorsessionsession_numberdestination interfaceinterface-id Step 7 •Forsession_number,enterthenumberdefinedinStep6. Example: Switch(config)#monitorsession1...