Handbook

Error! Use the Home tab to apply 見出し 1 to the text that you want to appear here. 166
Configuring Port Mirroring (AOS CLI example)
To configure Port Mirroring for the example shown in the preceding figure:
1. Specify the monitoring port.
>> # /cfg/pmirr/monport 18 (Select port 18 for monitoring)
2. Select the ports that you want to mirror.
>> Port 18 # add 21 (Select port 21 to mirror)
>> Enter port mirror direction [in, out, or both]: in
(Monitor ingress traffic on port 21)
>> Port 18 # add 1 (Select port 1 to mirror)
>> Enter port mirror direction [in, out, or both]: out
(Monitor egress traffic on port 1)
3. Enable Port Mirroring.
>> # /cfg/pmirr/mirr ena (Enable port mirroring)
4. Apply and save the configuration.
>> PortMirroring# apply (Apply the configuration)
>> PortMirroring# save (Save the configuration)
5. View the current configuration.
>> PortMirroring# cur (Display the current settings)
Port mirroring is enabled
Monitoring Ports Mirrored Ports
1 none
2 none
3 none
4 none
5 none
:
:
18 (21, in) (1, out)
19 none
20 none
21 none