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
Configuring an AIX client with multiple Kerberos realms
Viewed 9672 times since Mon, Jun 25, 2018
LVM: Extend an existing Volume Group by adding a new disk
Viewed 5842 times since Sat, Jun 2, 2018
Burn Image to DVD in AIX
Viewed 13695 times since Thu, Sep 20, 2018
LVM: Unmirror/Mirror "rootvg" Volume Group
Viewed 3743 times since Mon, May 21, 2018
Migrating AIX User Environments
Viewed 2379 times since Wed, May 30, 2018
Do you Know These 5 Use of V$session View ?
Viewed 114480 times since Thu, Jun 21, 2018
AIX 6/7 Script to create a file with commands to remove missing and failed paths
Viewed 4155 times since Tue, Jun 14, 2022
To do a quick check on the number of path present (does not mean all are Enabled] using for loop
Viewed 4093 times since Fri, Jun 8, 2018
Recovery from LED 552, 554, or 556 in AIX
Viewed 2846 times since Tue, Apr 16, 2019
Awesome Command to show top 15 processes using memory on AIX
Viewed 24136 times since Thu, Nov 29, 2018