248
C
28: C
HAPTER
ONFIGURATION FOR
Displaying and
Debugging Mirroring
M
F
IRRORING
EATURES
[4200G] interface gigabitethernet1/0/1
[4200G-GigabitEthernet1/0/1] port trunk permit vlan 10
[4200G-GigabitEthernet1/0/1] quit
[4200G] interface gigabitethernet1/0/2
[4200G-GigabitEthernet1/0/2] port trunk permit vlan 10
3 Configure Switch A.
<S4200G> system-view
[4200G] vlan 10
[4200G-vlan10] remote-probe vlan enable
[4200G-vlan10] quit
[4200G] interface gigabitethernet1/0/1
[4200G-GigabitEthernet1/0/1] port trunk permit vlan 10
[4200G-GigabitEthernet1/0/1] quit
[4200G] mirroring-group 1 remote-destination
[4200G] mirroring-group 1 monitor-port gigabitethernet1/0/2
[4200G] mirroring-group 1 remote-probe vlan 10
[4200G] display mirroring-group remote-destination
mirroring-group 1:
monitor port: GigabitEthernet1/0/2
After the above-mentioned configuration, you can use the display command in any
view to view the mirroring running information, so as to verify configuration result.
Table 218 Display and debug mirroring
Operation
Display parameter settings of a
mirroring group
Display parameter settings of traffic
mirroring
type: remote-destination
remote-probe vlan: 10
Command
display mirroring-group { group-id | all | local |
remote-destination | remote-source }
display qos-interface { interface-type interface-num |
unit-id } mirrored-to
status: active