Using lanadmin
Using the lanadmin
CONF_TOS or CONF_PRI)
[pri_override <level>(CONF_PRI,IP_HEADER or CONF_TOS)] <vppa>
Using lanadmin to Create a VLAN
Assume that the system has the following configuration as shown by the lanscan command output.
lanscan
Hardware Station | Crd | Hdw | NM | MAC | DLPI | |||||
Path | Address | In# | State | NamePPA | ID | Type Support | Mjr# | |||
1/2/3 | 0x001083FF9951 | 0 | UP | lan0 | snap0 | 1 | ETHER | Yes | 119 | |
1/2/4 | 0x006023456789 | 1 | DOWN | lan1 | snap1 | 2 | ETHER | Yes | 119 |
To configure a VPPA with VLAN ID 454 and a priority of 6 on “lan0”, execute the following command.
lanadmin -V create vlanid 454 pri 6 0
Successfully configured
lan5000: vlanid 454 name UNNAMED pri 6 tos 0 tos_override IP_HEADER pri_override
CONF_PRI ppa 0
This command created a VLAN “lan5000” on top of the physical interface lan0. The PPA associated with this VLAN, 5000, is referred to as a VPPA, short for Virtual PPA. Note: the parameters that were not specified in the command have been assigned default values.
Displaying a VLAN and its Properties
You can use the default lanscan command to view all the interfaces as follows.
lanscan
VLAN0 | 0x001083FF9951 | 5000 UP | lan5000snap5000 | 14 | ETHER | Yes | 119 |
1/2/4 | 0x006023456789 | 1 DOWN | lan1 snap1 | 2 | ETHER | Yes | 119 |
Chapter 5 | 49 |