HP (Hewlett-Packard) T1453-90001 Network Hardware User Manual


 
Using lanadmin -V to Administer VLANs
Using the lanadmin -V Command for Administering VLANs
Chapter 5 51
Querying for a Single VPPA on a System You can query the Virtual
PPA using the following command:
lanadmin -V info <vppa>
The info command will return the output in the following format when
successful.
Example: lanadmin -V info 5000
VLAN Physical VLAN Pri Pri ToS ToS NAME
Interface Interface ID Override Override
Name Level Level
lan5000 lan0 5 2 CONF_PRI 25 IP_HEADER
Querying for a Base VPPA Value You can determine the minimum
acceptable value for a Virtual PPA using the following command:
lanadmin -V basevppa
Example: lanadmin -V basevppa
5000
Using a VLAN
Once a VLAN is created, its VPPA can be used to configure protocols,
send commands, and transmit and receive data just like a physical point
of attachment (PPA). For example, to configure an IP address on the
VLAN, type:
ifconfig lan5000 inet 100.2.1.1 netmask 255.255.255.0 up
NOTE You cannot change physical link properties such as speed, duplexity, or
maximum transmission unit (MTU) over a VLAN. If you make changes
to a physical interface, those changes will be reflected in the VLANs on
that interface.
Using lanadmin to Modify a VLAN
The properties of a VLAN can be modified using lanadmin. For example,
to change the VLAN ID to 53 and priority to 3, on lan5000, type: