Using lanadmin
Using the lanadmin
The VLAN (lan5000) appears in lanscan output just like a physical interface. VPPAs are identified by the string “VLANx” in the hardware path, where x is a number and is unique per VPPA. In the lanscan output, VPPAs of a given physical interface are displayed just after the corresponding physical interface.
The verbose option of the lanscan command displays more information about the VLAN.
lanscan -v
Hardware | Station | Crd Hdw | NM | MAC | DLPI | ||
Path | Address | In# State | Name | PPA | ID | Type Support | Mjr# |
VLAN0 | 0x001083FF9951 | 5000 UP | lan5000 snap5000 | 14 | ETHER Yes | 119 | |
Extended Station |
|
| LLC Encapsulation |
| |||
Address |
|
|
| Methods |
|
|
|
0x001083FF9951 |
|
|
|
|
|
|
Driver Specific Information vlan
.......................................................................
Vlan ID
454 | 0 | 6 | 0 CONF_PRI | IP_HEADER | UNNAMED |
Using lanadmin to Set 802.1p Priority, ToS, and Overrides
The lanadmin
Using lanadmin to Query for VLANs on a System
The following command can be used to query for the list of VPPAs configured and their properties.
lanadmin -V scan
A sample output for the successful command is as follows:
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 |
|
lan5003 | lan0 | 11 | 5 | CONF_PRI | 204 | CONF_PRI | purple |
lan5001 | lan1 | 1 | 4 | IP_HEADER | 64 | IP_HEADER | newone |
lan5002 | lan2 | 3 | 7 | CONF_TOS | 200 | CONF_PRI | UNNAMED |
Note: UNNAMED will be displayed as the VLAN name if there is no name associated with the VPPA.
50 | Chapter 5 |