monitor session
monitor session
To enable the SPAN sessions on interfaces or VLANs, use the monitor session command. To remove
one or more source or destination interfaces from a SPAN session, or a source VLAN from a SPAN
session, use the no form of this command.
Syntax Description
session
destination
interface
FastEthernet interface-number
GigabitEthernet interface-number
encapsulation
isl
dot1q
ingress
vlan vlan_id
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
2-506
monitor session session {destination interface {FastEthernet interface-number |
GigabitEthernet interface-number} [encapsulation {isl | dot1q}] [ingress [vlan vlan_id]
[learning]]} | {remote vlan vlan_id} | {source { interface {FastEthernet interface-number |
GigabitEthernet interface-number | Port-channel interface-number}} | [vlan vlan_id]
|{remote vlan vlan_id} | {cpu [queue queue_id | acl { input {copy {rx} | error {rx} | forward
{rx} | punt {rx} | rx} } | output {copy {rx} | error {rx} | forward {rx} | punt {rx} | rx} | all
{rx} | control-packet {rx} | esmp {rx} | l2-forward { adj-same-if {rx} | bridge-cpu {rx} |
ip-option {rx} | ipv6-scope-check-fail {rx} | l2-src-index-check-fail {rx} | mcast-rpf-fail
{rx} | non-arpa {rx} | router-cpu {rx} | ttl-expired {rx} | ucast-rpf-fail {rx} | rx} |
l3-forward { forward {rx} | glean {rx} | receive {rx} | rx} mtu-exceeded {rx} |
unknown-port-vlan-mapping {rx} | unknown-sa {rx}]} [ , | - | rx | tx | both]} | {filter {ip
access-group [name | id]}{vlan vlan_id [ , | - ]} | {packet-type {good | bad}} | {address-type
{unicast | multicast | broadcast} [rx | tx | both]}
no monitor session session {destination interface {FastEthernet interface-number |
GigabitEthernet interface-number} [encapsulation {isl | dot1q}] [ingress [vlan vlan_id]
[learning]]} | {remote vlan vlan_id} | {source {cpu{both | queue | rx | tx} | interface
{FastEthernet interface-number | GigabitEthernet interface-number | Port-channel
interface-number}} | [vlan vlan_id] |{remote vlan vlan_id} | {cpu [queue queue_id | acl
{input {copy {rx} | error {rx} | forward {rx} | punt {rx} | rx} } | output {copy {rx} | error
{rx} | forward {rx} | punt {rx} | rx} | all {rx} | control-packet {rx} | esmp {rx} | l2-forward
{ adj-same-if {rx} | bridge-cpu {rx} | ip-option {rx} | ipv6-scope-check-fail {rx} |
l2-src-index-check-fail {rx} | mcast-rpf-fail {rx} | non-arpa {rx} | router-cpu {rx} |
ttl-expired {rx} | ucast-rpf-fail {rx} | rx} | l3-forward {forward {rx} | glean {rx} | receive
{rx} | rx} mtu-exceeded {rx} | unknown-port-vlan-mapping {rx} | unknown-sa {rx}]} [ , |
- | rx | tx | both]} | {filter {ip access-group [name | id]}{vlan vlan_id [ , | - ]} | {packet-type
{good | bad}} | {address-type {unicast | multicast | broadcast} [rx | tx | both]}
Number of a SPAN session; valid values are from 1 to 6.
Specifies a SPAN destination.
Specifies an interface.
Specifies a Fast Ethernet module and port number; valid values
are from 1 to 6.
Specifies a Gigabit Ethernet module and port number; valid
values are from 1 to 6.
(Optional) Specifies the encapsulation type of the destination
port.
(Optional) Specifies ISL encapsulation.
(Optional) Specifies dot1q encapsulation.
(Optional) Indicates whether the ingress option is enabled.
(Optional) Specifies the VLAN; valid values are from 1 to 4094.
Chapter 2