lag port is not shown in vlan details

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
I have created 2 vlans in an S4. Vlan config is as below.

# vlan
set vlan create 3000,4000
set vlan name 1 VLAN_1
set vlan name 3000 VLAN_3000
clear vlan egress 1 lag.0.1-190;tbp.0.1-62;tg.1.1-24;ge.2.1-48
set vlan egress 3000 lag.0.1;ge.2.1-11,20 tagged
set vlan egress 4000 lag.0.1;ge.2.1-14,20 tagged
!

Problem is when I do " show vlan  4000"  It does not show lag.0.1 port under egress ports while
it shows for Vlan 3000. What could be the reason for this? I'm confused.. :)
Photo of Weda

Weda

  • 994 Points 500 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Mike D

Mike D, Alum

  • 3,852 Points 3k badge 2x thumb
Hello Weda,

Show vlan output displays ports that actively egress the vlan of interest.  This includes configured vlan egress and those ports forwarding due to protocol such as mvrp. This output does not include  ports that are not actively forwarding the vlan. 


To see the output you want here, use show vlan static.
 

The state output vs static-config nuance is a little tricky at first.
Among other things the behavior gets exercised as a common comparison/troubleshooting tool.  

Hope that helps,
Mike
Photo of Weda

Weda

  • 994 Points 500 badge 2x thumb
Thanks for your explanation. 
Photo of Mike D

Mike D, Alum

  • 3,852 Points 3k badge 2x thumb
Your welcome.  
Thanks for the follow up Weda

Mike