HP Virtual Connect Manager Command Line Interface Version 2.10 User Guide
Command line  44 
port-monitor 
Add a new network analyzer port and other ports to be monitored. 
Supported actions: 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|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 has been 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 enclosure ID 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", and "Disabled". The default value is "Auto". 
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 column 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 causes port monitoring to be disabled automatically. 
Syntax 
remove port-monitor AnalyzerPort=<PortID|*> 
MonitorPort=<PortID|*> 
Properties   
AnalyzerPort 
The network analyzer port to be removed. "*" removes all the network analyzer 
ports from the configuration. 
MonitorPort 
The monitor port to be removed. "*" removes all the monitor ports from the port 
monitor configuration. 
Examples 










