SlideShare a Scribd company logo
1 of 5
How to Configure a VLAN Cisco Router<br />VLANs help to organize large networks.<br />Configure a VLAN on a Cisco Router by using a sub interface. The sub interface commands allow you to specify that the interface should encapsulate frames according to the IEEE 802.1Q standard. You can also specify a VLAN number.<br />Instructions<br />1 <br />Use the name and password given to you by your system administrator to log in. <br />Log on the router and enter enable mode using the standard user name and password assigned to you by your system administrator. Enter an enable password if required.<br />2 <br />Identify which interface will have VLANs. <br />Identify which physical interface will connect to the switch and which VLAN number is in use. It is possible that more than one interface will connect to VLANs. Record each interface and the VLAN numbers that will connect to it. As an example, let's assume VLAN 25 and 26 will connect to interface Fastethernet 0/0 and VLAN 78 will connect to Fastethernet 0/1.<br />3. Enter configuration mode by typing quot;
configure terminalquot;
. The prompt will change from quot;
Router#quot;
 to quot;
Router(config)#quot;
.<br />4. Create or edit a subinterface. Type quot;
interface fastethernet 0/0.1quot;
. The prompt will change to quot;
Router(config-subif)#quot;
. The quot;
1quot;
 following a period after the interface number is the subinterface number. This command will create the subinterface if it does not exist or allow you to edit subinterface 1 if it does exist.<br />5. Configure the subinterface with IEEE 802.1Q encapsulation and enter one of the VLAN numbers. Use the command quot;
encapsulation dot1Q 25quot;
 to set this subinterface to handle VLAN 25.<br />6 <br />The addresses for each VLAN will come from the network design. <br />Enter the IP address for this VLAN. Each router virtual interface will need a unique IP address as designed in your IP address layout. For example, enter the command quot;
ip address 192.168.1.254 255.255.255.0quot;
. Both the address and the mask should come from your IP address design.<br />7. Enter quot;
exitquot;
 to return to the main configuration prompt of quot;
Router(config)#quot;
<br />8. Configure the remaining subinterfaces on all required physical interfaces. Use the same commands but substitute the VLAN numbers and IP address from your network plan. In this example, enter quot;
interface fastethernet 0/0.2quot;
, quot;
encapsulation dot1Q 26quot;
, quot;
ip address 192.168.26.254 255.255.255.0quot;
 and quot;
exitquot;
 to configure the second VLAN. The last VLAN in our example would be entered using the command quot;
interface fastethernet 0/1.1quot;
, quot;
encapsulation dot1Q 76quot;
, quot;
ip address 192.168.76.254 255.255.255.0quot;
, quot;
exitquot;
. When all information is entered type quot;
endquot;
 to exit configuration mode.<br />9. Verify the configuration by typing quot;
show runquot;
 at the router enable prompt of quot;
Router#quot;
. Make sure the commands were typed in correctly and the addresses and VLAN numbers match the numbers in your plan.<br />10 <br />Don't forget to save the configuration changes. <br />Save the configuration by entering the command quot;
copy running-config startup-configquot;
.<br />Tips & Warnings<br />The commands shown here are spelled out in long form so they may be more easily understood. A proficient Cisco operator would abbreviate the commands.<br />For example, quot;
configure terminalquot;
 would be abbreviated to quot;
conf tquot;
; quot;
interface would be abbreviated to quot;
intquot;
; quot;
fastethernetquot;
 would be abbreviated to quot;
fquot;
; quot;
running-configquot;
 would be abbreviated to quot;
runquot;
 and quot;
startup-configquot;
 would be abbreviated to quot;
startquot;
.<br />An alternative to the command quot;
copy run startquot;
 is quot;
wr mequot;
, meaning quot;
write memory.quot;
<br />Remember that the changes you make take effect immediately.<br />Be certain you are editing the subinterface.<br />Deleted subinterfaces may not actually disappear until the the next reload.<br />Notes: If you wanna know more about guides and tips for Cisco equipment, you can visit: http://blog.router-switch.com/<br />
How to configure a vlan cisco router
How to configure a vlan cisco router
How to configure a vlan cisco router
How to configure a vlan cisco router

