
1-9
As shown in
, the administrator wants to monitor the packets sent from Department 1 and 2
through the data monitoring device.
Use the remote port mirroring function to meet the requirement. Perform the following configurations:
z
Use Switch A as the source device, Switch B as the intermediate device, and Switch C as the
destination device.
z
On Switch A, create a remote source mirroring group; create VLAN 2 and configure it as the remote
port mirroring VLAN; add port GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to the port mirroring
group as two source ports. Configure port GigabitEthernet 1/0/3 as the outbound mirroring port.
z
Configure port GigabitEthernet 1/0/3 of Switch A, port GigabitEthernet 1/0/1 and GigabitEthernet
1/0/2 of Switch B, and port GigabitEthernet 1/0/1 of Switch C as trunk ports and configure them to
permit packets of VLAN 2.
z
Create a remote destination mirroring group on Switch C. Configure VLAN 2 as the remote port
mirroring VLAN and port GigabitEthernet 1/0/2, to which the data monitoring device is connected,
as the destination port.
Figure 1-4
Network diagram for remote port mirroring configuration
Configuration procedure
1) Configure
Switch
A (the source device).
# Create a remote source port mirroring group.
<SwitchA> system-view
[SwitchA] mirroring-group 1 remote-source
# Create VLAN 2.
[SwitchA] vlan 2
[SwitchA-vlan2] quit
# Configure VLAN 2 as the remote port mirroring VLAN of the remote port mirroring group. Add port
GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to the remote port mirroring group as source ports.
Configure port GigabitEthernet 1/0/3 as the outbound mirroring port.
[SwitchA] mirroring-group 1 remote-probe vlan 2
[SwitchA] mirroring-group 1 mirroring-port GigabitEthernet 1/0/1 GigabitEthernet 1/0/2
inbound
[SwitchA] mirroring-group 1 monitor-egress GigabitEthernet 1/0/3
# Configure port GigabitEthernet 1/0/3 as a trunk port and configure the port to permit the packets of
VLAN 2.
[SwitchA] interface GigabitEthernet 1/0/3
Содержание S5120-EI Series
Страница 139: ...ii...
Страница 268: ...3 3 SwitchB system view SwitchB interface vlan interface 1 SwitchB Vlan interface1 ip address dhcp alloc...
Страница 328: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1...
Страница 578: ...1 21 C...
Страница 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Страница 926: ...2 8...
Страница 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Страница 985: ...1 1...
Страница 1018: ...1 6...