nwmgr_vlan.1m (2010 09)
n
nwmgr_vlan(1M) nwmgr_vlan(1M)
nwmgr [--get] --attribute { all
| attr1 , attr2 ,...} --class_instance lan
VPPA
[
--script]
This command gets the value of individual attributes. When
all is provided as the argument to the
-A (--attribute) option, more details about the interface are displayed in addition to the VLAN
attributes. The additional attributes displayed are discussed under the section, View All Attributes
of VLAN Interfaces .
The following attributes are valid for this command:
mac, mtu, name, ppa, pri, pri_override,
speed, tos, tos_override, vlanid.
View VLAN Interface Statistics
nwmgr [-g] --st -c lanVPPA [
--sc]
nwmgr [--get] --stats --class_instance lan
VPPA [
--script]
This command displays the MIB statistics of the interface. For the VLAN subsystem, 64 bit mib
statistics are always displayed regardless of the related interface.
Reset a VLAN Interface
nwmgr -r -c lanVPPA [
--sc]
nwmgr --reset --class_instance lan
VPPA [
--script]
This command clears all previous state, including the interface statistics. Promiscuous mode and
multicast addresses are preserved across the reset. While the reset is in progress, data traffic
through the interface is interrupted.
Reset Statistics on a VLAN Interface
nwmgr -r --st -c lanVPPA [--sc]
nwmgr --reset --stats --class_instance lan
VPPA [--script]
This command resets the statistics for an VLAN interface. With this command, the data traffic
statistics for an interface are cleared to zero. This includes the byte count and packet count for
inbound and outbound traffic. Other aspects of the interface are left unchanged.
Perform Critical Resource Analysis on the VLAN Interface
nwmgr --cra -c lanVPPA [--sc]
nwmgr --cra --class_instance lan
VPPA [--script]
This command performs Critical Resource Analysis (CRA) on the VLAN interface and displays the
impact of performing a destructive action on the target. HP recommends performing CRA to check
usage before performing destructive actions such as deleting a VLAN interface.
Diagnose Link Connectivity
nwmgr --diag [link] -A dest=mac [--it number][-A pktsize=bytes]
[
-A timeout=seconds] -c lanVPPA [--sc]
nwmgr --diagnose [link] --attribute dest=mac [--iteration number]
[--attribute pktsize=bytes][--attribute timeout=seconds]
--class_instance lanVPPA [--script]
This command diagnoses link connectivity at the data link layer by sending IEEE XID test frames to
the specified destination MAC address and counting the replies.
The
--iteration option specifies the number of test frames to be sent; the default is 1.
The
pktsize attribute specifies the size in bytes of each test frame; the default is MTU-3.
The
timeout attribute specifies how many seconds to wait for the acknowledgement of each test
frame; the default is 5 seconds.
RETURN VALUES
0 Success.
<>0 Failure. The command returns values described in ERRORS below.
ERRORS
[EACCES] Attempt to set a read-only attribute.
[EBUSY] Interface is presently inaccessible.
6 Hewlett-Packard Company − 6 − HP-UX 11i Version 3: September 2010