SlideShare a Scribd company logo
1 of 9
Download to read offline
VLAN Configuration Commands
Table of Contents
Table of Contents
Chapter 1 VLAN Configuration Commands ....................................................................................... 1
1.1 VLAN Configuration Commands........................................................................................... 1
1.1.1 vlan............................................................................................................................. 1
1.1.2 name .......................................................................................................................... 2
1.1.3 switchport pvid............................................................................................................ 3
1.1.4 switchport mode ......................................................................................................... 3
1.1.5 switchport trunk .......................................................................................................... 4
1.1.6 show vlan ................................................................................................................... 6
- I -
VLAN Configuration Commands
Chapter 1 VLAN Configuration Commands
1.1 VLAN Configuration Commands
VLAN configuration commands include:
vlan
name
switchport pvid
switchport mode
switchport trunk
show vlan
1.1.1 vlan
To add a VLAN, use the vlan command. Use the no form of this command to delete a
VLAN.
[no] vlan vlan-id
Parameter
Parameter Description
vlan-id ID of the VLAN. Range is from 1 to 4094。
Default
none
Command mode
global
Instruction
Use this command to enter VLAN configuration mode and to modify some attributes of
the VLAN.
- 1 -
VLAN Configuration Commands
Example
This example shows how to add a new VLAN:
Switch_config#
Switch_config#vlan 2
Switch_config_vlan_2#
1.1.2 name
To assign a name to a VLAN, use the name command. Use the no form of this
command to remove the name assigned to a VLAN.
[no] name str
Parameter
Parameter Description
str Name of the defined VLAN。The name consists of up to 32
characters.
Default
The default VLAN name is ‘Default’. Other VLAN name is VLANxxxx (xxxx is 4-digit
stack ID)
Command mode
VLAN configuration mode
Instruction
This command can modify VLAN name to indicate special VLAN according to special
requirements.
Example
The following command modify vlan200 to main405.
Switch_config#
Switch_config#
Switch_config#vlan 200
Switch_config_vlan_200#name ?
WORD The ascii name of VLAN(32bytes)
Switch_config_vlan_200#name main405
- 2 -
VLAN Configuration Commands
1.1.3 switchport pvid
To configure port VLAN of in the access mode, use the switchport pvid command.
switchport pvid vlan-id
no switchport pvid
Parameter
Parameter Description
vlan-id VLAN ID of the port。 Range is from 1 to 4094。
Default
All ports are subordinate to VLAN 1.
Command mode
interface configuration mode
Instruction
Vlan of the pvid must exist before configuring this command. The port can be access
mode or frame relay mode.
Example
The following example configures interface fastethernet 0/1 as the access interface of
VLAN 10:
Switch(config)#interface f0/1
Switch(config)#vlan10
Switch(config-f0/1)#switchport pvid 10
1.1.4 switchport mode
To configure the interface mode, use the switchport mode command.
switchport mode {access | dot1q-tunnel | trunk}
Parameter
Parameter Description
access Sets a nontrunking, nontagged single VLAN Layer 2 interface.
- 3 -
VLAN Configuration Commands
dot1q-tunnel Sets the trunking mode to TUNNEL unconditionally.
trunk Specifies a trunking VLAN Layer 2 interface.
Default
Access mode
Command mode
interface configuration mode
Instruction
If you enter access mode, the interface goes into permanent nontrunking mode and
negotiates to convert the link into a nontrunk link even if the neighboring interface does
not agree to the change.
If you enter trunk mode, the interface goes into permanent trunking mode and
negotiates to convert the link into a trunk link even if the neighboring interface does not
agree to the change.
If you enter dot1q-tunnel mode, the port is set unconditionally as an 802.1Q tunnel
port.
The switchport mode command conflicts with 802.1X protocol. You cannot configure
802.1X protocol in trunk mode. 802.1X protocol is valid only in access mode.
Example
The following example configures the port to the trunk mode:
Switch(config-f0/1)#switchport mode trunk
1.1.5 switchport trunk
To set the trunk characteristics, use the switchport trunk commands. To reset all of the
trunking characteristics back to the original defaults, use the no form of this command.
[no] switchport trunk {vlan-allowed vlan-list} | {vlan-untagged vlan-list }
Parameter
Parameter Description
vlan-allowed Sets the list of allowed VLANs that transmit traffic from this
interface in tagged format. Value is from 1 to 4094.
vlan-untagged Sets the list of allowed VLANs that transmit traffic from this
interface in untagged format.Value is from 1 to 4094.
- 4 -
VLAN Configuration Commands
Default
The default native vlan ID is 1.
The valid VLAN ID is from 1 to 4094 (all VLANs).
Command mode
interface configuration
Instruction
You can use this command on an interface no matter it is in access or trunk mode. But
this command is valid only when the interface is in trunking mode.
The vlan-allowed parameter sets the list of allowed VLANs that transmit traffic from this
interface in tagged format. The vlan-untagged parameter sets the list of allowed VLANs
that transmit traffic from this interface in untagged format.
The vlan-list format is all | none | add | remove | except vlan-list[,vlan-list...] where:
•all—Specifies all VLANs from 1 to 1005. Beginning with Cisco IOS Release 12.4(15)T,
the valid VLAN ID range is from 1 to 4094.
•none—Indicates an empty list. This keyword is not supported in the switchport trunk
allowed vlan form of the command.
•add—Adds the defined list of VLANs to those currently set instead of replacing the
list.
•remove—Removes the defined list of VLANs from those currently set instead of
replacing the list.
•except—Lists the VLANs that should be calculated by inverting the defined list of
VLANs.
•vlan-list—Is either a single VLAN number from 1 to 1005 or a continuous range of
VLANs described by two VLAN numbers, the lesser one first, separated by a hyphen
that represents the VLAN IDs of the allowed VLANs when this port is in trunking mode.
Beginning with Cisco IOS Release 12.4(15)T, the valid VLAN ID range is from 1 to
4094.
Example
The following example configures VLAN ID range to 1-10:
Switch(config-f0/1)#switchport trunk vlan-allowed 1-10,20-30,55
Switch(config-f0/1)#switchport trunk vlan-untagged 2-1000
- 5 -
VLAN Configuration Commands
1.1.6 show vlan
To display VLAN information, use the show vlan command.
show vlan [id vlan-id | interface intf-id]
Parameter
Parameter Description
id Displays information about a single VLAN that is identified by a
VLAN ID number; valid values are from 1 to 4094.
interface Displays the specified interface
Default
none
Command mode
EXEC/ All configuration modes
Instruction
none
Example
The following example shows all VLAN information:
Switch#sho vlan
VLAN Status Name Ports
---- ------- ---------------- -------------------------------------------------
1 Static Default F0/1, F0/2, F0/3, F0/4, F0/5, F0/6, F0/7, F0/8
F0/9, F0/10, F0/11, F0/12, F0/13, F0/14, F0/15
F0/16, F0/17, F0/18, F0/19, F0/20, F0/21, F0/22
F0/23, F0/24, G1/1, G2/1, P1
2 Static VLAN0002 F0/3
3 Static VLAN0003 F0/3
4 Static VLAN0004 F0/3
5 Static VLAN0005 F0/3
6 Static VLAN0006 F0/3
Status: indicates the source of VLAN. Static: indicates the VLAN is formed by
configuration. Dynamic: indicates the VLAN is dynamically formed by GVRP protocol.
The following example shows the concrete information of a VLAN:
- 6 -
VLAN Configuration Commands
Switch> show vlan id 1
VLAN id: 1, Name: default, TotalPorts:11
Ports Atttributes
-----------------------------------------------------------------
F0/1 Trunk,Untagged
F0/2 Access
F0/5 Trunk,Untagged
F0/7 Trunk,Tagged
F0/8 Trunk,Tagged
F0/9 Trunk,Tagged
F0/11 Access
F0/12 Access
F0/14 Trunk,Tagged
F0/15 Trunk,Tagged
F0/16 Trunk,Untagged
The following example shows the relevant information about a VLAN on an interface:
Switch#sho vlan int f0/6
Interface VLAN
Name Property PVID Vlan-Map uTagg-VLan-Map
-------------------- -------- ---- ---------------- ----------------
FastEthernet0/6 Trunk 1 3,5,7,9,11,13,15 none
17,19
Switch#sho vlan int f0/7
Interface VLAN
Name Property PVID Vlan-Map uTagg-VLan-Map
-------------------- -------- ---- ---------------- ----------------
FastEthernet0/7 Access 7 7 ----
- 7 -

