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 Maintain a Virtual I/O Server With FBO Part II
Viewed 10558 times since Wed, Jun 5, 2019
LVM: Shrink & extend a filesystem/volume
Viewed 2119 times since Sun, Jun 3, 2018
How to Analyze or Read OS Watcher Output in three easy steps -- With Example ?
Viewed 41345 times since Thu, Jun 21, 2018
Ethernet tunning for VIOS and AIX for 10 Gib/sec environtement.
Viewed 10384 times since Thu, Feb 21, 2019
Software management in AIX
Viewed 6792 times since Mon, Jun 25, 2018
Customizing a NIM Client Restore With a Post-Install Script
Viewed 10944 times since Wed, May 30, 2018
AIX- Procedure to replace rootvg harddisk
Viewed 4467 times since Tue, Apr 16, 2019
AIX routing - How Do I Compare ODM with the Current Routing Table?
Viewed 2592 times since Mon, Jul 29, 2019
AIX - How to monitor CPU usage
Viewed 27024 times since Fri, Jun 8, 2018
AIX: How to determine which application created the OS core file
Viewed 2435 times since Mon, Jun 11, 2018