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

[分享] CCNA LAB 64: Changing the Native VLAN and Shutting Down Unused Ports

[复制链接]
 成长值: 63730
发表于 2022-12-2 19:58:07 | 显示全部楼层 |阅读模式
本帖最后由 小乔 于 2022-12-2 19:59 编辑


Lab Objective:
The objective of this lab exercise is for you to learn and understand how to change the native VLAN to one other than VLAN1 and how to shut down unused switchports in order to prevent unauthorized access.

Lab Purpose:
Securing the switch involves knowing how to change the native VLAN as well as shutting down unused ports in case somebody plugs a device into one to try to gain network access.

Certification Level:
This lab is suitable for both ICND2 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 5 minutes.

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



Task 1:
Set any interface to trunk and then specify VLAN20 as the native VLAN for the trunk link.

Task 2:
Shut down ports FastEthernet 10 to 15, inclusive.

Task 3:
Issue the relevant show commands to prove your configurations.

Configuration and Verification
Task 1:
Sw1#show int fast0/5 switchport
Name: Fa0/5
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: none

Sw1#conf t
Sw1(config)#vlan20
Sw1(config-vlan)#name SUPPORT
Enter configuration commands, one per line.  End with CTRL/Z.
Sw1(config)#int fast0/5
Sw1(config-if)#switchport mode trunk
Sw1(config-if)#switchport trunk native vlan20
Task 2:
Sw1#conf t
Enter configuration commands, one per line.  End with CTRL/Z.
Sw1(config)#interface range f0/10 - f0/15
Sw1(config-if-range)#shutdown
The interface range command will not work on older switch models (sorry). Some models want you to have a space between the ranges and some don’t, so test it for yourself with the ?.

Task 3:
Sw1#show int fast0/5 switchport
Name: Fa0/5
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 20 (SUPPORT)


来源: CCNA LAB 59: Configuring IOS Device Logging to a SYSLOG Server
来源: CCNA LAB 60: Performing an IOS Upgrade
来源: CCNA LAB  61: Performing an IOS Upgrade Using FTP
来源: CCNA LAB 62: Performing Password Recovery
来源: CCNA LAB 63: Configuring Extended VLANs on Cisco Catalyst Switches
发表于 2022-12-13 10:08:42 | 显示全部楼层
感谢楼主的分享
地板 2022-12-13 10:08:42 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

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

GMT+8, 2025-2-24 03:48 , Processed in 0.111807 second(s), 27 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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