2013年12月23日星期一

How to Configure Remote Port Mirroring of Huawei Router

Before configuring remote port mirroring on Huawei router, complete the following tasks:
Configuring routing protocols to ensure reachable routes between the mirrored device and
the monitoring device
Configuring a GRE over IPv4 Tunnel

Configuration overview
Configuring the Observing Server (taking the AR3200 and AR1200 as the example)

Step 1 Run:
system-view
The system view is displayed.

Step 2 Run:
observe-server destination-ip destination-ip-address source-ip source-ip-address
[ dscp dscp-value ]
An observing server is configured for remote mirroring.
NOTE
1 In the preceding command, destination-ip-address specifies the IP address of the monitored device, and source-ip-address specifies the IP address of a mirrored port.
2 If the monitoring device and mirrored port use private IP addresses, perform the task in Configuring a GRE over IPv4 Tunnel before configuring the monitoring device.
----End

Configuring a Remote Mirrored Port
Context
A mirrored port can be an Ethernet port or an Eth-Trunk port. If you want to configure an Eth-Trunk as a mirrored port, run the interface eth-trunk trunk-id command to create an Eth-Trunk first.
1 If an Eth-Trunk is configured as a mirrored port, its member ports cannot be configured as mirrored ports. To configure a member port as a mirrored port, delete it from the Eth-Trunk first.
2 If a member port of an Eth-Trunk is configured as a mirrored port, the Eth-Trunk cannot
be configured as a mirrored port. To configure the Eth-Trunk as a mirrored port, delete the
member port from it first.

Step 1 Run:
system-view
The system view is displayed.

Step 2 Run:
interface interface-type interface-number
The interface view is displayed.

Step 3 Run:
mirror to observe-server{ both | inbound | outbound }
A remote mirrored port is configured.
----End

Checking the Configuration
1 Run the display observe-server command to check the observing server.
2 Run the display mirror-port command to check the port mirroring configuration.

----End

没有评论:

发表评论