More Related Content

What's hot

Expl sw chapter_06_inter_vlan
Expl sw chapter_06_inter_vlanExpl sw chapter_06_inter_vlan
Expl sw chapter_06_inter_vlanaghacrom
 
App Note Vlan Br Vlanid Transl
App Note Vlan Br Vlanid TranslApp Note Vlan Br Vlanid Transl
App Note Vlan Br Vlanid TranslHussein Elmenshawy
 
How to create and delete vlan on cisco catalyst switch
How to create and delete vlan on cisco catalyst switchHow to create and delete vlan on cisco catalyst switch
How to create and delete vlan on cisco catalyst switchIT Tech
 
Final exam ccna exploration 3 lan switching and wireless
Final exam ccna exploration 3 lan switching and wirelessFinal exam ccna exploration 3 lan switching and wireless
Final exam ccna exploration 3 lan switching and wirelesskratos2424
 
Inter-VLAN Routing
Inter-VLAN RoutingInter-VLAN Routing
Inter-VLAN Routingrmosate
 
Vlan switch port modes
Vlan switch port modesVlan switch port modes
Vlan switch port modesIT Tech
 
Concepts: Management VLAN
Concepts: Management VLANConcepts: Management VLAN
Concepts: Management VLANJelmer de Reus
 
CCNA Lab 5-Configuring Inter-VLAN Routing
CCNA Lab 5-Configuring Inter-VLAN RoutingCCNA Lab 5-Configuring Inter-VLAN Routing
CCNA Lab 5-Configuring Inter-VLAN RoutingAmir Jafari
 
Cisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configurationCisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configuration3Anetwork com
 
VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)Naveen Soni
 
KPUCC-Rs instructor ppt_chapter3_final
KPUCC-Rs instructor ppt_chapter3_finalKPUCC-Rs instructor ppt_chapter3_final
KPUCC-Rs instructor ppt_chapter3_finalFisal Anwari
 

What's hot (17)

CCNA- part 9 vlan
CCNA- part 9 vlanCCNA- part 9 vlan
CCNA- part 9 vlan
 
Expl sw chapter_06_inter_vlan
Expl sw chapter_06_inter_vlanExpl sw chapter_06_inter_vlan
Expl sw chapter_06_inter_vlan
 
App Note Vlan Br Vlanid Transl
App Note Vlan Br Vlanid TranslApp Note Vlan Br Vlanid Transl
App Note Vlan Br Vlanid Transl
 
How to create and delete vlan on cisco catalyst switch
How to create and delete vlan on cisco catalyst switchHow to create and delete vlan on cisco catalyst switch
How to create and delete vlan on cisco catalyst switch
 
VTP
VTPVTP
VTP
 
VLAN
VLANVLAN
VLAN
 
Final exam ccna exploration 3 lan switching and wireless
Final exam ccna exploration 3 lan switching and wirelessFinal exam ccna exploration 3 lan switching and wireless
Final exam ccna exploration 3 lan switching and wireless
 
Cap6 intervlan routing
Cap6   intervlan routingCap6   intervlan routing
Cap6 intervlan routing
 
Inter-VLAN Routing
Inter-VLAN RoutingInter-VLAN Routing
Inter-VLAN Routing
 
Vlan switch port modes
Vlan switch port modesVlan switch port modes
Vlan switch port modes
 
