AIX Net How to check VLAN ID number on AIX?

To check VLAN ID on AIX you can issue the command entstat filtering the result as the follow:

# entstat -d en0 | grep 'Port VLAN ID'
Port VLAN ID:   800

hostname:/:$ lsdev | grep ^ent
ent0         Available              Virtual I/O Ethernet Adapter (l-lan)
ent1         Available              Virtual I/O Ethernet Adapter (l-lan)
ent2         Available              EtherChannel / IEEE 802.3ad Link Aggregation
hostname:/:$ entstat -d en2 | egrep "ETHERNET STATISTICS|Port VLAN ID"
ETHERNET STATISTICS (en2) :
ETHERNET STATISTICS (ent0) :
Port VLAN ID:    10
ETHERNET STATISTICS (ent1) :
Port VLAN ID:    20
hostname:/:$

entstat -dt ent2 | grep -i pvid


 
0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
How to Investigate a System Reboot
Viewed 4379 times since Mon, Jul 16, 2018
Create jfs2 logical volume on AIX
Viewed 4340 times since Thu, Feb 21, 2019
Problem on resizing volume group on AIX 0516-1714, 0516-792, 0516-787, and 0516-404
Viewed 2355 times since Fri, Jul 6, 2018
Managing System Dump Devices sysdumpdev
Viewed 3237 times since Mon, Jul 9, 2018
Script to make mksysb backup from NIM to LPAR
Viewed 3472 times since Thu, Feb 21, 2019
LVM: Shrink & extend a filesystem/volume
Viewed 1979 times since Sun, Jun 3, 2018
vfcpmap on VIO Server
Viewed 9252 times since Tue, Jun 4, 2019
AIX Migrating from SDDPCM to AIXPCM (the easy way)
Viewed 19617 times since Mon, Dec 31, 2018
Altering LVM Configuration When a Disk is Not in ODM Anymore
Viewed 2806 times since Mon, Jun 3, 2019
Recovery from LED 552, 554, or 556 in AIX
Viewed 2408 times since Tue, Apr 16, 2019