Dil ID: 8
Dil Adı: italy
Dil Kodu: it5tayfun Prodotti del Marchio H3c-technologies
Dünyanın En Büyük
Elektronik Bilgi Kütüphanesi



92
[DeviceA] mirroring-group 1 mirroring-port gigabitethernet 1/0/1 gigabitethernet 1/0/2
both
[DeviceA] mirroring-group 1 monitor-port gigabitethernet 1/0/3
# Disable the spanning tree feature on the monitor port GigabitEthernet 1/0/3.
[DeviceA] interface gigabitethernet 1/0/3
[DeviceA-GigabitEthernet1/0/3] undo stp enable
[DeviceA-GigabitEthernet1/0/3] quit
Verifying the configuration
# Display the configuration of all mirroring groups.
[DeviceA] display mirroring-group all
mirroring-group 1:
type: local
status: active
mirroring port:
GigabitEthernet1/0/1 both
GigabitEthernet1/0/2 both
mirroring CPU:
monitor port: GigabitEthernet1/0/3
After the configurations are completed, you can monitor all packets received and sent by the marketing
department and the technical department on the server.
Local port mirroring with multiple monitor ports configuration
example
Network requirements
As shown in Figure 34, Dept. A, Dept. B, and Dept. C are connected to Device A through ports
GigabitEthernet 1/0/1, GigabitEthernet 1/0/2, and GigabitEthernet 1/0/3, respectively. Configure
port mirroring to enable all three data monitoring devices (Server A, Server B, and Server C), to monitor
both the incoming and outgoing traffic of the three departments.
Figure 34 Network diagram