Day 14.2 configuringvla ns
Day 14.2 configuringvla nsDay 14.2 configuringvla ns
Day 14.2 configuringvla ns
 
Concepts: Management VLAN
Concepts: Management VLANConcepts: Management VLAN
Concepts: Management VLAN
 
CCNA Lab 5-Configuring Inter-VLAN Routing
CCNA Lab 5-Configuring Inter-VLAN RoutingCCNA Lab 5-Configuring Inter-VLAN Routing
CCNA Lab 5-Configuring Inter-VLAN Routing
 
Cisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configurationCisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configuration
 
Ccna 9
Ccna  9Ccna  9
Ccna 9
 
VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)
 
KPUCC-Rs instructor ppt_chapter3_final
KPUCC-Rs instructor ppt_chapter3_finalKPUCC-Rs instructor ppt_chapter3_final
KPUCC-Rs instructor ppt_chapter3_final
 

Viewers also liked

La descripción.
La descripción.La descripción.
La descripción.Maria11398
 
авторитаризм и тоталитаризм
авторитаризм и тоталитаризмавторитаризм и тоталитаризм
авторитаризм и тоталитаризмTretyakova
 
Marketing strategist
Marketing strategistMarketing strategist
Marketing strategistdavisharrison
 
14_4_13548_1453905899_ICS-VLP Certificate
14_4_13548_1453905899_ICS-VLP Certificate14_4_13548_1453905899_ICS-VLP Certificate
14_4_13548_1453905899_ICS-VLP Certificatenullcodecomar
 
The planet earth
The planet earthThe planet earth
The planet earthAlexAlbios
 
Gestión básica de la información netiquetas
Gestión básica de la información netiquetasGestión básica de la información netiquetas
Gestión básica de la información netiquetasJohanna Calderon Ortega
 
1st evaluation planning_transnational_meeting
1st evaluation planning_transnational_meeting1st evaluation planning_transnational_meeting
1st evaluation planning_transnational_meetingAroa Vizcaíno Velardo
 
Nime hadiha-[www.prozhe.com]
Nime hadiha-[www.prozhe.com]Nime hadiha-[www.prozhe.com]
Nime hadiha-[www.prozhe.com]Hossein Goodarzi
 
BIM VOOR DE INSTALLATIETECHNIEK @ITANNEX
BIM VOOR DE INSTALLATIETECHNIEK @ITANNEXBIM VOOR DE INSTALLATIETECHNIEK @ITANNEX
BIM VOOR DE INSTALLATIETECHNIEK @ITANNEXJan Reedijk
 
Reactive power(www.mohsenasadi22.blogfar.com)
Reactive power(www.mohsenasadi22.blogfar.com)Reactive power(www.mohsenasadi22.blogfar.com)
Reactive power(www.mohsenasadi22.blogfar.com)Hossein Goodarzi
 
Подивись на бібліотеку по-новому
Подивись на бібліотеку по-новому Подивись на бібліотеку по-новому
Подивись на бібліотеку по-новому Алексей Мигунов
 
はたらく女性のためのフォーラム:日本のジェンダーギャップについて
はたらく女性のためのフォーラム:日本のジェンダーギャップについてはたらく女性のためのフォーラム:日本のジェンダーギャップについて
はたらく女性のためのフォーラム:日本のジェンダーギャップについてRyo Umezawa
 

Viewers also liked (20)

La descripción.
La descripción.La descripción.
La descripción.
 
Money vocab
Money vocabMoney vocab
Money vocab
 
авторитаризм и тоталитаризм
авторитаризм и тоталитаризмавторитаризм и тоталитаризм
авторитаризм и тоталитаризм
 
Marketing strategist
Marketing strategistMarketing strategist
Marketing strategist
 
Kondor 1
Kondor 1Kondor 1
Kondor 1
 
14_4_13548_1453905899_ICS-VLP Certificate
14_4_13548_1453905899_ICS-VLP Certificate14_4_13548_1453905899_ICS-VLP Certificate
14_4_13548_1453905899_ICS-VLP Certificate
 
