Академический Документы
Профессиональный Документы
Культура Документы
BasicConfigureofaVLANonSwitch
0
More NextBlog
BasicConfigureofaVLANonSwitch
howtoconfigureaswitchportamemberosaVLAN?HowtoaddaVLANtoaVLANdatabase?
Saturday,7April2012
BasicConfigurationofVLANonSwitch
Hiifriends..Afteralongtime.IwassomewhatbusyinmyworkoktodaywillseehowtoconfigureaVLANona
switch
ItisverysimpletoconfigureaVLANonaswitch...justtakeaswitch....closeyoureyes....andsay3times...configureVLAN,configure
VLAN,configureVLAN.......thentheswitchisconfiguredwithVLAN....rememberitispossibleononlyspecialciscoswitch....
:D....heyjustkidding...butitissimplelikethisonly....................
connectaPCtoswitch(console)oryoucandoatelnet.
Switch>enable
Switch#
Switch#shovlanbrief
VLANNameStatusPorts
1defaultactiveFa0/1,Fa0/2,Fa0/3,Fa0/4
Fa0/5,Fa0/6,Fa0/7,Fa0/8
Fa0/9,Fa0/10,Fa0/11,Fa0/12
Fa0/13,Fa0/14,Fa0/15,Fa0/16
Fa0/17,Fa0/18,Fa0/19,Fa0/20
Fa0/21,Fa0/22,Fa0/23,Fa0/24
1002fddidefaultactive
1003tokenringdefaultactive
1004fddinetdefaultactive
1005trnetdefaultactive
Switch#
(as you go on the switch and give "sho vlan " command it will show you that by default all ports are member of vlan 1 and vlan
1002,1003,1004,1005aredefaultvlansavailable..youcanonlymogofyvlanfrom2to1002....nowwewilladdavlan10andmakeaport
0/1asamemberofit...keepinmindaportwhenamemberofonly1vlanyhenitiaaccessportanditthatisamemberofmorethan1then
thatiscalledastrunk..sowewillmakeport0/1asaccessport)
Switch#
Switch#configuret
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Switch(config)#vlan10
%LINK5CHANGED:InterfaceVlan10,changedstatetoup
(thiscommandcreateavlan)
Switch(configvlan)#namestar
(thisisoptionalyoutogiveanametoavlan)
Switch(configvlan)#ex
Switch(config)#
Switch(config)#intfastEthernet0/1
Switch(configif)#
Switch(configif)#switchportmodeaccess
(thiscommandmakeaportasaccessport)
Switch(configif)#switchportaccessvlan10
(thiscommandmakethatportmemberofvlan10)
Switch(configif)#ex
Switch(config)#
http://basicconfigvlan.blogspot.in/
1/3
5/7/2015
BasicConfigureofaVLANonSwitch
Switch(config)#
Switch(config)#ex
Switch#
%SYS5CONFIG_I:Configuredfromconsolebyconsole
Switch#
Switch#
Switch#shovlan
VLANNameStatusPorts
1defaultactiveFa0/2,Fa0/3,Fa0/4,Fa0/5
Fa0/6,Fa0/7,Fa0/8,Fa0/9
Fa0/10,Fa0/11,Fa0/12,Fa0/13
Fa0/14,Fa0/15,Fa0/16,Fa0/17
Fa0/18,Fa0/19,Fa0/20,Fa0/21
Fa0/22,Fa0/23,Fa0/24
10staractiveFa0/1
1002fddidefaultact/unsup
1003tokenringdefaultact/unsup
1004fddinetdefaultact/unsup
1005trnetdefaultact/unsup
VLANTypeSAIDMTUParentRingNoBridgeNoStpBrdgModeTrans1Trans2
1enet100001150000
10enet100010150000
1002fddi101002150000
1003tr101003150000
1004fdnet1010041500ieee00
1005trnet1010051500ibm00
RemoteSPANVLANs
PrimarySecondaryTypePorts
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#shovlanbri
Switch#shovlanbrief
VLANNameStatusPorts
1defaultactiveFa0/2,Fa0/3,Fa0/4,Fa0/5
Fa0/6,Fa0/7,Fa0/8,Fa0/9
Fa0/10,Fa0/11,Fa0/12,Fa0/13
Fa0/14,Fa0/15,Fa0/16,Fa0/17
Fa0/18,Fa0/19,Fa0/20,Fa0/21
Fa0/22,Fa0/23,Fa0/24
10staractiveFa0/1
1002fddidefaultactive
1003tokenringdefaultactive
1004fddinetdefaultactive
1005trnetdefaultactive
Switch#
(nowyoucanseethatthevlan10isaddedoneportfa0/1ismemberofvlan10)
hmm.thatwasverybasicconfig...afterthiswillseewhatisatrunk?whaytouseit?andwhatisVLANtrunkingprotocol(VTP)?howto
configureit?....sohappyNetworking....:D
PostedbyAkshayNawaleat21:26 Nocomments:
http://basicconfigvlan.blogspot.in/
2/3
5/7/2015
BasicConfigureofaVLANonSwitch
Labels:HowtoconfigureaVLANonswitch?
Location:Pune,Maharashtra,India
Home
Subscribeto:Posts(Atom)
Simpletemplate.Templateimagesbyluoman.PoweredbyBlogger.
http://basicconfigvlan.blogspot.in/
3/3