The configuration method of the local port mirroring session on AR series router?

You can configure local port mirroring,the packets flows through the port can be copied to the local monitoring device for analysis and monitoring.
Before you configure a local port mirroring, you need to port link protocol status to Up.

1 Configure local observing port.
Background information
For local port mirroring, monitoring devices connected to the observing port directly.
If the interface is configured as the mirroring port, it is recommended that you do not perform any configuration on the interface, or it will affects the mirroring function:
-if the observing port not only has a mirroring packets and other service traffic, you will not be able to distinguish packet source.
-if the observing port is congested, due to the relatively low priority, mirroring packets may be discarded.
Operation steps
Run the following command system-view, access the system view.
Run the following command observe-port interface interface-type interface-number, local observing port is configured.

2.Configure local port mirroring port.
Background information
Mirroring port can be arbitrary interface type.
If you have already set the Eth-trunk to the mirroring port, it is impossible to separate configuration its member port as a mirrored port. If you want to configure a member port as a mirrored port, you need to cancel the binding function.
If you have already configured a member port of Eth-trunk as a mirrored port, it is impossible to configuration Eth-trunk as the mirror port. If you want to configure the Eth-trunk as a mirrored port, you need to first cancle the mirroring port function on member interfaces .
Operation steps
Run the following command system-view, access the system view.
Run the following command interface interface-type interface-number, access the interface view.
Run the command mirror observe-port { both | inbound | outbound } [ exclude-link-head ], configure local port mirroring port.

Scroll to top