HP 6125XLG R2306-HP 6125XLG Blade Switch Network Management and Monitoring Con - Page 112

Configuring local port mirroring, Local port mirroring configuration task list

Page 112 highlights

Figure 34 Layer 2 remote port mirroring implementation Mirroring process in the device XGE1/1/5 XGE1/1/6 Source device XGE1/1/6 XGE1/1/5 XGE1/1/6 XGE1/1/5 XGE1/1/5 Remote probe VLAN Intermediate device Remote XGE1/1/6 probe VLAN Destination device Host Original packets Mirrored packets Source port Monitor port Data monitoring device Egress port Common port The source device copies packets received on the source port to the egress port. The egress port forwards the packets to the intermediate devices, which then broadcast the packets in the remote probe VLAN and transmit the packets to the destination device. Upon receiving the mirrored packets, the destination device checks whether their VLAN IDs are the same as the remote probe VLAN ID. If yes, the device forwards them to the data monitoring device through the monitor port. To make sure the source device and the destination device can communicate at Layer 2 through the remote probe VLAN, assign the intermediate devices' ports in the direction to the source and destination devices to the remote probe VLAN. Configuring local port mirroring Local port mirroring takes effect only when the source ports, and the monitor port are configured. Local port mirroring configuration task list Tasks at a glance 1. (Required.) Creating a local mirroring group 2. (Required.)Configuring source ports for the local mirroring group 3. (Required.) Configuring the monitor port for the local mirroring group Creating a local mirroring group Step 1. Enter system view. 2. Create a local mirroring group. Command system-view mirroring-group group-id local 106 Remarks N/A By default, no local mirroring group exists.

  • 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

106
Figure 34
Layer 2 remote port mirroring implementation
The source device copies packets received on the source port to the egress port. The egress port forwards
the packets to the intermediate devices, which then broadcast the packets in the remote probe VLAN and
transmit the packets to the destination device. Upon receiving the mirrored packets, the destination
device checks whether their VLAN IDs are the same as the remote probe VLAN ID. If yes, the device
forwards them to the data monitoring device through the monitor port.
To make sure the source device and the destination device can communicate at Layer 2 through the
remote probe VLAN, assign the intermediate devices' ports in the direction to the source and destination
devices to the remote probe VLAN.
Configuring local port mirroring
Local port mirroring takes effect only when the source ports, and the monitor port are configured.
Local port mirroring configuration task list
Tasks at a glance
1.
(Required.)
Creating a local mirroring group
2.
(Required.)
Configuring source ports for the local mirroring group
3.
(Required.)
Configuring the monitor port for the local mirroring group
Creating a local mirroring group
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a local mirroring
group.
mirroring-group
group-id
local
By default, no local mirroring
group exists.
Source
device
Intermediate
device
Destination
device
XGE1/1/5
Data monitoring
device
Host
Remote
probe VLAN
XGE1/1/6
XGE1/1/5
XGE1/1/6
XGE1/1/5
XGE1/1/6
XGE1/1/5
Mirroring process in the device
XGE1/1/6
Source port
Monitor port
Original packets
Common port
Mirrored packets
Egress port
Remote
probe VLAN