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
Configure log file for cron daemon on AIX
Viewed 12132 times since Thu, Feb 21, 2019
AIX perf how to
Viewed 20827 times since Tue, Aug 14, 2018
IBM AIX MPIO: Best practices and considerations
Viewed 14793 times since Wed, May 30, 2018
Control Your Logs AIX
Viewed 21024 times since Wed, May 30, 2018
Script to download TL and SP for AIX using NIM and SUMA
Viewed 10497 times since Thu, Feb 21, 2019
AIX - How to get IP and MAC address of ethernet adapter in AIX
Viewed 29462 times since Fri, Jun 8, 2018
Monitoring Events with AIX Audit
Viewed 6083 times since Wed, May 30, 2018
AIX lspath Missing path
Viewed 11751 times since Fri, Oct 5, 2018
Trouble Shooting AIX Networking
Viewed 3668 times since Tue, May 22, 2018
AIX PDF ALL
Viewed 7798 times since Mon, Jul 16, 2018