More Related Content

More from IT Tech

More from IT Tech (20)

Cisco ip phone key expansion module setup
Cisco ip phone key expansion module setupCisco ip phone key expansion module setup
Cisco ip phone key expansion module setup
 
Cisco catalyst 9200 series platform spec, licenses, transition guide
Cisco catalyst 9200 series platform spec, licenses, transition guideCisco catalyst 9200 series platform spec, licenses, transition guide
Cisco catalyst 9200 series platform spec, licenses, transition guide
 
Cisco isr 900 series highlights, platform specs, licenses, transition guide
Cisco isr 900 series highlights, platform specs, licenses, transition guideCisco isr 900 series highlights, platform specs, licenses, transition guide
Cisco isr 900 series highlights, platform specs, licenses, transition guide
 
Hpe pro liant gen9 to gen10 server transition guide
Hpe pro liant gen9 to gen10 server transition guideHpe pro liant gen9 to gen10 server transition guide
Hpe pro liant gen9 to gen10 server transition guide
 
The new cisco isr 4461 faq
The new cisco isr 4461 faqThe new cisco isr 4461 faq
The new cisco isr 4461 faq
 
New nexus 400 gigabit ethernet (400 g) switches
New nexus 400 gigabit ethernet (400 g) switchesNew nexus 400 gigabit ethernet (400 g) switches
New nexus 400 gigabit ethernet (400 g) switches
 
Tested cisco isr 1100 delivers the richest set of wi-fi features
Tested cisco isr 1100 delivers the richest set of wi-fi featuresTested cisco isr 1100 delivers the richest set of wi-fi features
Tested cisco isr 1100 delivers the richest set of wi-fi features
 
Aruba campus and branch switching solution
Aruba campus and branch switching solutionAruba campus and branch switching solution
Aruba campus and branch switching solution
 
Cisco transceiver module for compatible catalyst switches
Cisco transceiver module for compatible catalyst switchesCisco transceiver module for compatible catalyst switches
Cisco transceiver module for compatible catalyst switches
 
Cisco ios on cisco catalyst switches
Cisco ios on cisco catalyst switchesCisco ios on cisco catalyst switches
Cisco ios on cisco catalyst switches
 
Cisco's wireless solutions deployment modes
Cisco's wireless solutions deployment modesCisco's wireless solutions deployment modes
Cisco's wireless solutions deployment modes
 
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dellCompetitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
 
Four reasons to consider the all in-one isr 1000
Four reasons to consider the all in-one isr 1000Four reasons to consider the all in-one isr 1000
Four reasons to consider the all in-one isr 1000
 
The difference between yellow and white labeled ports on a nexus 2300 series fex
The difference between yellow and white labeled ports on a nexus 2300 series fexThe difference between yellow and white labeled ports on a nexus 2300 series fex
The difference between yellow and white labeled ports on a nexus 2300 series fex
 
Cisco transceiver modules for compatible cisco switches series
Cisco transceiver modules for compatible cisco switches seriesCisco transceiver modules for compatible cisco switches series
Cisco transceiver modules for compatible cisco switches series
 
Guide to the new cisco firepower 2100 series
Guide to the new cisco firepower 2100 seriesGuide to the new cisco firepower 2100 series
Guide to the new cisco firepower 2100 series
 
892 f sfp configuration example
892 f sfp configuration example892 f sfp configuration example
892 f sfp configuration example
 
Cisco nexus 7000 and nexus 7700
Cisco nexus 7000 and nexus 7700Cisco nexus 7000 and nexus 7700
Cisco nexus 7000 and nexus 7700
 
Cisco firepower ngips series migration options
Cisco firepower ngips series migration optionsCisco firepower ngips series migration options
Cisco firepower ngips series migration options
 
