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
IBM AIX multipath I/O (MPIO) resiliency and problem determination
Viewed 13981 times since Wed, May 30, 2018
NTLMSSP, SPN and AIX CIFS
Viewed 8369 times since Fri, Jun 15, 2018
AIX: Remove existing disk
Viewed 2844 times since Sun, Jun 3, 2018
Setup private yum repository for AIX clients
Viewed 11477 times since Thu, Feb 21, 2019
Mirroring the rootvg Volume Group for AIX
Viewed 4328 times since Mon, May 21, 2018
Writing a Custom PVID
Viewed 3088 times since Fri, Feb 1, 2019
Creating Normal,Big,Scalable VG on AIX
Viewed 15402 times since Fri, Feb 1, 2019
A Unix Utility You Should Know About: lsof
Viewed 2109 times since Tue, Apr 16, 2019
AIX Increase paging space logical volume size
Viewed 3144 times since Tue, Jul 17, 2018
Recovery AIX system when hang on boot (554 code error).
Viewed 16814 times since Thu, Feb 21, 2019