vlan

Description                                                    Configure a virtual LAN (VLAN). This command changes the CLI to the configuration level for the VLAN.

Syntax                                                                  [no] vlan vlan-id

Replace vlan-id with the ID of the VLAN (2-4094).

If the ACOS device is a member of an aVCS virtual chassis, specify the vlan-id as follows:

DeviceID/vlan-id

Default                                                                VLAN 1 is configured by default. All Ethernet data ports are members of VLAN 1 by default.

Mode                                                                   Configuration mode

Usage                                                                  You can add or remove ports in VLAN 1 but you cannot delete VLAN 1 itself.

For information about the commands available at the VLAN configuration level, see the “Config Commands: VLAN” chapter in the Network Configuration Guide.

Example                                                            The following command adds VLAN 69 and enters the configuration level for that VLAN:

ACOS(config)# vlan 69

ACOS(config-vlan:69)#

 

Example                                                            You cannot have duplicate VLANs configured across partitions. In this example, VLAN 10 is configured in the shared partition:

ACOS(config)# vlan 10

ACOS(config-vlan:10)# exit

ACOS(config)#

 

If you attempt to configure VLAN 10 in an L3V partition, you will receive an error message:

ACOS(config)# active-partition p2

Current active partition: p2

ACOS[p2]# configure

ACOS[p2](config)# vlan 10

This VLAN or Port is owned by another partition.

 

Table of Contents

Index

Glossary

-Search-

Back