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: How to set automatic logoff (only for terminals)
Viewed 2781 times since Mon, Jun 11, 2018
Control Your Logs AIX
Viewed 18610 times since Wed, May 30, 2018
How to Maintain a Virtual I/O Server With FBO Part II
Viewed 10402 times since Wed, Jun 5, 2019
AIX - How to unlock and reset user’s account
Viewed 15970 times since Fri, Jun 8, 2018
Create memory resident filesystems (RAM disk) on AIX
Viewed 2451 times since Thu, Feb 21, 2019
DISK OPERATION ERROR in AIX
Viewed 13479 times since Thu, Feb 21, 2019
Part 1, The basics of network troubleshooting
Viewed 4972 times since Tue, May 22, 2018
AIX alt_disk_copy
Viewed 9506 times since Sun, Jun 30, 2019
AIX Booting
Viewed 9928 times since Tue, Apr 16, 2019
sysdumpdev Command
Viewed 1608 times since Mon, Jul 16, 2018