EasyManuals Logo
Home>HP>Switch>JG221A

HP JG221A User Manual

HP JG221A
189 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #153 background imageLoading...
Page #153 background image
Displaying and maintaining traffic mirroring
To do… Use the command… Remarks
Display traffic behavior
configuration information
display traffic behavior
user-defined [ behavior-name ]
Available in any view
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 Figure 50, Host A (with IP address 192.168.0.1) and Host B are connected
to Ethernet 1/0/1 of the switch. A data monitoring device is connected to Ethernet 1/0/2 of the switch.
Monitor and analyze packets sent by Host A on the data monitoring device.
Figure 50 Network diagram for configuring traffic mirroring to a port
Eth1/0/1 Eth1/0/2
SwitchHost Server
Host A
192.168.0.1
Host B
Configuration procedure
Configure the 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 Ethernet 1/0/2 in the traffic
behavior.
[Sysname] traffic behavior 1
[Sysname-behavior-1] mirror-to interface Ethernet 1/0/2
146

Table of Contents

Other manuals for HP JG221A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP JG221A and is the answer not in the manual?

HP JG221A Specifications

General IconGeneral
BrandHP
ModelJG221A
CategorySwitch
LanguageEnglish

Related product manuals