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
IVM and VLAN Tagging
Viewed 10474 times since Mon, May 28, 2018
The new VIOS performance advisor tool part util
Viewed 3459 times since Tue, Jun 4, 2019
LVM: Unmirror/Mirror "rootvg" Volume Group
Viewed 3521 times since Mon, May 21, 2018
Part 2, Detailed diagnosis and troubleshooting
Viewed 2947 times since Tue, May 22, 2018
AIX Power replacing (hot-swap) failed disk in rootvg
Viewed 3821 times since Tue, Apr 16, 2019
A tcpdump Tutorial and Primer with Examples
Viewed 5352 times since Sun, Jun 17, 2018
AIX 7.2 running on my Macbook?
Viewed 12694 times since Mon, Jun 3, 2019
Top 4 Reasons for Node Reboot or Node Eviction in Real Application Cluster (RAC) Environment
Viewed 99918 times since Thu, Jun 21, 2018
Software management in AIX
Viewed 6997 times since Mon, Jun 25, 2018
How to Maintain a Virtual I/O Server With FBO Part II
Viewed 10717 times since Wed, Jun 5, 2019