Displaying And Maintaining Traffic Mirroring; Traffic Mirroring Configuration Examples - 3Com Switch 4800G 24-Port Configuration Manual

Switch 4800g family 24-port, pwr 24-port, 48-port, pwr 48-port, 24-port sfp
Hide thumbs Also See for Switch 4800G 24-Port:
Table of Contents

Advertisement

892
C
71: T
HAPTER
RAFFIC
Displaying and
Maintaining Traffic
Mirroring
Traffic Mirroring
Configuration
Examples
Network Requirements
Configuration Procedure
M
C
IRRORING
ONFIGURATION
To do...
Display the configuration
information about the
user-defined traffic behavior
Display the configuration
information about the
user-defined policy
The user's network is as described below:
Host A (with the IP address 192.168.0.1) and Host B are connected to
GigabitEthernet1/0/1 of the switch.
The data monitoring device is connected to GigabitEthernet1/0/2 of the switch.
It is required to monitor and analyze packets sent by Host A on the data
monitoring device.
Figure 262 Network diagram for configuring traffic mirroring to a port
Host A
192.168.0.1
Host B
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
Use the command...
display traffic behavior
user-defined behavior-name
display qos policy
user-defined policy-name
GE1/0/1
GE1/0/2
Switch
Remarks
Available in any view
Data monitoring
device

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents