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
Authenticate AIX using MS DC’s kerberos servers (Active Directory)
Viewed 2288 times since Thu, Feb 21, 2019
Writing a Custom PVID
Viewed 3049 times since Fri, Feb 1, 2019
AIX lspath Missing path
Viewed 10201 times since Fri, Oct 5, 2018
Configure log file for cron daemon on AIX
Viewed 10829 times since Thu, Feb 21, 2019
How to build a NIM Server on AIX 6.1 from the Scratch :: Part 1
Viewed 5175 times since Thu, Nov 29, 2018
How To Mirror Your Root Disk On AIX (a.k.a. rootvg)
Viewed 5799 times since Mon, May 21, 2018
Problems with NFS on an AIX Reboot? Then Go Single
Viewed 7534 times since Wed, May 30, 2018
AIX Cloning a rootvg using alternate disk installation
Viewed 11744 times since Sun, Jun 30, 2019
Migrating from SDDPCM to AIXPCM (the easy way)
Viewed 2754 times since Mon, Jun 3, 2019
AIX, Red Hat, Security, System Admin↑ System-wide separated shell history files for each user and session
Viewed 2378 times since Fri, Apr 19, 2019