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 15717 times since Wed, May 30, 2018
A Unix Utility You Should Know About: lsof
Viewed 2883 times since Tue, Apr 16, 2019
AIX, Security, System Admin↑ Generating random passwords
Viewed 3944 times since Fri, Apr 19, 2019
AIX - How to monitor memory usage
Viewed 7542 times since Fri, Jun 8, 2018
AIX hangs on boot? How to debug boot process on AIX systems
Viewed 13741 times since Thu, Feb 21, 2019
Top 4 Reasons for Node Reboot or Node Eviction in Real Application Cluster (RAC) Environment
Viewed 109690 times since Thu, Jun 21, 2018
AIX Creating a Volume Group
Viewed 4466 times since Tue, Jul 17, 2018
Migrating AIX User Environments
Viewed 3102 times since Wed, May 30, 2018
AIX, System Admin↑ The chrctcp command
Viewed 4003 times since Fri, Apr 19, 2019
Setting new device attributes with chdef
Viewed 3391 times since Mon, Jun 3, 2019