IT Questions and Answers :)

Monday, December 30, 2019

What command do you use if you have 2 stacked 48 port Enterasys/Extreme B5 switches and you wish to set port 41 on the second switch to vlan 4?

What command do you use if you have 2 stacked 48 port Enterasys/Extreme B5 switches and you wish to set port 41 on the second switch to vlan 4?

  • set port vlan ge.2.41 4
  • set port vlan ge.1.41 4
  • set vlan ge.2.41 4
  • set port vlan 4 ge.2.41 


EXPLANATION

When utilizing this command the structure is set up as {set port vlan} then the port(s) on the switch you wish to set, in this case switch 2 port 41 so ge.2.41 followed by the vlan you want to set the port to, in this case 4 (further commands can follow this if needed, but in this example it was not) For a more detailed look at the procedure you can go to https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-Configure-VLAN-on-EOS-Switches

How to Configure VLAN on EOS Switches

Information

TitleHow to Configure VLAN on EOS Switches
Objective
The following shows how to configure  VLANs and verify the configuration.   
Environment
  • SecureStack
  • K-Series
  • 7100-Series
  • S-Series
  • I - Series
Procedure
1.  Create the VLAN
Command:
set vlan create <vlan-id>
Example:
set vlan create 100

2.  Optionally name the VLAN 
Command:
set vlan name <vlan-id> <name>
Example:
set vlan name 100 vlan-blue

3.  Add ports to the VLAN Untagged
Set the Port VLAN ID (PVID) to egress the VLAN untagged to connect to devices that are not tagging (workstations, etc) 

Command:
set port vlan <port-string> <vlan-id> modify-egress

Example:
set port vlan ge.1.1 100 modify-egress
4.  Configure the port to egress tagged traffic  for devices that require tags/ Remove a tagged VLAN from a port.

Command:
set vlan egress vlan <vlan-id> <port-string> tagged

Example:
set vlan egress 100 ge.1.2 tagged

Command:
clear vlan egress vlan <vlan-id> <port-string> 

Example:
clear vlan egress 100 ge.1.2 

Tagged is the default, so the VLAN will be tagged on the port unless untagged is specified with "modify-egress."

Warning EOS allows multiple VLANs to be sent out the same port untagged which is not recommended because of the  potential to have traffic switched to the wrong VLAN on uplinks with multiple VLANs.
5.  Verifying VLAN Config
show VLAN information on a port

Show  vlan portinfo port ge.1.1
 Port           VLAN      Ingress   Egress
                          Filter     Vlan
-----------------------------------------------------------------
ge.1.1         1          N          untagged: 1 tagged: 2


6.  Type show vlan, to see information about VLANs with at least one active link; VLANs with no link will not display. 

C5(su)->show vlan static 
 VLAN: 1             NAME: DEFAULT VLAN
 VLAN Type: Default
 Egress Ports
ge.1.1, ge.1.46
 Forbidden Egress Ports
None.
 Untagged ports
ge.1.1, ge.1.46

7.  To see information about  all configured ports regardless if they have a link, add static to the end of the command.

C5(su)->show vlan static

 VLAN: 1             NAME: DEFAULT VLAN
 VLAN Type: Default
 Egress Ports
ge.1.1-48, tg.1.49-50, lag.0.1-6
 Forbidden Egress Ports
None.
 Untagged ports
ge.1.1-48, tg.1.49-50, lag.0.1-6

Share:

0 comments:

Post a Comment

Popular Posts