Port mirroring configuration examples

Last Updated : Nov 06, 2012 |

The following example creates a port mirroring pair in the Branch Gateway:

G430-001(super)# set port mirror source-port 10/3 mirror-port 10/4 sampling always 
direction rx
Mirroring rx packets from port 10/3 to port 10/4 is enabled

The following example displays port mirroring information for the Branch Gateway:

G430-001(super)# show port mirror
port mirroring
Mirroring both Rx and Tx packets from port 10/3 to port 10/4 is enabled

The following example disables port mirroring:

Gxxx-001(super)# clear port mirror