HP Virtual Connect Manager Command Line Interface for c-Class BladeSystem Version 3.30 User Guide
Command line  68 
port-monitor 
Manage port monitor configuration. 
Supported actions: help, add, remove, set, show 
Item  Description 
add port monitor
Add a new network analyzer port and other ports to be monitored. 
Syntax 
add port-monitor [AnalyzerPort=<PortID>] 
[Speed=<Auto|10Mb|100Mb|1Gb|10Gb|Disabled>] 
 [Duplex=<Auto|Half|Full>] [MonitorPort=<PortID>] 
 [Direction=<ToServer|FromServer|Both>] 
Properties 
AnalyzerPort 
(optional) 
The uplink port that is used for monitoring network traffic. Only one port can be 
configured as the analyzer port. After a port is allocated to port monitoring, it is not 
available for use in 
VC networks and shared uplink sets. The format of the network 
analyzer port is <EnclosureID>:<InterconnectBay>:<PortNumber>. 
If the EnclosureID is not specified, the default enclosure is the local enclosure where 
the domain resides. 
Speed (optional) 
The port speed for the network analyzer port. Valid values include "Auto", 
"10Mb", "100Mb", "1Gb", "10Gb", and "Disabled". The default value is "Auto".
If there is no connector present on the analyzer port, only "Auto" and "Disabled" 
can be configured as the port speed. Speed restrictions apply. 
Duplex (optional) 
The duplex mode of the network analyzer port. Valid values include "Auto", "Half", 
and "Full". The default value is "Auto". 
MonitorPort 
(optional) 
The server port to be monitored. The format of the monitored port is 
<EnclosureID>:<DeviceBay>:<PortNumber>. If the enclosure ID is not 
specified, the default enclosure is the local enclosure. 
The ID for the monitor port can be referenced from the ID colum
n in the output of the 
show server-port
 command. 
Direction (optional)
The direction of network traffic on the port being monitored. Valid values include 
"ToServer", "FromServer", and "Both". 
Example 
->add port-monitor AnalyzerPort=enc0:1:4 Speed=1Gb 
Duplex=full MonitorPort=enc0:5:4 Direction=FromServer 
Adds a new network analyzer port and a server port to be monitored 
Item  Description 
remove port-monitor 
Remove ports from a port monitor configuration. Removing the network analyzer 
port automatically disables port monitoring. 
Syntax 
remove port-monitor AnalyzerPort=<PortID|*> 
MonitorPort=<PortID|*>
Properties 
AnalyzerPort 
The network analyzer port to be removed. Use "*" to remove all network analyzer 
ports from the configuration. 
MonitorPort 
The monitor port to be removed. Use "*" to remove all monitor ports from the port 
monitor configuration. 
Examples 
->remove port-monitor AnalyzerPort=enc0:3:1 










