SSA t1068-0652 vlan egress problem

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • Answered
i have create vlan 7 i have create a vlan interface, when im trying to access my vlan in port i got no connection just when i set the port to vlan 1 then can i ping the vlan 1 interface.
set vlan egress 7 ge.1.2 untagged
Photo of Shkelqim Kajtazi

Shkelqim Kajtazi

  • 364 Points 250 badge 2x thumb

Posted 1 year ago

  • 0
  • 1
Photo of Nick Yakimenko

Nick Yakimenko

  • 2,404 Points 2k badge 2x thumb
you should enable forwarding on vlan 7
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 45,286 Points 20k badge 2x thumb
The command to set a untagged VLAN is...

# set port vlan ge.1.2 7 modify-egress
Photo of Daniel Coughlin

Daniel Coughlin, Employee

  • 2,648 Points 2k badge 2x thumb
I agree that the port pvid needs to be set.  In the EOS world we think in terms of ingress and egress for vlans.  It gives a bit more flexibility.
Photo of Erik Auerswald

Erik Auerswald, Embassador

  • 12,782 Points 10k badge 2x thumb
To expand a bit on Ronald's answer, the command set vlan egress 7 ge.1.2 untagged added VLAN 7 untagged to the egress list, without changing the VLAN 1 settings. You can check this with the show port egress command.

To configure an access port, you usually want to have both the port VLAN ID (PVID), used for untagged frames entering the port, set to the access VLAN, and the VLAN egress list for the port set to include just the access VLAN (untagged). You can verify the PVID using the show port vlan command.

The show vlan portinfo command is a good way to see the VLAN configuration on EOS.
Photo of Patrick Koppen

Patrick Koppen

  • 750 Points 500 badge 2x thumb
For trunk/uplink ports use:
set vlan egress 1,7 ge.1.48 tagged

For access ports use:
set vlan port vlan ge.1.2 7 modify-egress
This ist a shortcut for:
set vlan port vlan ge.1.2 7 no-modify-egress  (sets the PVID only)
set vlan egress 7 ge.1.2 untagged
Look at the Q-BRIDGE-MIB for details:
http://www.ieee802.org/1/files/public/MIBs/IEEE8021-Q-BRIDGE-MIB-200810150000Z.txt
Photo of Rakesh Nair

Rakesh Nair

  • 144 Points 100 badge 2x thumb
"set vlan port" tells the switch that frames ingressing a specified port must be tagged with a specific vlan id within the switch, and "set vlan egress" tells that switch the set of egress ports for a particular vlan and whether the frames must be tagged or untagged on egress. (modify-egress lets you do both associations with an single command)