Ingress traffic is duplicated and sent to the mirrored port before processing, and egress traffic is
duplicated and sent to the mirrored port after processing.
Configuring Port Mirroring (CLI example)
To configure Port Mirroring for the example shown in the preceding figure:
1.
Specify the monitoring port.
>> # /cfg/pmirr/monport 19
2.
Select the ports that you want to mirror.
>> Port 19 # add 24
>> Enter port mirror direction [in, out, or both]: in
>> Port 19 # add 1
>> Enter port mirror direction [in, out, or both]: out (Monitor egress traffic
3.
Enable Port Mirroring.
>> # /cfg/pmirr/mirr ena
4.
Apply and save the configuration.
>> PortMirroring# apply
>> PortMirroring# save
5.
View the current configuration.
>> PortMirroring# cur
Port mirroring is enabled
Monitoring Ports Mirrored Ports
1
2
3
4
5
17
19 (24, in) (1, out)
20
21
none
none
none
none
none
:
:
none
none
none
:
(Select port 19 for monitoring)
(Select port 24 to mirror)
(Monitor ingress traffic
on port 24)
(Select port 1 to mirror)
on port 1)
(Enable port mirroring)
(Apply the configuration)
(Save the configuration)
(Display the current settings)
Troubleshooting tools
189