1 monitor session, 2 no monitor, 3 show monitor session – Kontron AT8402 CLI User Manual

Page 89: At8402 switching commands

Advertising
background image

AT8402

Switching Commands

Page 2 - 57

AT8402 CLI Reference Manual

2.13.1

monitor session

This command configures a probe port and a monitored port for monitor session (port
monitoring). Use the

source interface <

slot/port

>

parameter to specify the interface

to monitor. Use

rx

to monitor only ingress packets, or use

tx

to monitor only egress

packets. If you do not specify an

{rx | tx}

option, the destination port monitors both

ingress and egress packets. Use the

destination interface <

slot/port

>

to specify

the interface to receive the monitored traffic. Use the

mode

parameter to enabled the

administrative mode of the session. If enabled, the probe port monitors all the traffic
received and transmitted on the physical monitored port.

Format

monitor session

<session-id> {source interface <slot/port> [{rx |

tx}] | destination interface <slot/port> | mode}

Mode

Global Config

2.13.1.1

no monitor session

Use this command without optional parameters to remove the monitor session (port
monitoring) designation from the source probe port, the destination monitored port and
all VLANs. Once the port is removed from the VLAN, you must manually add the port
to any desired VLANs. Use the

source interface <

slot/port

>

parameter or

destination interface <

slot/port

>

to remove the specified interface from the port

monitoring session. Use the

mode

parameter to disable the administrative mode of the

session.

NOTE: Since the current version of FASTPATH software only supports one

session, if you do not supply optional parameters, the behavior of this
command is similar to the behavior of the

no monitor

command.

Format

no monitor session

<session-id> [{source interface <slot/port> |

destination interface <slot/port> | mode}]

Mode

Global Config

2.13.2

no monitor

This command removes all the source ports and a destination port for the and restores
the default value for mirroring session mode for all the configured sessions.

NOTE: This is a stand-alone “no” command. This command does not have a

“normal” form.

Default

enabled

Format

no monitor

Mode

Global Config

2.13.3

show monitor session

This command displays the Port monitoring information for a particular mirroring
session.

Advertising