1-21
[DeviceC] interface GigabitEthernet 2/0/3
[DeviceC-GigabitEthernet2/0/3] undo stp enable
[DeviceC-GigabitEthernet2/0/3] port service-loopback group 1
# In tunnel interface view, configure the tunnel to reference service loopback group 1.
[DeviceC-GigabitEthernet2/0/3] quit
[DeviceC] interface tunnel 0
[DeviceC-Tunnel0] service-loopback-group 1
[DeviceC-Tunnel0] quit
# Enable the OSPF protocol.
[DeviceC] ospf 1
[DeviceC-ospf-1] area 0
[DeviceC-ospf-1-area-0.0.0.0] network 30.1.1.0 0.0.0.255
[DeviceC-ospf-1-area-0.0.0.0] network 40.1.1.0 0.0.0.255
[DeviceC-ospf-1-area-0.0.0.0] network 50.1.1.0 0.0.0.255
[DeviceC-ospf-1-area-0.0.0.0] quit
[DeviceC-ospf-1] quit
# Create local mirroring group 1.
[DeviceC] mirroring-group 1 local
# Configure GigabitEthernet 2/0/1 as a mirroring port and GigabitEthernet 2/0/2 as the monitor port of
local mirroring group 1.
[DeviceC] mirroring-group 1 mirroring-port gigabitethernet 2/0/1 inbound
[DeviceC] mirroring-group 1 monitor-port gigabitethernet 2/0/2
5) Verify the configurations
After the above configurations are completed, you can monitor all the packets received and sent by the
marketing department on the server.
Local Port Mirroring Configuration Example for ONUs
Network requirements
As shown in
Figure 1-7
, the customer network is as described below:
z
OLT 3/0/1 of Device A (an S7900E switch) is connected to ONU 3/0/1:1 of an ONU. The ONU is
connected to hosts and a server (a data monitoring device).
z
Host A, Host B, and Server are connected to UNI 1, UNI 2, and UNI 3 of the ONU respectively.
z
On Device, remotely configure local port mirroring for the ONU to mirror the traffic received on UNI
1 to UNI 3, so that Server can collect all traffic sent by Host A.
Summary of Contents for S7906E - Switch
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Page 598: ...ii...
Page 1757: ...4 9...
Page 1770: ...6 4...
Page 2017: ...2 11 Figure 2 3 SFTP client interface...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...