Kondor 1 (1)
Kondor 1 (1)Kondor 1 (1)
Kondor 1 (1)
 
The planet earth
The planet earthThe planet earth
The planet earth
 
Articles 160915 archivo-pdf
Articles 160915 archivo-pdfArticles 160915 archivo-pdf
Articles 160915 archivo-pdf
 
Gestión básica de la información netiquetas
Gestión básica de la información netiquetasGestión básica de la información netiquetas
Gestión básica de la información netiquetas
 
1st evaluation planning_transnational_meeting
1st evaluation planning_transnational_meeting1st evaluation planning_transnational_meeting
1st evaluation planning_transnational_meeting
 
Nime hadiha-[www.prozhe.com]
Nime hadiha-[www.prozhe.com]Nime hadiha-[www.prozhe.com]
Nime hadiha-[www.prozhe.com]
 
BIM VOOR DE INSTALLATIETECHNIEK @ITANNEX
BIM VOOR DE INSTALLATIETECHNIEK @ITANNEXBIM VOOR DE INSTALLATIETECHNIEK @ITANNEX
BIM VOOR DE INSTALLATIETECHNIEK @ITANNEX
 
Comerciales grupo planeta
Comerciales grupo planetaComerciales grupo planeta
Comerciales grupo planeta
 
Reactive power(www.mohsenasadi22.blogfar.com)
Reactive power(www.mohsenasadi22.blogfar.com)Reactive power(www.mohsenasadi22.blogfar.com)
Reactive power(www.mohsenasadi22.blogfar.com)
 
Magnit fy2015
Magnit fy2015Magnit fy2015
Magnit fy2015
 
Подивись на бібліотеку по-новому
Подивись на бібліотеку по-новому Подивись на бібліотеку по-новому
Подивись на бібліотеку по-новому
 
Pagine da scienza e movimento 5
Pagine da scienza e movimento 5Pagine da scienza e movimento 5
Pagine da scienza e movimento 5
 
はたらく女性のためのフォーラム:日本のジェンダーギャップについて
はたらく女性のためのフォーラム:日本のジェンダーギャップについてはたらく女性のためのフォーラム:日本のジェンダーギャップについて
はたらく女性のためのフォーラム:日本のジェンダーギャップについて
 
ชุดการสอนที่ 2 ต่อมใต้สมอง อาบ ok
ชุดการสอนที่ 2 ต่อมใต้สมอง อาบ okชุดการสอนที่ 2 ต่อมใต้สมอง อาบ ok
ชุดการสอนที่ 2 ต่อมใต้สมอง อาบ ok
 

Similar to 06 vlan configuration commands

Vlan truks
Vlan truksVlan truks
Vlan truks1 2d
 
Лекц 9
Лекц 9Лекц 9
Лекц 9Muuluu
 
Vlan lab
Vlan labVlan lab
Vlan labtmim8
 
VIRTUAL LANS
VIRTUAL LANSVIRTUAL LANS
VIRTUAL LANSanilinvns
 
Day 5 VIRTUAL LANS
Day 5 VIRTUAL LANSDay 5 VIRTUAL LANS
Day 5 VIRTUAL LANSanilinvns
 
Guia completa vlan
Guia completa vlanGuia completa vlan
Guia completa vlan1 2d
 
Virtual LAN and Vlan Trunking Protocol.pptx
Virtual LAN and Vlan Trunking Protocol.pptxVirtual LAN and Vlan Trunking Protocol.pptx
Virtual LAN and Vlan Trunking Protocol.pptxmarunkumareee77
 
Config vlans
Config vlansConfig vlans
Config vlansamri am
 
How to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guideHow to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guideIT Tech
 
Vlan.pdf
Vlan.pdfVlan.pdf
Vlan.pdfitwkd
 
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram SnehiVLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram SnehiMR. VIKRAM SNEHI
 
VLANs_Module_3.pptx
VLANs_Module_3.pptxVLANs_Module_3.pptx
VLANs_Module_3.pptxBOURY1
 

Similar to 06 vlan configuration commands (20)

