3com S7906E Manuel De Montage

Page de 2621
 
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 
, the customer network is as described below:  
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). 
Host A, Host B, and Server are connected to UNI 1, UNI 2, and UNI 3 of the ONU respectively. 
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.