
CLI user manual
53
Chapter 15 Port mirroring
15.1 Enter the port mirroring view
Port mirroring configuration includes:
1. Port mirroring configuration;
2. Delete port mirroring;
3. View port mirroring;
Table 15.1.1 to enter the port mirroring configuration view:
Operating
Command
Description
Enter the port mirroring configuration
view
Mirror
To perform the operation in the
system
Switch#
mirror
Switch(Mirror)#
?
List --List commands of current menu
Help --Help commands of current menu
Quit --Quit from CLI
Exit --Exit from current menu
Reboot --Reboot switch
Show mirror --Show port mirror
Close mirror --Close port mirror
Config --Set port mirror
15.2 Port mirroring configuration / delete
The user can use the following command to port mirroring configuration / delete.
Table 15.2.1 port mirroring configuration / delete command:
Operating
Command
Description
Port mirroring
configuration
Config
<mirror_port> <port> {1|2|3}
{1|2|3}
:
Data type
1 --all data
2 --Ingress data only
3 --Egress data only
<
mirror_port
>
:
Mirror port 1
,
2
,
3-5
<port>
:
Acquisition port
Port mirroring
delete
Close mirror
In view of the port mirroring