Chapter 45 Introducing Commands

45.12.6 config-vlan Commands

The following table lists the vlan commands in configuration mode.

Table 142 Command Summary: config-vlan Commands

COMMAND

 

DESCRIPTION

PRIVILEGE

vlan

 

 

Creates a new VLAN group.

13

<vlan-id>

 

 

 

 

 

exit

 

Leaves the VLAN configuration

13

 

 

 

mode.

 

 

fixed <port-list>

 

Specifies the port(s) to be a

13

 

 

 

permanent member of this

 

 

 

 

VLAN group.

 

 

 

 

 

 

 

forbidden <port-

 

Specifies the port(s) you want to

13

 

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> <mask>

Sets the IP address of the

13

 

 

 

Switch in the VLAN.

 

 

 

<ip-address> <mask>

Sets the IP address of the

13

 

 

manageable

Switch in the VLAN and allow

 

 

 

 

remote management to this IP

 

 

 

 

address.

 

 

 

 

 

 

 

 

default-gateway <ip-

Sets the default gateway IP

13

 

 

address>

address in this VLAN.

 

 

name <name-str>

 

Specifies a name for

13

 

 

 

identification purposes.

 

 

no

fixed <port-list>

Sets fixed port(s) to normal

13

 

 

 

port(s).

 

 

 

forbidden <port-

Sets forbidden port(s) to normal

13

 

 

list>

port(s).

 

 

 

inactive

Enables the specified VLAN.

13

 

 

ip address <ip-

Deletes the IP address and

13

 

 

address> <mask>

subnet mask from this VLAN.

 

 

 

ip address default-

Deletes the default gateway

13

 

 

gateway

from this VLAN.

 

 

 

untagged <port-list>

Specifies the port(s) you want to

13

 

 

 

tag all outgoing frames

 

 

 

 

transmitted with this VLAN

 

 

 

 

Group ID.

 

 

 

 

 

 

 

normal <port-

 

Specifies the port(s) to

13

 

list>

 

dynamically join this VLAN

 

 

 

 

group using GVRP

 

 

untagged <port-

 

Specifies the port(s) you don’t

13

 

list>

 

want to tag all outgoing frames

 

 

 

 

transmitted with this VLAN

 

 

 

 

Group ID.

 

 

 

 

 

 

 

375

GS-4012F/4024 User’s Guide