====== 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)# monitor session 1 source interface {src-ports} [rx|tx|both] Switch(config)# monitor session 1 destination interface {dst-ports} 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)# vlan {rspan-vlan} Switch(config-vlan)# remote-span Switch(config)# monitor session 1 source interface {src-ports} [rx|tx|both] Switch(config)# monitor session 1 destination remote vlan {rspan-vlan} Switch(config)# monitor session 2 source remote vlan {rspan-vlan} Switch(config)# monitor session 2 destination interface {dst-ports} Switch> show monitor