how to know the vlan id?


 
Thread Tools Search this Thread
Operating Systems AIX how to know the vlan id?
# 1  
Old 01-25-2011
how to know the vlan id?

I have a aix 5.3, two network adapter, configure as a etherchannel, how can I know the vlan id by command?
# 2  
Old 01-26-2011
Code:
ifconfig -a

Will show on which interface is IP set. for example if it's en2 then run command:
Code:
entstat -dt ent2 | grep -i pvid

and you will see what is the VLAN is for the interface
# 3  
Old 01-26-2011
entstat -d enN

where 'N' is the instance number of the interface.

However, I believe there are constraints such as the type of card you're using (lhea) / is this a virtual nic, as to whether you can get this info from the host-side.
# 4  
Old 01-26-2011
Quote:
Originally Posted by dsw
entstat -d enN

where 'N' is the instance number of the interface.

However, I believe there are constraints such as the type of card you're using (lhea) / is this a virtual nic, as to whether you can get this info from the host-side.
Even if this an LPAR which is connected via a virtual adapter it will still give a VLAN id as this is still an ENT adapter according to AIX.
# 5  
Old 01-28-2011
dsw has it right. You can see the VLANs of virtual network adapters even if they are inside an etherchannel. My ent0 is on VLAN 10 and my ent1 is on VLAN 20. Here is an example from one of my boxes.

Code:
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:/:$

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

IPMP over VLAN questions.

Hi Folks, I am currently moving systems to a new environment, with some changes to the network requirements on the systems. One of these changes is moving from just standard IPMP to using IPMP on top of a VLAN, I have used VLAN tagging befor without issue - however not with IPMP. What I... (2 Replies)
Discussion started by: gull04
2 Replies

2. AIX

Changing VLAN on AIX lpars in the same subnet

Hi Guys, Our lpars is currently running on 2 different vlans (20, 30). Now we have a requirement that vlan 30 needs to be change to vlan 31 at the same subnet. I'm not sure on what is the best approach for this or what change is involve on the AIX side. This is our setup. Network switch -... (5 Replies)
Discussion started by: kaelu26
5 Replies

3. Solaris

Solaris non-global zone network vlan

Have 2 nics on physical system net0 phys 1500 up -- net1 phys 1500 up -- 1. I want to create a link aggregation with LACP enabled with above 2 nics 2. Create port-group(Like we create on ESXi) with VLAN-ID 2141 3. And assign this... (0 Replies)
Discussion started by: Shirishlnx
0 Replies

4. Red Hat

Network issue in same vlan

We have two hosts in same vlan with same route rules. One of them is not able to connect to an outside IP while in another I get "failed: Connection timed out" while testing the connectivity through netcat. I have tried mtr /traceroute and it gives me the same results. Is there a netcat... (1 Reply)
Discussion started by: jacki
1 Replies

5. Solaris

Solaris 9 VLAN tagging with ce interface

Hi, Is it possible to VLAN tag with a ce interface on Solaris 9? Link speed is gb. ce:0:ce0:link_speed 1000 I have a ce0 interface I would need to have access to another VLAN as well as the one it's currently on. What commands would I need to run? Thanks.;) (2 Replies)
Discussion started by: sparcman
2 Replies

6. IP Networking

Implement inter vlan routing with Linux

Hello. I want to Communicate 2 VLAN with router like this solution: http://8pic.ir/images/83m0ouih8mmm9s1sfl56.jpg For this purpose I'm configuring 2 Linux system as a switch and connect 4 host to them. Then a router is added to scenario. The configuration of the switches is: On DUT1(Linux):... (1 Reply)
Discussion started by: zsn
1 Replies

7. Programming

pcap_dispatch hangs on vlan filter

Hi all My application is a monitoring application that monitors the incoming udp packet when ever required. When ever a particular source ip and port and dest ip and port is provided the filter will be framed based them. For eg, char filterExpr; filterExpr = "udp and src host 192.168.16.100... (0 Replies)
Discussion started by: anusha_pixel
0 Replies

8. Solaris

Vswitch in Ldoms on VLAN tagged interface

I 've a T5220 running solaris 10u6 with Ldoms 1.1. following is o/p of my dladm e1000g0 type: non-vlan mtu: 1500 device: e1000g0 e1000g1 type: non-vlan mtu: 1500 device: e1000g1 e1000g531001 type: vlan 531 mtu: 1500 device: e1000g1 e1000g2 ... (0 Replies)
Discussion started by: fugitive
0 Replies

9. IP Networking

what is wrong with VLAN???

Hi all, so server: FreeBSD 7.0 release, interfaces on it DLINK DGE-528T with support of vlans :)) so first interface looks to LAN second to ISP. I created vlan1 with id 1 and gave to it ip address and plug it in tagged port of swith for vlan 1. so client from vlan1 reaches the server. it... (2 Replies)
Discussion started by: samar
2 Replies

10. Solaris

VLAN on SF280

hi, i tried to configure an VLAN interface on my SF280 based on the documentation on docs.sun.com # ifconfig eri1000 plumb up Oct 21 13:41:26 cmsmaster ip: ip_rput_dlpi(eri1000): DL_ERROR_ACK for DL_ATTACH_REQ(11), errno 8, unix 0 ifconfig: SIOCSLIFNAME for ip: eri1000: no such interface... (2 Replies)
Discussion started by: pressy
2 Replies
Login or Register to Ask a Question