R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide
121
Ste
p
Command
Remarks
3. Assign the port to the probe
VLAN.
• For an access port:
port access vlan vlan-id
• For a trunk port:
port trunk permit vlan vlan-id
• For a hybrid port:
port hybrid vlan vlan-id { tagged |
untagged }
Use one of the commands.
For more information about
the port access vlan, port
trunk permit vlan, and port
hybrid vlan commands, see
Layer 2—LAN Switching
Command Reference.
Displaying and maintaining port mirroring
Task Command Remarks
Display mirroring group
information.
display mirroring-group { group-id | all | local |
remote-destination | remote-source } [ | { begin |
exclude | include } regular-expression ]
Available in any view.
Port mirroring configuration examples
Local port mirroring configuration example
Network requirements
As shown in Figure 46:
• Router A connects to the marketing department through GigabitEthernet 2/0/1 and to the
technical department through GigabitEthernet 2/0/2. It connects to the server through
GigabitEthernet 2/0/3.
• Configure local port mirroring in source port mode to enable the server to monitor the bidirectional
traffic of the marketing department and the technical department.
Figure 46 Network diagram