Vlan truks
Vlan truksVlan truks
Vlan truks
 
Vlan
VlanVlan
Vlan
 
Лекц 9
Лекц 9Лекц 9
Лекц 9
 
Vlan lab
Vlan labVlan lab
Vlan lab
 
VIRTUAL LANS
VIRTUAL LANSVIRTUAL LANS
VIRTUAL LANS
 
Day 5 VIRTUAL LANS
Day 5 VIRTUAL LANSDay 5 VIRTUAL LANS
Day 5 VIRTUAL LANS
 
Guia completa vlan
Guia completa vlanGuia completa vlan
Guia completa vlan
 
Virtual LAN and Vlan Trunking Protocol.pptx
Virtual LAN and Vlan Trunking Protocol.pptxVirtual LAN and Vlan Trunking Protocol.pptx
Virtual LAN and Vlan Trunking Protocol.pptx
 
Chapter 8 .vlan.pdf
Chapter 8 .vlan.pdfChapter 8 .vlan.pdf
Chapter 8 .vlan.pdf
 
Config vlans
Config vlansConfig vlans
Config vlans
 
How to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guideHow to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guide
 
VLAN Network for Extreme Networks
VLAN Network for Extreme NetworksVLAN Network for Extreme Networks
VLAN Network for Extreme Networks
 
VLAN
VLANVLAN
VLAN
 
Vlan.pdf
Vlan.pdfVlan.pdf
Vlan.pdf
 
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram SnehiVLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
VLAN Virtual Area Network ,Switch,Ethernet ,VIkram Snehi
 
Vlan
VlanVlan
Vlan
 
Scaling-VLANs-PPT.pptx
Scaling-VLANs-PPT.pptxScaling-VLANs-PPT.pptx
Scaling-VLANs-PPT.pptx
 
VLANs_Module_3.pptx
VLANs_Module_3.pptxVLANs_Module_3.pptx
VLANs_Module_3.pptx
 
Vla ns
Vla nsVla ns
Vla ns
 
Vla ns
Vla nsVla ns
Vla ns
 

Recently uploaded

FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607dollysharma2066
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITMgdsc13
 
Gram Darshan PPT cyber rural in villages of india
Gram Darshan PPT cyber rural  in villages of indiaGram Darshan PPT cyber rural  in villages of india
Gram Darshan PPT cyber rural in villages of indiaimessage0108
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Roomdivyansh0kumar0
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Roomdivyansh0kumar0
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Deliverybabeytanya
 
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)Christopher H Felton
 
Denver Web Design brochure for public viewing
Denver Web Design brochure for public viewingDenver Web Design brochure for public viewing
Denver Web Design brochure for public viewingbigorange77
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一Fs
 
Complet Documnetation for Smart Assistant Application for Disabled Person
Complet Documnetation   for Smart Assistant Application for Disabled PersonComplet Documnetation   for Smart Assistant Application for Disabled Person
Complet Documnetation for Smart Assistant Application for Disabled Personfurqan222004
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Roomishabajaj13
 

Recently uploaded (20)

FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITM
 
Gram Darshan PPT cyber rural in villages of india
Gram Darshan PPT cyber rural  in villages of indiaGram Darshan PPT cyber rural  in villages of india
Gram Darshan PPT cyber rural in villages of india
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
 
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
 
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
 
Denver Web Design brochure for public viewing
Denver Web Design brochure for public viewingDenver Web Design brochure for public viewing
Denver Web Design brochure for public viewing
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girls
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
 
Complet Documnetation for Smart Assistant Application for Disabled Person
Complet Documnetation   for Smart Assistant Application for Disabled PersonComplet Documnetation   for Smart Assistant Application for Disabled Person
Complet Documnetation for Smart Assistant Application for Disabled Person
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
 

