How to Configure the VLAN on Catalyst

Switches That Run CatOS?
Difference between CatOS and Cisco OS Syste! Software
CatOS on the Su"er#isor $ngine and Cisco OS Software on the %S&C (Hybrid):
a CatOS image can be used as the system software to run the Supervisor Engine on
Catalyst '())*'))) Switches. If the optiona !S"C is instaed# a separate Cisco IOS
Software image is used to run the !S"C.
Cisco OS Software on both the Su"er#isor $ngine and %S&C ($ative): a singe
Cisco IOS Software image can be used as the system software to run both the
Supervisor Engine and !S"C on Cisco %&'' or Cisco '))) Switches.
Create VLANs and +orts
(efore you can create a )*+$# the switch must be in ),- server mode or ),-
transparent mode. If the switch is a ),- server# you must define a ),- domain name
before you can add any )*+$s.
.. /efine a ),- domain name.
0ou must define the ),- domain name regardess of:
 ,he number of switches in the networ1# whether one or many
 2hether you use ),- in order to propagate )*+$s to other switches in the
networ1
,his is the defaut ),- configuration on the switch:
CatosSwitch> (enable)show vtp domain
Domain Name Domain Index VTP Version Local Mode Password
-------------------------------- ------------ ----------- ----------- ----------
! ser"er -
Vlan-co#nt Max-"lan-stora$e Con%i$ &e"ision Noti%ications
---------- ---------------- --------------- -------------
' (!) ( disabled
Last *+dater V! Mode Pr#nin$ Pr#ne,li$ible on Vlans
.
--------------- -------- -------- -------------------------
(-(-(-( disabled disabled !-(((
Issue the set #t" command in order to set the domain name and mode.
CatosSwitch> (enable)set vtp domain ?
.name> Domain name
CatosSwitch> (enable)set vtp domain cisco ?
mode Set VTP mode
+asswd Set VTP +assword
+r#nin$ Set VTP +r#nin$
"! Set VTP "ersion !
CatosSwitch> (enable)set vtp domain cisco mode ?
client VTP client mode
ser"er VTP ser"er mode
trans+arent VTP trans+arent mode
CatosSwitch> (enable)set vtp domain cisco mode server
VTP domain cisco modi%ied
3. Issue the show #t" do!ain command in order to verify the ),- configuration.
CatosSwitch> (enable)show "t+ domain
Domain Name Domain Index VTP Version Local Mode Password
-------------------------------- ------------ ----------- ----------- ----------
cisco ! server -
Vlan-co#nt Max-"lan-stora$e Con%i$ &e"ision Noti%ications
---------- ---------------- --------------- -------------
' (!) disabled
Last *+dater V! Mode Pr#nin$ Pr#ne,li$ible on Vlans
--------------- -------- -------- -------------------------
(-(-(-( disabled disabled !-(((
4. +fter you set and verify the ),- domain# begin to create )*+$s on the switch.
3
(y defaut# there is ony a singe )*+$ for a ports. ,his )*+$ is caed defaut.
0ou cannot rename or deete )*+$ ..
Issue the show #lan command in order to dispay the parameters for a configured
)*+$s in the administrative domain.
CatosSwitch> (enable)show vlan
VL/N Name Stat#s I%Index Mod0Ports1 Vlans
---- -------------------------------- --------- ------- ------------------------------------------------
1 default active ' 1/1-2
3/1-48
4/1-16
((! %ddi-de%a#lt acti"e 2
(() to3en-rin$-de%a#lt acti"e 4
((5 %ddinet-de%a#lt acti"e 6
((' trnet-de%a#lt acti"e 7
VL/N T8+e S/ID MT* Parent &in$No 9rd$No St+ 9rd$Mode Trans Trans!
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
enet (((( '(( - - - - - ( (
((! %ddi (((! '(( - - - - - ( (
(() trcr% ((() '(( - - - - - ( (
((5 %dnet (((5 '(( - - - - - ( (
((' trbr% (((' '(( - - - ibm - ( (
VL/N D8nCreated &SP/N
---- ---------- --------
static disabled
((! static disabled
(() static disabled
((5 static disabled
((' static disabled
VL/N /&,:o+s ST,:o+s 9ac3#+ C&; < VL/N
---- ------- ------- ---------- -------
(() 6 6 o%%
a. Issue the set #lan command in order to create )*+$s.
CatosSwitch> (enable)set vlan
4
*sa$e= set "lan ."lan> .mod0+ort>
(/n exam+le o% mod0+ort is 01!0-!1)0-!150-!)
set "lan ."lan>n#m> ?name .name>@ ?t8+e .t8+e>@ ?state .state>@
?+"lan-t8+e .+"lan>t8+e>@
?said .said>@ ?mt# .mt#>@
?rin$ .hex>rin$>n#mber>@
?decrin$ .decimal>rin$>n#mber>@
?brid$e .brid$e>n#mber>@ ?+arent ."lan>n#m>@
?mode .brid$e>mode>@ ?st+ .st+>t8+e>@
?translation ."lan>n#m>@ ?bac3#+cr% .o%%Aon>@
?aremaxho+ .ho+co#nt>@ ?stemaxho+ .ho+co#nt>@
?rs+an@
(name B --)! characters1 state B (acti"e1 s#s+end)
t8+e B (ethernet1 %ddi1 %ddinet1 trcr%1 trbr%)
said B --5!45426!451 mt# B '62--74(
+"lan-t8+e B (+rimar81isolated1comm#nit81none)
hex>rin$>n#mber B (x--(x%%%1 decimal>rin$>n#mber B --5(4'
brid$e>n#mber B (x--(x%1 +arent B !--(('1 mode B (srt1 srb)
st+ B (ieee1 I9M1 a#to)1 translation B --(('
ho+co#nt B --))
Set "lan commands=
----------------------------------------------------------------------------
set "lan Set "lan in%ormation
set "lan ma++in$ Ma+ an 7(!-< "lan to an ,thernet "lan
CatosSwitch> (enable)set vlan 2 name cisco_vlan_2
Vlan ! con%i$#ration s#ccess%#l
b. Issue the show #lan command in order to verify the )*+$ configuration.
CatosSwitch> (enable)show vlan
VL/N Name Stat#s I%Index Mod0Ports1 Vlans
---- -------------------------------- --------- ------- --------------------
de%a#lt acti"e ' 0-!
)0-57
50-2
! cisco>"lan>! acti"e 6'
((! %ddi-de%a#lt acti"e 2
(() to3en-rin$-de%a#lt acti"e 4
((5 %ddinet-de%a#lt acti"e 6
((' trnet-de%a#lt acti"e 7
5
VL/N T8+e S/ID MT* Parent &in$No 9rd$No St+ 9rd$Mode Trans Trans!
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
enet (((( '(( - - - - - ( (
2 enet 100002 1500 - - - - - 0 0
((! %ddi (((! '(( - - - - - ( (
(() trcr% ((() '(( - - - - - ( (
((5 %dnet (((5 '(( - - - - - ( (
((' trbr% (((' '(( - - - I9M - ( (
C--- D#t+#t s#++ressed-
c. If you want to add ports to the )*+$# issue the set van van6number mod7ports
command.
CatosSwitch> (enable)set "lan ! )0-!
VL/N ! modi%ied-
VL/N modi%ied-
VL/N Mod0Ports
---- -----------------------------
! )0-!
'0
Note,
0ou can aso create the )*+$ and add the ports to that )*+$ with a the
information in a singe command.
"or e8ampe# if you want to create the third )*+$ and then assign ports 47.4 through
47.& to that )*+$# issue this command:
CatosSwitch> (enable)set vlan 3 3/13-15
Vlan ) con%i$#ration s#ccess%#l
VL/N ) modi%ied-
VL/N modi%ied-
VL/N Mod0Ports
---- -----------------------
) )0)-'
'0
5. Issue the show #lan command in order to verify the )*+$ configuration.
&
CatosSwitch> (enable)show vlan
VL/N Name Stat#s I%Index Mod0Ports1 Vlans
---- -------------------------------- --------- ------- ------------------------------------------------
de%a#lt acti"e ' 0-!
)02-57
50-2
2 cisco_vlan_2 active 5 3/1-12
3 !"#$0003 active 6 3/13-15
((! %ddi-de%a#lt acti"e 2
(() to3en-rin$-de%a#lt acti"e 4
((5 %ddinet-de%a#lt acti"e 6
((' trnet-de%a#lt acti"e 7
VL/N T8+e S/ID MT* Parent &in$No 9rd$No St+ 9rd$Mode Trans Trans!
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
enet (((( '(( - - - - - ( (
! enet ((((! '(( - - - - - ( (
) enet (((() '(( - - - - - ( (
((! %ddi (((! '(( - - - - - ( (
(() trcr% ((() '(( - - - - - ( (
((5 %dnet (((5 '(( - - - - - ( (
((' trbr% (((' '(( - - - I9M - ( (
C--- D#t+#t s#++ressed-
It refers from
www.cisco.com
More related:
Cisco switch naming rues
Cisco Catayst %&'' Series !i8ed !edia 9igabit Ethernet !odues (.)
Cisco Catayst %&'' Series !i8ed !edia 9igabit Ethernet !odues (3)
Cisco Catayst %&'' Series !i8ed !edia 9igabit Ethernet !odues (4)
More Cisco products and Reviews you can visit: http:77www.4anetwor1.com7bog

3Anetwork.com is a world leading Cisco networking products supplier, we supply original
new Cisco networking equipments, including Cisco Catalyst switches, Cisco routers,
%
Cisco firewalls, Cisco wireless products, Cisco modules and interface cards products at
competitive price and ship to worldwide.
Our website: http:www.3anetwork.com
!elephone: "#$%&3'()&**33
+mail: info,3Anetwork.com
Address: %3- .ucky /la0a, 31$&3%1 .ockhart 2oad, 3anchai, 4ongkong
: