Port mirroring overview
Port Mirroring copies all received and transmitted packets (including local traffic) from a source port to a
predefined destination port, in addition to the normal destination port of the packets. Port Mirroring, also
known as "sniffing," is useful in debugging network problems.
Port mirroring allows you to define a source port and a destination port, regardless of port type. For
example, a 10 Mbps and a 100 Mbps port can form a valid source/destination pair. You cannot, however
define the port mirroring source and destination ports as the same source and destination port.
You can define one source port and one destination port on each G350 chassis for received (Rx),
transmitted (Tx), or transmitted and received (both) traffic.
Port mirroring constraints
You cannot use the LAN port or the WAN Fast Ethernet port in port mirroring.
Port mirroring CLI commands
The following commands are used to configure port mirroring on the G350. For more information about
these commands, see Avaya G350 Media Gateway CLI Reference, 555-245-202.
•
Use the
•
Use the
•
Use the
Port mirroring configuration examples
This section provides port mirroring configuration examples.
The following example creates a port mirroring pair:
G350-003(super)# set port mirror source-port 6/2 mirror-port 6/10 sampling
always direction rx
Mirroring rx packets from port 6/2 to port 6/10 is enabled
The following example displays port mirroring information:
G350-003(super)# show port mirror
port mirroring
Mirroring both Rx and Tx packets from port 6/2 to port 6/10 is enabled
The following example disables port mirroring:
G350-003(super)# clear port mirror
Administration of the Avaya G350 Media Gateway
June 2004
command to define a port mirroring pair in the switch.
set port mirror
command to display mirroring information for the switch.
show port mirror
command to cancel port mirroring.
clear port mirror
Configuring advanced switching
Configuring port mirroring
117