Port mirroring configuration examples

Last Updated : Nov 06, 2012 |

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

G450-001(super)# set port mirror source-port 10/5 mirror-port 10/6 sampling always 
direction rx
Mirroring rx packets from port 10/5 to port 10/6 is enabled

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

G450-001(super)# show port mirror
port mirroring
Mirroring both Rx and Tx packets from port 10/5 to port 10/6 is enabled

The following example disables port mirroring:

Gxxx-001(super)# clear port mirror