设为首页收藏本站language 语言切换
查看: 2147|回复: 2
收起左侧

[分享] CCNA LAB 5: 配置VLANs

[复制链接]
 成长值: 63730
发表于 2022-10-31 13:08:36 | 显示全部楼层 |阅读模式
本帖最后由 小乔 于 2022-10-31 13:11 编辑



Lab Objective:
The objective of this lab exercise is for you to learn and understand how to configure standard VLANs 1–1001 on Cisco Catalyst IOS Switches. In addition, you are also required to familiarize yourself with the commands available in Cisco IOS to validate and check your configurations.

Lab Purpose:
VLAN configuration is a fundamental skill. VLANs allow you to segment your network into multiple, smaller broadcast domains. As a Cisco engineer, as well as in the Cisco CCNA exam, you will be expected to know how to configure VLANs on Cisco switches.

Certification Level:
This lab is suitable for both CCENT and CCNA certification exam preparation.

Lab Difficulty:
This lab has a difficulty rating of 4/10.

Readiness Assessment:
When you are ready for your certification exam, you should complete this lab in no more than 10 minutes.

Lab Topology:
Please use the following topology to complete this lab exercise:

lab5.png


Task 1:
In preparation for VLAN configuration, configure a hostname on Sw1 as well as the VLANs depicted in the topology.

Task 2:
Configure ports FastEthernet0/5 to FastEthernet0/8 as access ports and assign them to the VLANs specified.

Task 3:
Verify your VLAN configuration using relevant show commands in Cisco IOS.


Configuration and Verification
Task 1:
Switch#config t
Enter configuration commands, one per line.  End with CTRL/Z.
Switch(config)#hostname Sw1
Sw1(config)#vlan10
Sw1(config-vlan)#name SALES
Sw1(config-vlan)#exit
Sw1(config)#vlan20
Sw1(config-vlan)#name MANAGERS
Sw1(config-vlan)#exit
Sw1(config)#vlan30
Sw1(config-vlan)#name ENGINEERS
Sw1(config-vlan)#exit
Sw1(config)#vlan40
Sw1(config-vlan)#name SUPPORT
NOTE: By default, Cisco switches are VTP servers so no configuration is necessary for server mode. Use the show vtp status command to look at the current VTP operating mode of the switch.

Task 2:
Sw1(config)#interface fastethernet0/5
Sw1(config-if)#switchport mode access
Sw1(config-if)#switchport access vlan10
Sw1(config-if)#exit
Sw1(config)#interface fastethernet0/6
Sw1(config-if)#switchport mode access
Sw1(config-if)#switchport access vlan20
Sw1(config-if)#exit
Sw1(config)#interface fastethernet0/7
Sw1(config-if)#switchport mode access
Sw1(config-if)#switchport access vlan30
Sw1(config-if)#exit
Sw1(config)#interface fastethernet0/8
Sw1(config-if)#switchport mode access
Sw1(config-if)#switchport access vlan40
Task 3:
Sw1#show vlan brief
VLAN Name                    Status    Ports
—- ———————– ——— ——————————-
1    default                 active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
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
Gi0/1, Gi0/2
10   SALES                   active    Fa0/5
20   MANAGERS                active    Fa0/6
30   ENGINEERS               active    Fa0/7
40   SUPPORT                 active    Fa0/8
1002 fddi-default            active
1003 token-ring-default      active
1004 fddinet-default         active
1005 trnet-default           active






来源: CCNA LAB 3:IPV6地址自动配置
来源: CCNA LAB 4: ARP and Proxy ARP
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-24 15:34 , Processed in 0.073555 second(s), 24 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表