Create Vlan

An example of how to create layer 2 and layer 3 vlans

akonkol
July 15, 2012



!!! Layer 2 configuration !!!
conf t
vlan %{vlan_id}%
name ${vlan_name}%
end
copy run start


!!! Layer 3 configuration !!!
conf t
interface vlan %{vlan_id}%
ip address %{vlan_ip}% %{vlan_subnetmask}%
no shut
end
copy run start