Converting a dynamic vlan to a static vlan, Converting a dynamic vlan to a static vlan -27 – HP 2610-PWR User Manual

Page 53

Advertising
background image

Static Virtual LANs (VLANs)

Port-Based Virtual LANs (Static VLANs)

Syntax:

vlan <vlan-id> [name <name-str>]

Creates a new static VLAN if a VLAN with that VID does not
already exist, and places you in that VLAN’s context level. If
you do not use the name option, the switch uses “VLAN” and
the new VID to automatically name the VLAN. If the VLAN
already exists, the switch places you in the context level for
that VLAN.

vlan <vlan-name>

Places you in the context level for that static VLAN.

For example, to create a new static VLAN with a VID of 100:

Creating the new VLAN.

Showing the result.

Figure 2-23. Example of Creating a New Static VLAN

To go to a different VLAN context level, such as to the default VLAN:

ProCurve(vlan-100)# vlan default_vlan

ProCurve(vlan-1) _

Converting a Dynamic VLAN to a Static VLAN

If GVRP is running on the switch and a port dynamically joins a VLAN, you
can use the next command to convert the dynamic VLAN to a static VLAN.
(For GVRP and dynamic VLAN operation, see chapter 3, “GVRP”.) This is
necessary if you want to make the VLAN permanent. After you convert a
dynamic VLAN to static, you must configure the switch’s per-port participa­
tion in the VLAN in the same way that you would for any static VLAN.

Syntax:

static-vlan <vlan-id>

(Use show vlan to list current VIDs.)

2-27

Advertising
This manual is related to the following products: