Show Port Mirroring Status; Show Interface Status - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

116 | Command Reference | Interface control
[Initial value]
no mirror interface
[Input mode]
interface mode
[Description]
Mirrors the traffic specified by direct, with the applicable interface as the mirror port and ifname as the monitor port.
If this command is executed with the "no" syntax, the mirroring setting is deleted.
[Note]
This command can be specified only for LAN/SFP port.
Only one interface can be specified as the mirror port.
[Example]
With LAN port #1 as the mirror port, mirror the transmitted and received frames of LAN port #4 and the transmitted frames of
LAN port #5.
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#mirror interface port1.4 direction both
SWR2311P(config-if)#mirror interface port1.5 direction transmit

5.1.10 Show port mirroring status

[Syntax]
show mirror [interface ifname]
[Keyword]
interface
[Parameter]
ifname
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows the port mirroring setting. If interface is omitted, the settings for all monitor ports are shown.
The following items are shown for each monitor port.
Monitor Port
Mirror Port
Mirror Option
Mirror Direction
[Example]
Show the mirroring port settings.
SWR2311P#show mirror
Monitor Port
============= ============ ============== ==========
port1.1
port1.1

5.1.11 Show interface status

[Syntax]
show interface [ type [ index ] ]
:
Specify the monitor port to show
:
Interface name of the LAN/SFP port
Monitor port to show
Item
Mirror Port
Mirror Option
port1.4
enable
port1.5
enable
Description
Interface name of the monitor port
Interface name of the mirror port
Whether port mirroring is enabled or disabled
Direction of traffic that is mirrored
Direction
both
transmit

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents