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
This document discusses a new feature implemented for JFS2 filesystems to prevent simultaneous mounting.
Viewed 3630 times since Sat, Jun 1, 2019
Create a mksysb + SPOT using NIM (CLI)
Viewed 6570 times since Tue, Jul 17, 2018
Removing Failed or Missing Paths
Viewed 4383 times since Wed, May 30, 2018
SNAP in AIX
Viewed 12796 times since Mon, Sep 17, 2018
Secure Secure Shell
Viewed 12895 times since Fri, Aug 21, 2020
Control Your Logs AIX
Viewed 20453 times since Wed, May 30, 2018
AIX NFS Version 4 configuration over Kerberos inter-realm setup
Viewed 5323 times since Wed, Jun 27, 2018
Using splitvg in AIX to make a copy of a volume group
Viewed 9931 times since Mon, Jun 3, 2019
AIX, Security, System Admin↑ Generating random passwords
Viewed 3842 times since Fri, Apr 19, 2019
AIX, Security, System Admin↑ Fix user accounts
Viewed 5599 times since Fri, Apr 19, 2019