HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
n
nwmgr_vlan(1M) nwmgr_vlan(1M)
Delete lan5000:
nwmgr -d -c lan5000
Delete lan5000 from persistent store:
nwmgr -d -S vlan -c lan5000 --sa
Delete all VLAN interfaces from the persistent store:
nwmgr -d -S vlan --sa
Delete lan5000 with output in scriptable format:
nwmgr -d -c lan5000 --sc
Reset lan5000:
nwmgr -r -c lan5000
Reset lan5000 with output in scriptable format:
nwmgr -r -c lan5000 --sc
Reset/Clear statistics of lan5000:
nwmgr -r -c lan5000 --st
Reset/Clear statistics of lan5000 with output in scriptable format:
nwmgr -r -c lan5000 --st --sc
Perform Critical Resource Analysis (CRA) of lan5000:
nwmgr --cra -c lan5000
Perform Critical Resource Analysis (CRA) of lan5000 with output in scriptable format:
nwmgr --cra -c lan5000 --sc
Check connectivity between lan5000 and MAC address 0xaabbccddeeff
:
nwmgr --diag -c lan5000 -A dest=0xaabbccddeeff
COMPARISON WITH LANADMIN/LINKLOOP
The following table lists nwmgr commands and their equivalent lanadmin/linkloop commands.
nwmgr equivalent lanadadmin/linkloop
nwmgr -S vlan lanadmin -V scan
nwmgr -c lan5000 lanadmin -V info 5000
nwmgr -a -S vlan -A vlanid=10,ppa=1 lanadmin -V create vlanid 10 1
nwmgr -d -c lan5000 lanadmin -V delete 5000
nwmgr -s -c lan5000 -A vlanid=20 lanadmin -V modify vlanid 20 5000
nwmgr --cra -c lan5000 lanadmin -p 5000
nwmgr --diag -c lan5000 linkloop -i 5000 0xaabbccddeeff
-A dest=0xaabbccddeeff
AUTHOR
nwmgr was developed by HP.
FILES
/etc/rc.config.d/vlanconf
Contains the saved (persistent) configuration for vlan interfaces.
/sbin/rc2.d/S337vlan
Startup script for the vlan driver, which applies the configuration file to the running system. It is exe-
cuted automatically after each reboot, and can also be executed by the user by providing the argument
start.
SEE ALSO
nwmgr(1M), dlpi(7), vlan(7).
HP-UX VLAN Administrator’s Guide
HP-UX 11i Version 3: February 2007 − 8 − Hewlett-Packard Company 113