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, Security, System Admin Difference between sticky bit and SUID/GUID
Viewed 9873 times since Fri, Apr 19, 2019
AIX - How to get network speed and statistic of ethernet adapter in AIX
Viewed 16557 times since Fri, Jun 8, 2018
Calculate hdisk READ / WRITE throughput (sequential IO) from AIX systems
Viewed 3396 times since Thu, Feb 21, 2019
Find out which port the daemon is using on AIX OS. (similar like command netstat -anp for Linux)
Viewed 12883 times since Thu, Feb 21, 2019
Configuration of AIX Fast Connect and SMBFS
Viewed 9715 times since Mon, Jun 18, 2018
AIX, Monitoring, Networking, Red Hat, Security, System Admin↑ Determining type of system remotely
Viewed 3132 times since Fri, Apr 19, 2019
AIX PDF ALL
Viewed 7526 times since Mon, Jul 16, 2018
Kerberos authentication configuration for AIX servers
Viewed 12055 times since Mon, Jun 25, 2018
Mirroring the rootvg Volume Group for AIX
Viewed 6352 times since Mon, May 21, 2018
How to setup an user in AIX
Viewed 5415 times since Mon, May 28, 2018