User Guide
OmniAccess SafeGuard OS Administration Guide
144
Chapter 5: Setting Up SafeGuard Switches
Associate the VLAN to an IP Subnet Address
To associate the VLAN to an IP subnet address, use the vlan association command in
VLAN database mode. The no version of the command removes the association.
vlan association [subnet ipaddr netmask] vlanid
no
vlan association [subnet ipaddr netmask]
The following command associates an IP subnet to a VLAN with the ID of 50.
(SafeGuardOS) (config) #vlan database
(SafeGuardOS) (Vlan) #vlan association subnet 10.201.4.99 255.255.255.0 50
(SafeGuardOS) (Vlan) #exit
Verify the configuration using the show vlan association command. This command is
described further in Showing a VLAN Association on page 145.
Deleting a VLAN
With the exception of a reserved VLAN, to delete a VLAN, use the no vlan command in
vlan database mode.
no vlan [vlanid |name]
The following example deletes the sales VLAN with the ID of 85.
(SafeGuardOS) #configure terminal
(SafeGuardOS) (config) #vlan database
(SafeGuardOS) (Vlan) #no vlan 85
(SafeGuardOS) (Vlan) #exit
Syntax Description ipaddr Specifies the IP address being associated to the
VLAN.
netmask Specifies a 4-digit dotted-decimal number that
represents the subnet mask. The subnet mask
must be contiguous and be no longer than 30
bits, for example 255.255.255.0.
vlanid Specifies the VLAN ID being associated.
Syntax Description vlanid Specifies to delete the VLAN based on its ID.
name Specifies to delete the VLAN based on its
name.










