What is the equivalent of interface range from cisco in eOS

  • 0
  • 1
  • Question
  • Updated 12 months ago
  • Answered
create vlan data tag 100
create vlan voip tag 200 configure vlan data add port 1 untagged configure vlan voip add port 1 tagged

How would I add this this a range of ports or a list?
Photo of Benzion Nussbaum

Benzion Nussbaum

  • 210 Points 100 badge 2x thumb

Posted 12 months ago

  • 0
  • 1
Photo of ar

ar

  • 602 Points 500 badge 2x thumb
Hi,
lets say you would like to add ports 1 to 10 on a stand alone switch then try:

configure vlan data add port 1-10 untagged
configure vlan voip add port 1-10 tagged
and if it's a stack and you want to add port 5-10 from unit 2 then it should be:
configure vlan data add port 2:5-10 untagged
configure vlan voip add port 2:5-10 tagged

I'm not a EXOS specialist but the first part is working on my stand alone X460.

Regrads,
Axel
Photo of Benzion Nussbaum

Benzion Nussbaum

  • 210 Points 100 badge 2x thumb
Thanks but I am looking for eOS not eXOS
Photo of ar

ar

  • 602 Points 500 badge 2x thumb
OK,
then let's say vlan data is vlan-id 100 and vlan voip is vlan-id 200 try

set port vlan ge.2.5-10 100 modify-egress
set vlan egress 200 ge.2.5-10 tagged

With "show vlan portinfo port ge.2.2-10" you can see the configuration but this command is not availabe on older EOS-Systems like DFE-Chassis.
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 49,962 Points 20k badge 2x thumb
SIE_D2(su)->set port vlan ge.1.3-4 100 modify-egress
Photo of Benzion Nussbaum

Benzion Nussbaum

  • 210 Points 100 badge 2x thumb
Thanks . What would be the simple way of building a config and loading it onto a switch. Can i found a sample config that i would just modify for my needs?