HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)

n
nwmgr_vlan(1M) nwmgr_vlan(1M)
Operations
The nwmgr command provides the following operations for the VLAN interface.
-a | --add Add/create VLAN interface.
--cra Perform Critical Resource Analysis on the VLAN interface.
-d | --delete Delete the VLAN interface.
--diag | --diagnose Diagnose/test link connectivity.
-g | --get Get/display VLAN interface settings. This is the default operation when
none is specified.
-h | --help Display help information.
-r | --reset Reset VLAN interface or the statistics on the VLAN interface.
-s | --set Set the attributes of the VLAN interface.
Options
Beside operations, these options are valid for the VLAN interface:
-A | --attribute Specifies attributes for an operation. For VLAN, this can be used with the
add, set, get, and diagnose operations.
See Attributes section below for valid attributes of VLAN interfaces.
-c | --class_instance
Specifies the target interface on which the operation is to be performed.
For VLAN, the target interface is of the form:
lanVPPA
where VPPA is the VLAN physical point of attachment.
-S | --subsystem Specifies the target subsystem for the operation. For the VLAN subsystem,
the option argument is always vlan.
--fr | --from Specifies the configuration from which the operation will save data. For the
VLAN subsystem, current is the only allowed argument for this option.
--it | --iteration Specifies the number of frames to be sent for diagnostics, used with the
diagnose operation.
--sa | --saved Specifies that the operation must be performed on the saved configuration
(persistent store).
--sc | --script Displays the output in script parseable format.
--st | --stats Specifies that the operation applies to the statistics of the target.
-v | --verbose Specifies verbose output to display more detail.
Attributes
The following attributes can be used with the -A (--attribute ) option for VLAN interfaces. Refer to
the USAGE section below to see which attributes are valid for specific operations.
dest=mac_addr Ethernet MAC address of the remote interface. Used with the diagnose
operation.
mac Ethernet MAC Address. Only valid for the get operation.
mtu Displays the maximum Ethernet payload size (MTU), in bytes. Only valid for
the get operation.
name=name An optional name for the interface. The default value of name is the null string
(""). However, nwmgr displays this as UNNAMED.
pktsize=bytes Specifies the package size in bytes of each test frame. The default is 100. Only
valid for the diagnose operation.
ppa=PPA Specifies the physical point of attachment (PPA) of the interface where the
VLAN interface will be added. Only valid for the add operation.
pri=priority Specifies the 802.1p priority in the VLAN tag of the frame header. Switches use
the 802.1p priority.
HP-UX 11i Version 3: February 2007 2 Hewlett-Packard Company 107