H3c-technologies H3C WX6000 Series Access Controllers Uživatelský manuál Strana 455

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 678
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 454
49-2
Displaying and Maintaining Traffic Mirroring
To do… Use the command… Remarks
Display the configuration information
about the user-defined traffic behavior
display traffic behavior user-defined
behavior-name
Display the configuration information
about the user-defined policy
display qos policy user-defined
policy-name
Available in any view
Traffic Mirroring Configuration Examples
Network Requirements
The user's network is as described below:
z Host A (with the IP address 192.168.0.1) and Host B are connected to GigabitEthernet 0/0/1 of the
switch.
z The data monitoring device is connected to GigabitEthernet 0/0/2 of the AC.
It is required to monitor and analyze packets sent by Host A on the data monitoring device.
Figure 49-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
# Configure a traffic classification rule to use ACL 2000 for traffic classification.
[Sysname] traffic classfier 1
[Sysname-classifier-1] if-match acl 2000
[Sysname-classifier-1] quit
# Configure a traffic behavior and define the action of mirroring traffic to GigabitEthernet 0/0/2 in the
traffic behavior.
Zobrazit stránku 454
1 2 ... 450 451 452 453 454 455 456 457 458 459 460 ... 677 678

Komentáře k této Příručce

Žádné komentáře