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
How to Use the Linux lsof Command
Viewed 10737 times since Sun, Jun 30, 2019
Reconfigure RSCT ID to fix DLPAR issues on cloned AIX systems
Viewed 12718 times since Thu, Feb 21, 2019
Do you Know These 5 Use of V$session View ?
Viewed 82035 times since Thu, Jun 21, 2018
0516-787 extendlv: Maximum allocation for logical volume error
Viewed 7883 times since Tue, Mar 12, 2019
Mount CD/DVD & ISO image in AIX 6.1
Viewed 3512 times since Tue, Jul 17, 2018
How to start daemons at the system startup in AIX servers
Viewed 1882 times since Tue, Jun 18, 2019
AIX POWERHA/HACMP: Basic commands
Viewed 4758 times since Sat, Jun 2, 2018
Part 2, NFS monitoring and tuning
Viewed 5954 times since Mon, Jun 4, 2018
AIX: How to determine which application created the OS core file
Viewed 2065 times since Mon, Jun 11, 2018
AIX: Remove existing disk
Viewed 2274 times since Sun, Jun 3, 2018