User Guide

OmniAccess SafeGuard OS Administration Guide
134
Chapter 5: Setting Up SafeGuard Switches
Creating the VLAN and Assigning a VLAN ID
Create VLANs in the VLAN database mode, which is a submode of Global
Configuration. To enter the mode, use the vlan database command:
vlan database
The command has no parameters or variables. For example:
(SafeGuardOS) (config) #vlan database
(SafeGuardOS) (Vlan)#
To assign an ID and an optional name to the VLAN, use the vlan command in VLAN
database mode. Eligible ID numbers are from 2 to 4094. Each VLAN is assigned a default
system-generated name in the format “VLANxxxx”, where xxx is the ID of the VLAN.
The VLAN can be renamed to any name meaningful to its network configuration, such as
“finance_dept”. However, the following restrictions apply:
The new name can not be a system reserved name, such as: “default”,
“MgmgVlan”, “ServicePort”, or “VLANxxxx”.
Each VLAN name must be unique within the system.
vlan id {name name}
The following example assigns a VLAN with the ID of 85:
(SafeGuardOS) (config) #vlan database
(SafeGuardOS) (Vlan)#vlan 85
(SafeGuardOS) (Vlan)#exit
To validate the creation of the VLAN, use the show vlan brief command in Privileged
Exec mode.
(SafeGuardOS) #show vlan brief
VLAN ID Name Type IP Addr/MaskLen Ports(active/total)
------- --------------- ------- ------------------ ------------------
1 Default Default 0/50
85 VLAN0085 Static 0/0
Note that the system assigned an internal name to the VLAN when the VLAN was
created. The internal name is comprised of the word VLAN concatenated to the ID
number in a four digit format.
Syntax Description id Assigns a VLAN having this identification
number. Valid assignment numbers are from 2
to 4094. ID 1 is reserved for the default VLAN.
name A user defined name for the VLAN.