HP-UX VLAN Administrator's Guide, February 2007

To delete VLAN interface lan5000, enter:
# nwmgr -d -c lan5000
For example:
# nwmgr -d -c lan5000
Successfully deleted the VLAN Interface lan5000.
To delete a VLAN interface with an IP address assigned, you must first delete the IP address.
You can do this by using the ifconfig command with the -unplumb option. See ifconfig(1M)
for more information. You can also use the HP SMH Network Interfaces Configuration tool to
delete IP attributes. See Chapter 2 (page 29) for more information.
Other Examples
The following examples illustrate other possible usages of the nwmgr command.
Example: Performing a Diagnose Connectivity Test (--diag)
The general syntax is:
nwmgr --diag -c lanVPPA -A dest=mac_addr
For example:
# nwmgr --diag -c lan5001 -A dest=0x00306E5E2D6D
link connectivity check succeeded on lan5001.
Example: Performing Critical Resource Analysis (--cra)
The general syntax is:
nwmgr --cra -c lanVPPA
For example:
# nwmgr --cra -c lan5001
No resource usages have been identified during the analysis.
Example: Using the Script Parseable Output option (--sc)
This example compares the default output format with the script parseable output format.
Example of default output format:
# nwmgr --get -c lan5000
VLAN Related VLAN Pri Pri ToS Tos Name
Interface Interface ID Override Override
Name Level Level
============= ========= ===== ==== ========== ==== ========== ================
lan5000 lan3 10 0 CONF_PRI 0 IP_HEADER test1
Example of script formatted output:
# nwmgr --get -c lan5000 --sc
lan5000#vppa#current#5000
lan5000#ppa#current#3
lan5000#vlanid#current#10
lan5000#name#current#test1
lan5000#pri#current#0
lan5000#pri_override#current#CONF_PRI
lan5000#tos#current#0
lan5000#tos_override#current#IP_HEADER
44 Using nwmgr to Configure and Administer HP-UX VLANs