
106
[DeviceC] interface tunnel 0
[DeviceC-Tunnel0] service-loopback-group 1
[DeviceC-Tunnel0] quit
# Configure two static routes.
[DeviceC] ip route-static 10.1.1.0 255.255.255.0 30.1.1.1
[DeviceC] ip route-static 20.1.1.0 255.255.255.0 30.1.1.1
# Create local mirroring group 1.
[DeviceC] mirroring-group 1 local
# Configure Ethernet 1/0/1 as a source port and Ethernet 1/0/2 as the monitor port of local mirroring
group 1.
[DeviceC] mirroring-group 1 mirroring-port Ethernet 1/0/1 inbound
[DeviceC] mirroring-group 1 monitor-port Ethernet 1/0/2
# Disable the spanning tree feature on the monitor port Ethernet 1/0/2.
[DeviceC] interface Ethernet 1/0/2
[DeviceC-Ethernet1/0/2] undo stp enable
[DeviceC-Ethernet1/0/2] quit
5.
Verify the configurations
After the configurations are completed, you can monitor all the packets received and sent by the
marketing department on the server.