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"
Port VLAN ID:    10
Port VLAN ID:    20

entstat -dt ent2 | grep -i pvid

0 (0)
Article Rating (No Votes)
Rate this article
There are no attachments for this article.
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
Viewed 10640 times since Mon, Jun 3, 2019
Script to make mksysb backup from NIM to LPAR
Viewed 3166 times since Thu, Feb 21, 2019
Problems with NFS on an AIX Reboot? Then Go Single
Viewed 5954 times since Wed, May 30, 2018
Rootvg Mirroring in AIX
Viewed 2233 times since Mon, May 21, 2018
SSH-COPY-ID on AIX. SSH remote AIX’s box without password
Viewed 15109 times since Thu, Feb 21, 2019
Manually Editing /etc/filesystems Can Cause Issues
Viewed 4850 times since Tue, May 22, 2018
Troubleshooting Starts With Understanding Your Physical Disks’ Attributes
Viewed 3325 times since Sat, May 19, 2018
Create a mksysb + SPOT using NIM (CLI)
Viewed 5215 times since Tue, Jul 17, 2018
Problem on resizing volume group on AIX 0516-1714, 0516-792, 0516-787, and 0516-404
Viewed 2148 times since Fri, Jul 6, 2018
Checking HBA status on AIX
Viewed 16624 times since Fri, Oct 5, 2018