HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 94
Layer 2 remote port mirroring configuration example, Network requirements, Configuration procedure
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 94 highlights
Layer 2 remote port mirroring configuration example Network requirements On the Layer 2 network shown in Figure 34: • Device A connects to the marketing department through GigabitEthernet 1/0/1 and connects to the trunk port GigabitEthernet 1/0/1 of Device B through the trunk port GigabitEthernet 1/0/2. Device C connects to the server through GigabitEthernet 1/0/2 and connects to the trunk port GigabitEthernet 1/0/2 of Device B through the trunk port GigabitEthernet 1/0/1. • Configure Layer 2 remote port mirroring to enable the server to monitor the bidirectional traffic of the marketing department. Figure 34 Network diagram Configuration procedure 1. Configure Device A (the source device): # Create a remote source group. system-view [DeviceA] mirroring-group 1 remote-source # Create VLAN 2 as the remote probe VLAN. [DeviceA] 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. Configure GigabitEthernet 1/0/1 as a source port and GigabitEthernet 1/0/2 as the egress port in the mirroring group. [DeviceA] mirroring-group 1 remote-probe vlan 2 [DeviceA] mirroring-group 1 mirroring-port GigabitEthernet 1/0/1 both [DeviceA] mirroring-group 1 monitor-egress GigabitEthernet 1/0/2 # Configure output port GigabitEthernet 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 GigabitEthernet 1/0/2 [DeviceA-GigabitEthernet1/0/2] port link-type trunk [DeviceA-GigabitEthernet1/0/2] port trunk permit vlan 2 [DeviceA-GigabitEthernet1/0/2] undo stp enable 87