Newer Catalyst and Router switch module VLAN configuration

Contributor Icon Contributed by Al Banks  
Tag Icon Tagged: Cisco switch  

Configuration notes for newer catalyst switches and switch modules.


IOS-based switches require slightly different configuration than their CatOS counterparts. One of the stranger configuration tasks is VLAN creation.

In an IOS device, from the enable prompt, type:

vlan database

This command takes you to the VLAN configuration. Now you can type:

vlan name state active

e.g. – vlan 100 name dmz state active

Repeat this line for each VLAN you wish to create.

apply
to save the changes or reset
to remove any changes.

Back on an enable prompt, config t
to enter configuration mode, and enter interface fastethernet 1/1
to go to FE1/1, then enter switchport access vlan 100
to put that port into VLAN 100. You can now configure the VLAN interface interface vlan100
with an ip address or other ethernet interface commands as desired.

 

No Comments -


No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment -