EasyManua.ls Logo

H3C S3100V2-52TP - Page 115

H3C S3100V2-52TP
224 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
103
[DeviceA] mirroring-group 1 mirroring-port Ethernet 1/0/1 both
[DeviceA] mirroring-group 1 monitor-egress Ethernet 1/0/2
# Configure output port Ethernet 1/0/2 as a trunk port to permit the packets of VLAN 2 to pass through,
and disable the spanning tree feature on the port.
[DeviceA] interface Ethernet 1/0/2
[DeviceA-Ethernet1/0/2] port link-type trunk
[DeviceA-Ethernet1/0/2] port trunk permit vlan 2
[DeviceA-Ethernet1/0/2] undo stp enable
[DeviceA-Ethernet1/0/2] quit
2. Configure Device B (the intermediate device)
# Create VLAN 2 as the remote probe VLAN.
<DeviceB> system-view
[DeviceB] vlan 2
# Disable MAC address learning for the remote probe VLAN.
[DeviceB-vlan2] mac-address mac-learning disable
[DeviceB-vlan2] quit
# Configure Ethernet 1/0/1 as a trunk port that permits the packets of VLAN 2 to pass through.
[DeviceB] interface Ethernet 1/0/1
[DeviceB-Ethernet1/0/1] port link-type trunk
[DeviceB-Ethernet1/0/1] port trunk permit vlan 2
[DeviceB-Ethernet1/0/1] quit
# Configure Ethernet 1/0/2 as a trunk port that permits the packets of VLAN 2 to pass through.
[DeviceB-Ethernet1/0/1] quit
[DeviceB] interface Ethernet 1/0/2
[DeviceB-Ethernet1/0/2] port link-type trunk
[DeviceB-Ethernet1/0/2] port trunk permit vlan 2
[DeviceB-Ethernet1/0/2] quit
3. Configure Device C (the destination device)
# Configure Ethernet 1/0/1 as a trunk port that permits the packets of VLAN 2 to pass through.
<DeviceC> system-view
[DeviceC] interface Ethernet 1/0/1
[DeviceC-Ethernet1/0/1] port link-type trunk
[DeviceC-Ethernet1/0/1] port trunk permit vlan 2
[DeviceC-Ethernet1/0/1] quit
# Create a remote destination group.
[DeviceC] mirroring-group 1 remote-destination
# Create VLAN 2 as the remote probe VLAN.
[DeviceC] vlan 2
# Disable MAC address learning for the remote probe VLAN.
[DeviceA-vlan2] mac-address mac-learning disable
[DeviceA-vlan2] quit
# Configure VLAN 2 as the remote probe VLAN of the mirroring group and Ethernet 1/0/2 as the
monitor port of the mirroring group, disable the spanning tree feature on Ethernet 1/0/2, and assign the
port to VLAN 2.

Table of Contents

Other manuals for H3C S3100V2-52TP

Related product manuals