User Guide
OmniAccess SafeGuard OS Administration Guide
137
Chapter 5: Setting Up SafeGuard Switches
Assigning a Port VLAN ID
To specify that the VLAN is classified as port-based, use the vlan pvid command in
Interface Configuration submode of Global Configuration.
vlan pvid vid
The following example specifies VLAN 85 using a port VLAN ID on port 18:
(SafeGuardOS) #configure terminal
(SafeGuardOS) (config) #interface 0/18
(SafeGuardOS) (interface 0/18) #vlan pvid 85
(SafeGuardOS) (interface 0/18) #exit
(SafeGuardOS) (config) #
Verify the configuration using the show vlan association command. This command is
discussed in Showing a VLAN Association on page 145.
Assigning an IP Address to the VLAN
This optional step assigns an IP address to the VLAN. The IP address should be assigned
if the VLAN will be a Layer 3 VLAN providing logical routing interfaces to VLANs on
Layer 2 switches. Use the no version of the command to delete the IP address. To assign
the IP address, use the ip address command in Interface configuration submode of
Global Configuration.
ip address ipaddr subnet-mask {secondary}
no ip address ipaddr subnet-mask {secondary}
The following example adds an IP address and mask to the sales VLAN (85):
(SafeGuardOS) (config) #interface vlan name sales
(SafeGuardOS) (interface vlan sales) #ip address 172.68.24.1 255.255.255.0
(SafeGuardOS) (interface vlan sales) #exit
(SafeGuardOS) (config) #exit
Syntax Description vid Specifies the VLAN ID being associated with the
port.
Syntax Description ipaddr Specifies the IP address of the routing interface
in 32-bit dotted quad format.
subnet-
mask
Specifies a 4-digit dotted-decimal number that
represents the subnet mask of the interface. The
subnet mask must be contiguous and be no
longer than 30 bits, for example 255.255.255.0.
secondary (Optional) Species that the IP address is a
secondary address.










