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
Setup private yum repository for AIX clients
Viewed 11549 times since Thu, Feb 21, 2019
Processes and Devices—It’s All About the Children
Viewed 2447 times since Wed, May 30, 2018
How to Configure Sendmail not to Look up MX records
Viewed 3986 times since Fri, Apr 19, 2019
Getting bosboot errors, don’t reboot just yet
Viewed 3105 times since Tue, Apr 16, 2019
AIX Different Commands For Paging Space Administration swap file create
Viewed 7741 times since Thu, Aug 1, 2019
AIX↑ AIX www links
Viewed 3985 times since Sat, Apr 20, 2019
Getting list users and groups in AIX
Viewed 4182 times since Mon, May 28, 2018
How to upgrade TL and SP in AIX using alternate disk(alt_disk_copy)
Viewed 12645 times since Sun, Jun 30, 2019
Changing ’defined’ or ’missing’ hard disk states to ’Available’ in IBM Smart Analytics System for AIX environment
Viewed 2602 times since Thu, Sep 20, 2018
List STALE partitions across Volume Groups for each Logical Volume in AIX
Viewed 2801 times since Tue, Jul 17, 2018