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
AIX: Remove existing disk
Viewed 2551 times since Sun, Jun 3, 2018
O’Reilly’s CD bookshelf
Viewed 12174 times since Wed, Jun 27, 2018
AIX alt_disk_copy
Viewed 9758 times since Sun, Jun 30, 2019
Create jfs2 logical volume on AIX
Viewed 4664 times since Thu, Feb 21, 2019
How to enable Large Pages for a specific user on AIX?
Viewed 2369 times since Thu, Nov 29, 2018
Using Shell Redirection: All About the Here-Doc
Viewed 10192 times since Wed, May 30, 2018
AIX↑ AIX www links
Viewed 3659 times since Sat, Apr 20, 2019
How to know witch process is running in a particular port on AIX using KDB
Viewed 12559 times since Thu, Nov 29, 2018
Install and configure yum on AIX
Viewed 4503 times since Thu, Feb 21, 2019
System Admin Mirrorvg without locking the volume group
Viewed 2997 times since Mon, May 21, 2018