1-19
Layer 3 Remote Port Mirroring Configuration Example
Network requirements
On the network shown in
Figure 1-6
:
z
Device A connects to the marketing department through GigabitEthernet 2/0/1, and to
GigabitEthernet 2/0/1 of Device B through GigabitEthernet 2/0/2; Device C connects to the server
through GigabitEthernet 2/0/2, and to GigabitEthernet 2/0/2 of Device B through GigabitEthernet
2/0/1.
z
Configure Layer 3 remote port mirroring to enable the server to monitor the bidirectional traffic of
the marketing department through a GRE tunnel.
Figure 1-6
Network diagram for Layer 3 remote port mirroring configuration
Configuration procedure
1) Configure IP addresses for the tunnel interfaces and related ports on the devices.
Configure IP addresses and subnet masks for related ports and the tunnel interfaces according to the
configurations shown in
Figure 1-6
.
2) Configure
Device
A (the source device)
# Create tunnel interface Tunnel 0, and configure an IP address and subnet mask for it.
<DeviceA> system-view
[DeviceA] interface tunnel 0
[DeviceA-Tunnel0] ip address 50.1.1.1 24
# Configure Tunnel 0 to operate in GRE mode, and configure source and destination IP addresses for
it.
[DeviceA-Tunnel0] tunnel-protocol gre
[DeviceA-Tunnel0] source 20.1.1.1
[DeviceA-Tunnel0] destination 30.1.1.2
[DeviceA-Tunnel0] quit
# Create and configure service loopback group 1 and specify its service type as tunnel.
[DeviceA] service-loopback group 1 type tunnel
# Assign a port (GigabitEthernet 2/0/3 for example) of the device to service loopback group 1.
[DeviceA] interface GigabitEthernet 2/0/3
[DeviceA-GigabitEthernet2/0/3] undo stp enable
Содержание S7906E - Switch
Страница 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Страница 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Страница 494: ...ii Displaying and Maintaining Tunneling Configuration 1 45 Troubleshooting Tunneling Configuration 1 45...
Страница 598: ...ii...
Страница 1757: ...4 9...
Страница 1770: ...6 4...
Страница 2017: ...2 11 Figure 2 3 SFTP client interface...
Страница 2062: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2...
Страница 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...
Страница 2442: ...2 4 Set the interval for sending Syslog or trap messages to 20 seconds Device mac address information interval 20...