What is the equivalent of sub interface cisco command in extreme x250?

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
What is the equivalent of sub interface cisco command in extreme x250?
Photo of rmonfared

rmonfared

  • 90 Points 75 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of PARTHIBAN CHINNAYA

PARTHIBAN CHINNAYA, Alum

  • 4,362 Points 4k badge 2x thumb
I assume you are asking similar to router on a stick configuration.

here in Exos we just configure interfaces as tagged or untagged for specific vlans.

We create vlans and assign ip address to them.



Create vlan vlan10
config vlan10 tag 10
config vlan10 ipaddress 192.168.1.1/24
config vlan10 add ports 1-10 untagged.
config vlan10 add ports 48 tagged--------------assuming this is the uplink port.
enable ipforwarding

now we can add more vlans


Create vlan vlan20
config vlan20 tag 20
config vlan20 ipaddress 192.168.2.1/24
config vlan20 add ports 11-20 untagged.
config vlan20 add ports 48 tagged---------------assuming this is the uplink port.

prior to all we should do the below command
config default delete ports all ---removes all ports from default vlan.
Photo of jawhar

jawhar

  • 70 Points
Dear Prathiban...

Thnaks for your detailed reply...

Since the below post  which cammand is equalend to subbinterface cammand if we campare to cisco configaration
Photo of PARTHIBAN CHINNAYA

PARTHIBAN CHINNAYA, Alum

  • 4,362 Points 4k badge 2x thumb
There is no sub interface command in extreme
We only create multiple vlans and add ipaddress
Photo of jawhar

jawhar

  • 70 Points
Thanks,
Photo of Sean Brady

Sean Brady

  • 318 Points 250 badge 2x thumb
As Parthiban said, Extreme doesn't use sub interfaces. The closest equivalent would be adding the port to the vlan tagged.

The statements "config vlan10 add ports 48 tagged" and "config vlan20 add ports 48 tagged" would cause port 48 to behave the same as a Cisco port using the sub interface command, sending traffic belonging to vlan 10 and 20 on port 48 as tagged frames.  The IP address and tag information are defined under the vlan configuration in Extreme, not the interface, as you can see in Parthiban's example above.