HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 85

Layer 2-LAN Switch Command Reference, Layer 2 remote port mirroring implementation - switch commands

Page 85 highlights

Figure 32 Layer 2 remote port mirroring implementation On the network shown in Figure 32, The source device does the following: 1. Copies the packets received on the source port GigabitEthernet 1/0/1 to the egress port GigabitEthernet 1/0/2. 2. Forwards the packets to the intermediate device, which then broadcasts the packets in the remote probe VLAN. 3. Transmits the packets to the destination device via the intermediate device. Then, the destination device does the following: 4. Receives the mirrored packets. 5. Compares their VLAN IDs to the ID of the remote probe VLAN configured in the remote destination group. 6. If the VLAN IDs of these mirrored packets match the remote probe VLAN ID, the device forwards them to the data monitoring device through the monitor port GigabitEthernet 1/0/2. Allow remote probe VLAN to pass through the intermediate devices to make sure the source device and the destination device can communicate at Layer 2 in the remote probe VLAN. For a mirrored packet to successfully arrive at the remote destination device, make sure the VLAN ID of the mirrored packet is not removed or changed. Otherwise, the Layer 2 remote port mirroring configuration will fail. To monitor both the received and sent packets of a port in a mirroring group, you must use the mac-address mac-learning disable command on the source, intermediate, and destination devices to disable MAC address learning of the remote probe VLAN. For more information about the mac-address mac-learning disable command, see Layer 2-LAN Switch Command Reference. 78

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157

78
Figure 32
Layer 2 remote port mirroring implementation
On the network shown in
Figure 32
,
The source device does the following:
1.
Copies the packets received on the source port GigabitEthernet 1/0/1 to the egress port
GigabitEthernet 1/0/2.
2.
Forwards the packets to the intermediate device, which then broadcasts the packets in the remote
probe VLAN.
3.
Transmits the packets to the destination device via the intermediate device.
Then, the destination device does the following:
4.
Receives the mirrored packets.
5.
Compares their VLAN IDs to the ID of the remote probe VLAN configured in the remote destination
group.
6.
If the VLAN IDs of these mirrored packets match the remote probe VLAN ID, the device forwards
them to the data monitoring device through the monitor port GigabitEthernet 1/0/2.
Allow remote probe VLAN to pass through the intermediate devices to make sure the source device and
the destination device can communicate at Layer 2 in the remote probe VLAN.
For a mirrored packet to successfully arrive at the remote destination device, make sure the VLAN ID of
the mirrored packet is not removed or changed. Otherwise, the Layer 2 remote port mirroring
configuration will fail.
To monitor both the received and sent packets of a port in a mirroring group, you must use the
mac-address mac-learning disable
command on the source, intermediate, and destination devices to
disable MAC address learning of the remote probe VLAN. For more information about the
mac-address
mac-learning disable
command, see
Layer 2—LAN Switch Command Reference
.