Table of Contents

SPAN/RSPAN

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

! *** 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

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

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