06 vlan configuration commands

  • 2. Table of Contents Table of Contents Chapter 1 VLAN Configuration Commands ....................................................................................... 1 1.1 VLAN Configuration Commands........................................................................................... 1 1.1.1 vlan............................................................................................................................. 1 1.1.2 name .......................................................................................................................... 2 1.1.3 switchport pvid............................................................................................................ 3 1.1.4 switchport mode ......................................................................................................... 3 1.1.5 switchport trunk .......................................................................................................... 4 1.1.6 show vlan ................................................................................................................... 6 - I -
  • 3. VLAN Configuration Commands Chapter 1 VLAN Configuration Commands 1.1 VLAN Configuration Commands VLAN configuration commands include: vlan name switchport pvid switchport mode switchport trunk show vlan 1.1.1 vlan To add a VLAN, use the vlan command. Use the no form of this command to delete a VLAN. [no] vlan vlan-id Parameter Parameter Description vlan-id ID of the VLAN. Range is from 1 to 4094。 Default none Command mode global Instruction Use this command to enter VLAN configuration mode and to modify some attributes of the VLAN. - 1 -
  • 4. VLAN Configuration Commands Example This example shows how to add a new VLAN: Switch_config# Switch_config#vlan 2 Switch_config_vlan_2# 1.1.2 name To assign a name to a VLAN, use the name command. Use the no form of this command to remove the name assigned to a VLAN. [no] name str Parameter Parameter Description str Name of the defined VLAN。The name consists of up to 32 characters. Default The default VLAN name is ‘Default’. Other VLAN name is VLANxxxx (xxxx is 4-digit stack ID) Command mode VLAN configuration mode Instruction This command can modify VLAN name to indicate special VLAN according to special requirements. Example The following command modify vlan200 to main405. Switch_config# Switch_config# Switch_config#vlan 200 Switch_config_vlan_200#name ? WORD The ascii name of VLAN(32bytes) Switch_config_vlan_200#name main405 - 2 -
  • 5. VLAN Configuration Commands 1.1.3 switchport pvid To configure port VLAN of in the access mode, use the switchport pvid command. switchport pvid vlan-id no switchport pvid Parameter Parameter Description vlan-id VLAN ID of the port。 Range is from 1 to 4094。 Default All ports are subordinate to VLAN 1. Command mode interface configuration mode Instruction Vlan of the pvid must exist before configuring this command. The port can be access mode or frame relay mode. Example The following example configures interface fastethernet 0/1 as the access interface of VLAN 10: Switch(config)#interface f0/1 Switch(config)#vlan10 Switch(config-f0/1)#switchport pvid 10 1.1.4 switchport mode To configure the interface mode, use the switchport mode command. switchport mode {access | dot1q-tunnel | trunk} Parameter Parameter Description access Sets a nontrunking, nontagged single VLAN Layer 2 interface. - 3 -
  • 6. VLAN Configuration Commands dot1q-tunnel Sets the trunking mode to TUNNEL unconditionally. trunk Specifies a trunking VLAN Layer 2 interface. Default Access mode Command mode interface configuration mode Instruction If you enter access mode, the interface goes into permanent nontrunking mode and negotiates to convert the link into a nontrunk link even if the neighboring interface does not agree to the change. If you enter trunk mode, the interface goes into permanent trunking mode and negotiates to convert the link into a trunk link even if the neighboring interface does not agree to the change. If you enter dot1q-tunnel mode, the port is set unconditionally as an 802.1Q tunnel port. The switchport mode command conflicts with 802.1X protocol. You cannot configure 802.1X protocol in trunk mode. 802.1X protocol is valid only in access mode. Example The following example configures the port to the trunk mode: Switch(config-f0/1)#switchport mode trunk 1.1.5 switchport trunk To set the trunk characteristics, use the switchport trunk commands. To reset all of the trunking characteristics back to the original defaults, use the no form of this command. [no] switchport trunk {vlan-allowed vlan-list} | {vlan-untagged vlan-list } Parameter Parameter Description vlan-allowed Sets the list of allowed VLANs that transmit traffic from this interface in tagged format. Value is from 1 to 4094. vlan-untagged Sets the list of allowed VLANs that transmit traffic from this interface in untagged format.Value is from 1 to 4094. - 4 -
  • 7. VLAN Configuration Commands Default The default native vlan ID is 1. The valid VLAN ID is from 1 to 4094 (all VLANs). Command mode interface configuration Instruction You can use this command on an interface no matter it is in access or trunk mode. But this command is valid only when the interface is in trunking mode. The vlan-allowed parameter sets the list of allowed VLANs that transmit traffic from this interface in tagged format. The vlan-untagged parameter sets the list of allowed VLANs that transmit traffic from this interface in untagged format. The vlan-list format is all | none | add | remove | except vlan-list[,vlan-list...] where: •all—Specifies all VLANs from 1 to 1005. Beginning with Cisco IOS Release 12.4(15)T, the valid VLAN ID range is from 1 to 4094. •none—Indicates an empty list. This keyword is not supported in the switchport trunk allowed vlan form of the command. •add—Adds the defined list of VLANs to those currently set instead of replacing the list. •remove—Removes the defined list of VLANs from those currently set instead of replacing the list. •except—Lists the VLANs that should be calculated by inverting the defined list of VLANs. •vlan-list—Is either a single VLAN number from 1 to 1005 or a continuous range of VLANs described by two VLAN numbers, the lesser one first, separated by a hyphen that represents the VLAN IDs of the allowed VLANs when this port is in trunking mode. Beginning with Cisco IOS Release 12.4(15)T, the valid VLAN ID range is from 1 to 4094. Example The following example configures VLAN ID range to 1-10: Switch(config-f0/1)#switchport trunk vlan-allowed 1-10,20-30,55 Switch(config-f0/1)#switchport trunk vlan-untagged 2-1000 - 5 -
  • 8. VLAN Configuration Commands 1.1.6 show vlan To display VLAN information, use the show vlan command. show vlan [id vlan-id | interface intf-id] Parameter Parameter Description id Displays information about a single VLAN that is identified by a VLAN ID number; valid values are from 1 to 4094. interface Displays the specified interface Default none Command mode EXEC/ All configuration modes Instruction none Example The following example shows all VLAN information: Switch#sho vlan VLAN Status Name Ports ---- ------- ---------------- ------------------------------------------------- 1 Static Default F0/1, F0/2, F0/3, F0/4, F0/5, F0/6, F0/7, F0/8 F0/9, F0/10, F0/11, F0/12, F0/13, F0/14, F0/15 F0/16, F0/17, F0/18, F0/19, F0/20, F0/21, F0/22 F0/23, F0/24, G1/1, G2/1, P1 2 Static VLAN0002 F0/3 3 Static VLAN0003 F0/3 4 Static VLAN0004 F0/3 5 Static VLAN0005 F0/3 6 Static VLAN0006 F0/3 Status: indicates the source of VLAN. Static: indicates the VLAN is formed by configuration. Dynamic: indicates the VLAN is dynamically formed by GVRP protocol. The following example shows the concrete information of a VLAN: - 6 -
  • 9. VLAN Configuration Commands Switch> show vlan id 1 VLAN id: 1, Name: default, TotalPorts:11 Ports Atttributes ----------------------------------------------------------------- F0/1 Trunk,Untagged F0/2 Access F0/5 Trunk,Untagged F0/7 Trunk,Tagged F0/8 Trunk,Tagged F0/9 Trunk,Tagged F0/11 Access F0/12 Access F0/14 Trunk,Tagged F0/15 Trunk,Tagged F0/16 Trunk,Untagged The following example shows the relevant information about a VLAN on an interface: Switch#sho vlan int f0/6 Interface VLAN Name Property PVID Vlan-Map uTagg-VLan-Map -------------------- -------- ---- ---------------- ---------------- FastEthernet0/6 Trunk 1 3,5,7,9,11,13,15 none 17,19 Switch#sho vlan int f0/7 Interface VLAN Name Property PVID Vlan-Map uTagg-VLan-Map -------------------- -------- ---- ---------------- ---------------- FastEthernet0/7 Access 7 7 ---- - 7 -