Chapter 32 Introducing the Commands

32.10.4 config-vlan Commands

The following table lists the vlan commands in configuration mode.

Table 84 Command Summary: config-vlan Commands

COMMAND

 

DESCRIPTION

PRIVILEGE

vlan <1-4094>

 

 

Creates a new VLAN group.

13

 

exit

 

Leaves the VLAN configuration

13

 

 

 

mode.

 

 

fixed <port-

 

Specifies the port(s) to be a

13

 

list>

 

permanent member of this VLAN

 

 

 

 

group.

 

 

forbidden

 

Specifies the port(s) you want to

13

 

<port-list>

 

prohibit from joining this VLAN

 

 

 

 

group.

 

 

help

 

Displays a list of available VLAN

13

 

 

 

commands.

 

 

inactive

 

Disables the specified VLAN.

13

 

ip address

<ip-address>

Sets the IP address and subnet

13

 

 

<mask>

mask of the switch in the specified

 

 

 

 

VLAN for packet loopback test.

 

 

 

<ip-address>

Allows the switch to be managed

13

 

 

<mask>

using this specified IP address.

 

 

 

manageable

 

 

 

 

default-gateway

Sets a default gateway IP address

13

 

 

<ip-address>

for this VLAN.

 

 

 

inband-default

Sets a static in-band IP address and

13

 

 

<ip-address>

subnet mask.

 

 

 

<mask>

 

 

 

 

inband-default

Sets the dynamic in-band IP

13

 

 

dhcp-bootp

address.

 

 

 

inband-default

Releases the dynamic in-band IP

13

 

 

dhcp-bootp

address.

 

 

 

release

 

 

 

 

inband-default

Updates the dynamic in-band IP

13

 

 

dhcp-bootp

address.

 

 

 

renew

 

 

 

name <name-

 

Specifies a name for identification

13

 

str>

 

purposes.

 

 

no

fixed <port-

Sets fixed port(s) to normal port(s).

13

 

 

list>

 

 

 

 

forbidden

Sets forbidden port(s) to normal

13

 

 

<port-list>

port(s).

 

 

 

inactive

Enables the specified VLAN.

13

 

 

ip address <ip-

Deletes the IP address and subnet

13

 

 

address> <mask>

mask from this VLAN.

 

 

 

ip address

Deletes the default gateway from this

13

 

 

default-gateway

VLAN.

 

232

 

GS-3012/GS-3012F User’s Guide