Fujitsu XG2000 Switch User Manual


 
XG2000 series User's Guide
186/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.14.2 mirror
Function
Configures port mirroring for specific ports.
Use the no form to cancel the port mirroring setup.
Prompt
xg(config)#
Command syntax
mirror monitored-port <1-20> [rx-mirroring-port <1-20>] [tx-mirroring-port <1-20>]
no mirror
Parameter
z monitored-port <1-20>
Specifies a port number to be monitored.
z rx-mirroring-port <1-20>
Specifies the destination port number for mirroring of received frames. It must be different
from the port specified by “monitored-port/tx-mirroring-port”.
z tx-mirroring-port <1-20>
Specifies the destination port number for mirroring of sent frames. It must be different
from the port specified by “monitored-port/rx-mirroring-port”.
Command type
Configuration command
Default
None
Message
% Cannot set same port.
Explanation
Identical port numbers for the “monitored-port”, “rx-mirroring-port” or
“tx-mirroring-port” have been specified.
Solution
Specify different port numbers by reviewing the “monitored-port”, “rx-mirroring-port”
and “tx-mirroring-port” values then reissue the command.
% Mirroring port %1$ is a member of aggregation group.
Explanation
The command was not executed since the port, specified by “rx-mirroring-port” or
“tx-mirroring-port”, is a member of an aggregation group.
[[Inserted string]]%1$: The port number specified by “rx-mirroring-port” or
“tx-mirroring-port”.
Solution
Delete the specified port from the aggregation group then reissue the command.
Note
z If port mirroring was enabled before issuing this command, the impacted ports are reassigned in accordance with the
most recent command.
Example
Mirror the frames received at port 1 to port 2, and mirror the frames sent from port 1 to port 3.
xg(config)# mirror monitored-port 1 rx-mirroring-port 2 tx-mirroring-port 3
Mirror the frames received at port 1 to port 2.
xg(config)# mirror monitored-port 1 rx-mirroring-port 2