Wednesday, September 15, 2010

Creating a VLAN


In this post I list the commands to create VLAN 2, name it to dmz and place a range of ports in the VLAN. Finally I use a show command to look at the VLAN configuration.


switch1#conf t
switch1(config)#vlan 2
switch1(config-vlan)#name dmz
switch1(config-vlan)#end

switch1#conf t
switch1(config)#interface range FastEthernet 0/17 - 24
switch1(config-if-range)#switchport access vlan 2
switch1(config-if-range)#end

switch1#sh vlan brief

No comments:

Post a Comment