Eol transceiver to replacement model
Eol transceiver to replacement modelEol transceiver to replacement model
Eol transceiver to replacement model
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

How to configure a vlan cisco router

  • 1. How to Configure a VLAN Cisco Router<br />VLANs help to organize large networks.<br />Configure a VLAN on a Cisco Router by using a sub interface. The sub interface commands allow you to specify that the interface should encapsulate frames according to the IEEE 802.1Q standard. You can also specify a VLAN number.<br />Instructions<br />1 <br />Use the name and password given to you by your system administrator to log in. <br />Log on the router and enter enable mode using the standard user name and password assigned to you by your system administrator. Enter an enable password if required.<br />2 <br />Identify which interface will have VLANs. <br />Identify which physical interface will connect to the switch and which VLAN number is in use. It is possible that more than one interface will connect to VLANs. Record each interface and the VLAN numbers that will connect to it. As an example, let's assume VLAN 25 and 26 will connect to interface Fastethernet 0/0 and VLAN 78 will connect to Fastethernet 0/1.<br />3. Enter configuration mode by typing quot; configure terminalquot; . The prompt will change from quot; Router#quot; to quot; Router(config)#quot; .<br />4. Create or edit a subinterface. Type quot; interface fastethernet 0/0.1quot; . The prompt will change to quot; Router(config-subif)#quot; . The quot; 1quot; following a period after the interface number is the subinterface number. This command will create the subinterface if it does not exist or allow you to edit subinterface 1 if it does exist.<br />5. Configure the subinterface with IEEE 802.1Q encapsulation and enter one of the VLAN numbers. Use the command quot; encapsulation dot1Q 25quot; to set this subinterface to handle VLAN 25.<br />6 <br />The addresses for each VLAN will come from the network design. <br />Enter the IP address for this VLAN. Each router virtual interface will need a unique IP address as designed in your IP address layout. For example, enter the command quot; ip address 192.168.1.254 255.255.255.0quot; . Both the address and the mask should come from your IP address design.<br />7. Enter quot; exitquot; to return to the main configuration prompt of quot; Router(config)#quot; <br />8. Configure the remaining subinterfaces on all required physical interfaces. Use the same commands but substitute the VLAN numbers and IP address from your network plan. In this example, enter quot; interface fastethernet 0/0.2quot; , quot; encapsulation dot1Q 26quot; , quot; ip address 192.168.26.254 255.255.255.0quot; and quot; exitquot; to configure the second VLAN. The last VLAN in our example would be entered using the command quot; interface fastethernet 0/1.1quot; , quot; encapsulation dot1Q 76quot; , quot; ip address 192.168.76.254 255.255.255.0quot; , quot; exitquot; . When all information is entered type quot; endquot; to exit configuration mode.<br />9. Verify the configuration by typing quot; show runquot; at the router enable prompt of quot; Router#quot; . Make sure the commands were typed in correctly and the addresses and VLAN numbers match the numbers in your plan.<br />10 <br />Don't forget to save the configuration changes. <br />Save the configuration by entering the command quot; copy running-config startup-configquot; .<br />Tips & Warnings<br />The commands shown here are spelled out in long form so they may be more easily understood. A proficient Cisco operator would abbreviate the commands.<br />For example, quot; configure terminalquot; would be abbreviated to quot; conf tquot; ; quot; interface would be abbreviated to quot; intquot; ; quot; fastethernetquot; would be abbreviated to quot; fquot; ; quot; running-configquot; would be abbreviated to quot; runquot; and quot; startup-configquot; would be abbreviated to quot; startquot; .<br />An alternative to the command quot; copy run startquot; is quot; wr mequot; , meaning quot; write memory.quot; <br />Remember that the changes you make take effect immediately.<br />Be certain you are editing the subinterface.<br />Deleted subinterfaces may not actually disappear until the the next reload.<br />Notes: If you wanna know more about guides and tips for Cisco equipment, you can visit: http://blog.router-switch.com/<br />