238
[DeviceA] mirroring-group 1 mirroring-port gigabitethernet 1/0/1 both
# Configure GigabitEthernet 1/0/2 as the egress port for the mirroring group.
[DeviceA] mirroring-group 1 monitor-egress gigabitethernet 1/0/2
# Configure port GigabitEthernet 1/0/2 as a trunk port, and assign the port to VLAN 2.
[DeviceA] interface gigabitethernet 1/0/2
[DeviceA-GigabitEthernet1/0/2] port link-type trunk
[DeviceA-GigabitEthernet1/0/2] port trunk permit vlan 2
# Disable the spanning tree feature on the port.
[DeviceA-GigabitEthernet1/0/2] undo stp enable
[DeviceA-GigabitEthernet1/0/2] quit
Verifying the configuration
# Verify the mirroring group configuration on Device C.
[DeviceC] display mirroring-group all
Mirroring group 2:
Type: Remote destination
Status: Active
Monitor port: GigabitEthernet1/0/2
Remote probe VLAN: 2
# Verify the mirroring group configuration on Device A.
[DeviceA] display mirroring-group all
Mirroring group 1:
Type: Remote source
Status: Active
Mirroring port:
GigabitEthernet1/0/1 Both
Monitor egress port: GigabitEthernet1/0/2
Remote probe VLAN: 2
Layer 3 remote port mirroring configuration example
Network requirements
On a Layer 3 network shown in
, configure Layer 3 remote port mirroring to enable the
server to monitor the bidirectional traffic of the Marketing department.
Figure 68 Network diagram
GE1/0/2
40.1.1.1/24
Source device
Device A
GE1/0/1
10.1.1.1/24
Server
Marketing Dept.
Destination device
Device C
Tunnel0
50.1.1.1/24
Tunnel0
50.1.1.2/24
GE1/0/2
20.1.1.1/24
GE1/0/2
30.1.1.1/24
GE1/0/1
20.1.1.2/24
GE1/0/1
30.1.1.2/24
GRE tunnel
Intermediate device
Device B
Source port
Monitor port
Common port
Summary of Contents for FlexNetwork 10500 SERIES
Page 224: ...213 ...
Page 311: ...300 Now the system can record log information to the specified file ...