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
Configure log file for cron daemon on AIX
Viewed 10521 times since Thu, Feb 21, 2019
HMC: HMC and LPAR management commands
Viewed 7119 times since Sun, Jun 3, 2018
Many Choices for AIX File Integrity
Viewed 2659 times since Wed, May 30, 2018
AIX Full memory dump configure
Viewed 3338 times since Mon, Jul 16, 2018
System Admin Mirrorvg without locking the volume group
Viewed 3053 times since Mon, May 21, 2018
Altering LVM Configuration When a Disk is Not in ODM Anymore
Viewed 3035 times since Mon, Jun 3, 2019
AIX Increase paging space logical volume size
Viewed 2871 times since Tue, Jul 17, 2018
Burn Image to DVD in AIX
Viewed 13436 times since Thu, Sep 20, 2018
0516-404 allocp: This system cannot fulfill the allocation request. [AIX]
Viewed 5157 times since Thu, Sep 20, 2018
AIX: How to manage network tuning parameters
Viewed 3762 times since Mon, Jun 11, 2018