HP GbE2c HP GbE2c Ethernet Blade Switch for c-Class BladeSystem ISCLI Referenc - Page 138

Port mirroring, Port-based port mirroring

Page 138 highlights

Table 167 RMON Alarm commands Command no rmon alarm show rmon alarm Description Deletes this alarm index. Displays the current RMON Alarm parameters. Command mode: All Port mirroring Port Mirroring is used to configure, enable, and disable the monitored port. When enabled, network packets being sent and/or received on a target port are duplicated and sent to a monitor port. By attaching a network analyzer to the monitor port, you can collect detailed information about your network performance and usage. Port mirroring is disabled by default. NOTE: See the "Troubleshooting tools" appendix in the HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Application Guide for information on how to use port mirroring. The following table describes the Port Mirroring Configuration commands. Table 168 Port Mirroring Configuration commands Command Description [no] port-mirroring enable Enables or disables port mirroring. Command mode: Global configuration show port-mirroring Displays current settings of the mirrored and monitoring ports. Command mode: All except User EXEC Port-based port mirroring The following table describes the port-based Port Mirroring Configuration commands. Table 169 Port Mirroring Configuration commands Command port-mirroring monitor-port mirroring-port {in|out|both} no port-mirroring monitor-port mirroring-port no port-mirroring monitor-port show port-mirroring Description Adds the port to be mirrored. This command also allows you to enter the direction of the traffic. It is necessary to specify the direction because: • If the source port of the frame matches the mirrored port and the mirrored direction is ingress or both (ingress and egress), the frame is sent to the mirrored port. • If the destination port of the frame matches the mirrored port and the mirrored direction is egress or both, the frame is sent to the monitoring port. Command mode: Global configuration Removes the mirrored port. Command mode: Global configuration Deletes this monitor port. Command mode: Global configuration Displays the current settings of the monitoring port. Command mode: All except User EXEC Configuration Commands 138

  • 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

Configuration Commands 138
Table 167
RMON Alarm commands
Command
Description
no rmon alarm
<1-65535>
Deletes this alarm index.
show rmon alarm
Displays the current RMON Alarm parameters.
Command mode:
All
Port mirroring
Port Mirroring is used to configure, enable, and disable the monitored port. When enabled, network packets being
sent and/or received on a target port are duplicated and sent to a monitor port. By attaching a network analyzer to
the monitor port, you can collect detailed information about your network performance and usage. Port mirroring is
disabled by default.
NOTE:
See the “Troubleshooting tools” appendix in the
HP GbE2c Ethernet Blade Switch for c-Class
BladeSystem Application Guide
for information on how to use port mirroring.
The following table describes the Port Mirroring Configuration commands.
Table 168
Port Mirroring Configuration commands
Command
Description
[no] port-mirroring enable
Enables or disables port mirroring.
Command mode:
Global configuration
show port-mirroring
Displays current settings of the mirrored and monitoring ports.
Command mode:
All except User EXEC
Port-based port mirroring
The following table describes the port-based Port Mirroring Configuration commands.
Table 169
Port Mirroring Configuration commands
Command
Description
port-mirroring monitor-port
<port
number>
mirroring-port
<port number>
{in|out|both}
Adds the port to be mirrored. This command also allows you
to enter the direction of the traffic. It is necessary to specify
the direction because:
If the source port of the frame matches the mirrored port
and the mirrored direction is ingress or both (ingress and
egress), the frame is sent to the mirrored port.
If the destination port of the frame matches the mirrored
port and the mirrored direction is egress or both, the
frame is sent to the monitoring port.
Command mode:
Global configuration
no port-mirroring monitor-port
<port
number>
mirroring-port
<port number>
Removes the mirrored port.
Command mode:
Global configuration
no port-mirroring monitor-port
<port
number>
Deletes this monitor port.
Command mode:
Global configuration
show port-mirroring
Displays the current settings of the monitoring port.
Command mode:
All except User EXEC