eduardo:cisco:sw:sw-span
Differences
This shows you the differences between two versions of the page.
eduardo:cisco:sw:sw-span [2010/07/26 12:07] – created eduardo | eduardo:cisco:sw:sw-span [2024/02/23 08:20] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== SPAN/RSPAN ====== | ||
+ | ===== SPAN on CATOS ===== | ||
+ | * SPAN on CATOS | ||
+ | < | ||
+ | ! *** Enable | ||
+ | Switch> (enable) set span {src-port | src-vlan} {dst-port} [rx|tx|both] | ||
+ | |||
+ | ! *** Disable | ||
+ | Switch> (enable) set span disable {dst-port} | ||
+ | |||
+ | Switch> show span | ||
+ | </ | ||
+ | |||
+ | ===== SPAN on IOS ===== | ||
+ | * SPAN on IOS | ||
+ | < | ||
+ | ! *** Enable | ||
+ | Switch(config)# | ||
+ | Switch(config)# | ||
+ | |||
+ | Switch> show monitor | ||
+ | </ | ||
+ | |||
+ | ===== RSPAN on CATOS ===== | ||
+ | * RSPAN on CATOS | ||
+ | - Configure RSPAN vlan | ||
+ | - Configure RSPAN source ports | ||
+ | - Configure RSPAN destination ports | ||
+ | * OPTIONAL | ||
+ | - Trunking the RSPAN vlan if spanning multiple switches | ||
+ | |||
+ | < | ||
+ | Switch> (enable) set vlan 500 rspan | ||
+ | Switch> (enable) set rspan source {src-ports | src-vlans} {rspan-vlan} {rx|tx|both} | ||
+ | Switch> (enable) set rspan destination {dst-ports} {rspan-vlan} | ||
+ | |||
+ | ! *** Disable | ||
+ | Switch> (enable) set rspan disable source {rspan-vlan|all} | ||
+ | Switch> (enable) set rspan disable destination {dst-ports|all} | ||
+ | |||
+ | Switch> show span | ||
+ | </ | ||
+ | |||
+ | ===== RSPAN on IOS ===== | ||
+ | * RSPAN on IOS | ||
+ | - Configure RSPAN vlan | ||
+ | - Configure RSPAN source ports to span to RSPAN vlan | ||
+ | - Configure SPAN to source from RSPAN vlan | ||
+ | - Configure SPAN to destination ports | ||
+ | * OPTIONAL | ||
+ | - Trunking the RSPAN vlan if spanning multiple switches | ||
+ | |||
+ | < | ||
+ | Switch(config)# | ||
+ | Switch(config-vlan)# | ||
+ | |||
+ | Switch(config)# | ||
+ | Switch(config)# | ||
+ | |||
+ | Switch(config)# | ||
+ | Switch(config)# | ||
+ | |||
+ | Switch> show monitor | ||
+ | </ |