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 set Kernel Parameters in AIX ?
Viewed 15489 times since Tue, Jul 2, 2019
AIX 6.1: Extend VG 0516-1714 extendvg 0516-1254 extendvg
Viewed 4769 times since Fri, Jul 6, 2018
AIX Full memory dump configure
Viewed 3623 times since Mon, Jul 16, 2018
Part 2, Detailed diagnosis and troubleshooting
Viewed 3036 times since Tue, May 22, 2018
AIX TCP connection status
Viewed 17471 times since Mon, Jul 29, 2019
How to disable SSH cipher/ MAC algorithms for Linux and Unix
Viewed 47973 times since Fri, Aug 21, 2020
To do a quick check on the number of path present (does not mean all are Enabled] using for loop
Viewed 4174 times since Fri, Jun 8, 2018
Ethernet tunning for VIOS and AIX for 10 Gib/sec environtement.
Viewed 10989 times since Thu, Feb 21, 2019
Configuration of AIX Fast Connect and SMBFS
Viewed 8884 times since Mon, Jun 18, 2018
The new VIOS performance advisor tool part util
Viewed 3609 times since Tue, Jun 4, 2019