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
AIX Increase paging space logical volume size
Viewed 3033 times since Tue, Jul 17, 2018
AIX boot proccess
Viewed 3162 times since Tue, Apr 16, 2019
Script to make mksysb backup from NIM to LPAR
Viewed 3734 times since Thu, Feb 21, 2019
To do a quick check on the number of path present (does not mean all are Enabled] using for loop
Viewed 3949 times since Fri, Jun 8, 2018
Monitoring Events with AIX Audit
Viewed 4251 times since Wed, May 30, 2018
AIX Errpt - Diag - Alog
Viewed 3771 times since Wed, Mar 20, 2019
AIX QHA
Viewed 11187 times since Mon, Jun 3, 2019
How to Use the Linux lsof Command
Viewed 11746 times since Sun, Jun 30, 2019
Topics: AIX, Networking, System Admin
Viewed 11630 times since Fri, Apr 19, 2019
NMON nmon
Viewed 12087 times since Tue, Apr 16, 2019