Port mirroring configuration examples
This section provides port mirroring configuration examples.
The following example creates a port mirroring pair in the G350:
G350-001(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 creates a port mirroring pair in the G250:
G250-001(super)# set port mirror source-port 10/3 mirror-port 10/10 sampling always
direction rx
Mirroring rx packets from port 10/3 to port 10/10 is enabled
The following example displays port mirroring information for the G350:
G350-001(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 displays port mirroring information for the G250:
G250-001(super)# show port mirror
port mirroring
Mirroring both Rx and Tx packets from port 10/3 to port 10/10 is enabled
The following example disables port mirroring:
G350-001(super)# clear port mirror
Configuring port mirroring
Issue 1.1 June 2005
231