![H3C S5500-SI Series Скачать руководство пользователя страница 527](http://html2.mh-extra.com/html/h3c/s5500-si-series/s5500-si-series_operation-manual_3758650527.webp)
9-3
To do
…
Use the command
…
Remarks
Display QoS policy
configuration information
display qos policy
user-defined
[
policy-name
[
classifier
tcl-name
]
]
Available in any view
Traffic Mirroring Configuration Examples
Example for Mirroring Traffic to an Interface
Network requirements
On the network as shown in
, Host A (with the IP address 192.168.0.1) and Host B are
connected to GigabitEthernet1/0/1 of the switch; a data monitoring device is connected to
GigabitEthernet1/0/2 of the switch.
Monitor and analyze packets sent by Host A on the data monitoring device.
Figure 9-1
Network diagram for configuring traffic mirroring to a port
Configuration Procedure
Configure Switch:
# Enter system view.
<Sysname> system-view
# Configure basic IPv4 ACL 2000 to match packets with the source IP address 192.168.0.1.
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 192.168.0.1 0
[Sysname-acl-basic-2000] quit
# Create class 1 and configure the class to use ACL 2000 for traffic classification.
[Sysname] traffic classifier 1
[Sysname-classifier-1] if-match acl 2000
[Sysname-classifier-1] quit
# Create behavior 1 and configure the action of mirroring traffic to GigabitEthernet1/0/2 in the traffic
behavior.
[Sysname] traffic behavior 1
[Sysname-behavior-1] mirror-to interface GigabitEthernet 1/0/2
[Sysname-behavior-1] quit
# Create QoS policy 1 and associate traffic behavior 1 with class 1 in the QoS policy.
Содержание S5500-SI Series
Страница 161: ...3 10 GigabitEthernet1 0 1 2 MANUAL...
Страница 220: ...1 7 Clearing ARP entries from the ARP table may cause communication failures...
Страница 250: ...3 3 SwitchB system view SwitchB interface vlan interface 1 SwitchB Vlan interface1 ip address dhcp alloc...
Страница 310: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1...
Страница 331: ...1 7 1 1 ms 1 ms 1 ms 1 1 6 1 2 1 ms 1 ms 1 ms 1 1 4 1 3 1 ms 1 ms 1 ms 1 1 2 2 Trace complete...
Страница 493: ...2 8...
Страница 1111: ...1 10 Installing patches Installation completed and patches will continue to run after reboot...