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

Configuring source ports for the remote source group

Page 89 highlights

Configuring source ports for the remote source group If you use system view, you can use a list to configure multiple source ports for a mirroring group at one time. If you use interface view, you can assign only the current port to the group as a source port, so you must repeat the step for each additional port. 1. Configuration restrictions and guidelines: { A mirroring group can contain multiple source ports. { To make sure that the mirroring function works properly, do not assign a source port to the remote probe VLAN. { A port can serve as a source port in multiple mirroring groups. 2. Configuration procedure: To configure source ports for the remote source group in system view: Step 1. Enter system view. 2. Configure source ports for the remote source group. Command system-view mirroring-group group-id mirroring-port mirroring-port-list { both | inbound | outbound } Remarks N/A By default, no source port is configured for a remote source group. To configure a source port for the remote source group in interface view: Step 1. Enter system view. 2. Enter interface view. 3. Configure the current port as a source port. Command Remarks system-view N/A interface interface-type interface-number N/A [ mirroring-group group-id ] mirroring-port { both | inbound | outbound } By default, a port does not serve as a source port for any remote source group. Configuring the egress port for the remote source group You can configure the egress port for a mirroring group in system view, or assign the current port to it as the egress port in interface view. The two configuration modes lead to the same result. To make sure that the mirroring function works properly, disable these functions on the egress port: the spanning tree feature, 802.1X, IGMP snooping, static ARP, and MAC address learning. To configure the egress port for the remote source group in system view: Step 1. Enter system view. 2. Configure the egress port for the remote source group. Command system-view mirroring-group group-id monitor-egress monitor-egress-port Remarks N/A By default, no egress port is configured for a remote source group. To configure the egress port for the remote source group in interface view: 82

  • 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

82
Configuring source ports for the remote source group
If you use system view, you can use a list to configure multiple source ports for a mirroring group at one
time. If you use interface view, you can assign only the current port to the group as a source port, so you
must repeat the step for each additional port.
1.
Configuration restrictions and guidelines:
{
A mirroring group can contain multiple source ports.
{
To make sure that the mirroring function works properly, do not assign a source port to the
remote probe VLAN.
{
A port can serve as a source port in multiple mirroring groups.
2.
Configuration procedure:
To configure source ports for the remote source group in system view:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure source ports
for the remote source
group.
mirroring-group
group-id
mirroring-port
mirroring-port-list
{
both
|
inbound
|
outbound
}
By default, no source port is configured
for a remote source group.
To configure a source port for the remote source group 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 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 remote source group.
Configuring the egress port for the remote source group
You can configure the egress port for a mirroring group in system view, or assign the current port to it as
the egress port in interface view. The two configuration modes lead to the same result.
To make sure that the mirroring function works properly, disable these functions on the egress port: the
spanning tree feature, 802.1X, IGMP snooping, static ARP, and MAC address learning.
To configure the egress port for the remote source group in system view:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the egress port for
the remote source group.
mirroring-group
group-id
monitor-egress
monitor-egress-port
By default, no egress port is configured
for a remote source group.
To configure the egress port for the remote source group in interface view: