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

Configuring the monitor port for the local mirroring group, Configuration restrictions and guidelines

Page 87 highlights

Step 1. Enter system view. 2. Enter interface view. Command system-view interface interface-type interface-number 3. Configure the current port as a source port. [ mirroring-group group-id ] mirroring-port { both | inbound | outbound } Remarks N/A N/A By default, a port does not serve as a source port for any local mirroring group. Configuring the monitor port for the local mirroring group You can configure the monitor port for a mirroring group in system view, or assign the current port to a mirroring group as the monitor port in interface view. The two methods lead to the same result. Configuration restrictions and guidelines • A mirroring group contains only one monitor port. • To make sure that the mirroring function works properly, do not assign the monitor port to a source VLAN, or enable the spanning tree feature on the monitor port. • HP recommends you use a monitor port for port mirroring only. This is to make sure that the data monitoring device receives and analyzes only the mirrored traffic rather than a mix of mirrored traffic and normally forwarded traffic. • You cannot configure the monitor port in a mirroring group as a port in a RRPP ring. Configuring the monitor port in system view Step 1. Enter system view. 2. Configure the monitor port. Command system-view mirroring-group group-id monitor-port monitor-port-id Configuring the monitor port in interface view Remarks N/A By default, no monitor port is configured for a local mirroring group. Step Command 1. Enter system view. system-view 2. Enter interface view. interface interface-type interface-number 3. Configure the current [ mirroring-group group-id ] port as the monitor port. monitor-port Remarks N/A N/A By default, a port does not serve as the monitor port for any local mirroring group. 80

  • 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

80
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure the current
port as a source port.
[
mirroring-group
group-id
]
mirroring-port
{
both
|
inbound
|
outbound
}
By default, a port does not serve as a
source port for any local mirroring
group.
Configuring the monitor port for the local mirroring group
You can configure the monitor port for a mirroring group in system view, or assign the current port to a
mirroring group as the monitor port in interface view. The two methods lead to the same result.
Configuration restrictions and guidelines
A mirroring group contains only one monitor port.
To make sure that the mirroring function works properly, do not assign the monitor port to a source
VLAN, or enable the spanning tree feature on the monitor port.
HP recommends you use a monitor port for port mirroring only. This is to make sure that the data
monitoring device receives and analyzes only the mirrored traffic rather than a mix of mirrored
traffic and normally forwarded traffic.
You cannot configure the monitor port in a mirroring group as a port in a RRPP ring.
Configuring the monitor port in system view
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the monitor
port.
mirroring-group
group-id
monitor-port
monitor-port-id
By default, no monitor port is
configured for a local mirroring group.
Configuring the monitor port in interface view
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure the current
port as the monitor port.
[
mirroring-group
group-id
]
monitor-port
By default, a port does not serve as the
monitor port for any local mirroring group.