![background image](http://html1.mh-extra.com/html/xenya/xs26gs/xs26gs_user-manual_3274837092.webp)
XS26GS Managed Optical Ethernet Switch User Manual
87
Use
monitor-port
command to configure the destination port. You can use
to
ethernet
interface
to configure a range of continuous destination ports.
Examples
XS(MIRROR-1)# monitor-port ethernet 0/20
Configuration completed successfully.
mirroring-port
Syntax
mirroring-port ethernet
interface
[
to ethernet
interface
] {
both
|
egress
|
ingress
}
no mirroring-port
[
ethernet
interface
]
View
System view.
Parameters
interface : ethernet port, in the form of interface =
{ interface-type
/
interface-number}, interface-type = {0 | 1}, when interface-type
is 0, interface-number = { 1 | 2 | … | 24 }, when interface-type is 1,
interface-number = { 1 | 2}.
to
: specifies the last port number of the range.
both
: specified to mirror all packets received on and sent from the port.
ingress
: specified to mirror the packets received on the port.
egress
: specified to mirror the packets sent from the port.
Description
Use
mirroring-port
command to configure the source port. You can use
to
ethernet
interface
to configure a range of continuous source ports.
Use
no mirroring-port
command to remove the configuration from the source
port(s). If no Ethernet interface is specified, all configured mirror ports are
removed.
Examples
XS(MIRROR-1)# mirroring-port ethernet 0/7 both
Configuration completed successfully.
XS(MIRROR-1)# mirroring-port ethernet 0/8 to ethernet 0/12 both
Configuration completed successfully.
XS(MIRROR-1)# no mirroring-port ethernet 0/3
Configuration completed successfully.
3.11
VLAN Commands
3.11.1
VLAN Configuration Commands
The “Any view” in the below table refers to anyone of the following: System view,
Ethernet port view, Port-based VLAN view, VLAN view, or dot1x view.
Command list
: