Using lanadmin -V to Administer VLANs

Using the lanadmin -V Command for Administering VLANs

Using the lanadmin -V Command for

Administering VLANs

To configure VLANs, you use either the GUI-based system admin manager (SAM) or edit the configuration file with an editor. VLAN configuration doesn’t require a reboot to take effect. If you use SAM, your configurations will be preserved after reboots in a configuration file called /etc/rc.config.d/vlanconf.

If you use the lanadmin command line interface, your configuration will not be preserved after reboots unless you also save the configuration in the vlanconf file by either using SAM or editing it. See “Modifying Parameters in vlanconf File” in this document for the format of the /etc/rc.config.d/vlanconf file.

lanadmin Syntax

If you use the lanadmin command line interface to work with VLANs, you can display the general usage string by typing:

lanadmin -V help

General usage string:

lanadmin -V create vlanid <vlanid> (range 0-4094) [pri <priority> (range 0 - 7, default 0)] [tos <ToS value> (range 0-255, default 0)] [vppa <vppa>]

[name <name> (31 characters alphanumeric string)]

[tos_override <level>(IP_HEADER, ETHER_HEADER, CONF_TOS or CONF_PRI,

default IP_HEADER)] [pri_override <level>(CONF_PRI,IP_HEADER

or CONF_TOS, default CONF_PRI)] <ppa> -V delete <vppa>

-V modify [vlanid <vlanid> (range 0-4094)] [pri <priority> (range 0 - 7)]

[tos <ToS value> (range 0-255)]

[name <name> (31 characters alpha numeric string]

[tos_override <level>(IP_HEADER, ETHER_HEADER,

48

Chapter 5

Page 48
Image 48
HP T1453-90001 manual Using the lanadmin -V Command for Administering VLANs, Lanadmin Syntax