VIRTUAL LANS (VLANS)

VLAN CONFIGURATION EXAMPLES

The following example creates a port-based VLAN named accounting, assigns the IP address 132.15.121.1, and assigns ports 1, 2, 3, and 6 to it:

create vlan accounting

config accounting ipaddress 132.15.121.1 config default delete port 1-3, 6 config accounting add port 1-3,6

Because VLAN names are unique, you do not need to enter the keyword vlan after you have created the unique VLAN name. You can use the VLAN name alone.

The following example creates a tag-based VLAN named video. It assigns the VLANid 1000. Ports 4 through 8 are added as tagged ports to the VLAN.

create vlan video

config video tag 1000

config video add port 4-8 tagged

The following example creates a VLAN named Sales, with the VLANid 120. The VLAN uses both tagged and untagged ports. Ports 1 through 3 are tagged, and ports 4 and 7 are untagged. Note that when not explicitly specified, ports are added as untagged.

create vlan sales config sales tag 120

config sales add port 1-3 tagged config sales add port 4,7

The following example creates a protocol-based VLAN named IPSales. Ports 6 through 8 are assigned to the VLAN.

create vlan ipsales

config ipsales protocol ip

config ipsales add port 6-8

The following example defines a protocol filter, myprotocol and applies it to the VLAN named myvlan. This is an example only, and has no real-world application.

create protocol myprotocol

config protocol myprotocol add etype 0xf0f0 config protocol myprotocol add etype 0xffff create vlan myvlan

config myvlan protocol myprotocol

5-16

SUMMIT SWITCH INSTALLATION AND USER GUIDE

Page 102
Image 102
Extreme Networks Summit1 manual Vlan Configuration Examples