XG Series User's Guide Chapter 4 Switch Functions and their Configuration
Port Mirroring
65
4.2 Port Mirroring
It is possible to monitor the traffic by mirroring the frames sent or received by a port to another port.
Multiple ports may not be mirrored to one port. However, multiple ports may be mirrored.
To configure port mirroring, carry out the following procedure in "admin" Operation mode.
•XG2600
• XG0224/XG0448
Command Task
XG2600# configure Switch to Configuration mode.
XG2600(config)# ether 10 type mirror 0 1 rx Configure the port 10 to be destination port and the receive
frames of the source port (port 1) are mirrored.
XG2600(config)# ether 11 type mirror 0 2 tx Configure the port 11 to be destination port and the send frames
of the source port (port 2) are mirrored.
XG2600(config)# commit Apply the configuration.
XG2600(config)# save Save the configuration.
XG2600(config)# exit Switch to Operation mode.
Command Task
XG0224# configure Switch to Configuration mode.
XG0224(config)# ether 10 type mirror 0 1 both Configure the port 10 to be destination port and the receive/send
frames of the source port (port 1) are mirrored.
XG0224(config)# ether 10 type mirror 10 2 tx Configure the port 10 to be destination port and the send frames
of the source port (port 2) are mirrored.
XG0224(config)# commit Apply the configuration.
XG0224(config)# save Save the configuration.
XG0224(config)# exit Switch to Operation mode.