- 7
- 0
- 约7.99千字
- 约 19页
- 2026-09-03 发布于山西
- 举报
网络运维操作题库及答案
一、交换机基础配置操作题
1.某企业办公网需将接入层交换机S1的0/1-0/24端口划分至VLAN10(名称Office),0/25-0/48端口划分至VLAN20(名称Guest),所有Trunk端口(G0/1-G0/4)允许VLAN10、20通过,且NativeVLAN为VLAN1。请写出完整配置步骤及验证命令。
答案:
(1)进入全局配置模式:`configureterminal`
(2)创建VLAN并命名:
`vlan10`
`nameOffice`
`exit`
`vlan20`
`nameGuest`
`exit`
(3)配置接入端口(以0/1为例):
`interfaceFastEthernet0/1`
`switchportmodeaccess`
`switchportaccessvlan10`
`noshutdown`
`exit`
(重复上述步骤配置0/2-0/24为VLAN10,0/25-0/48为VLAN20)
(4)配置Trunk端口(以G0/1为例):
`interfaceGigabitEthernet0/1`
`switchportmodetrunk`
`switchporttrunkallowedvlan
原创力文档

文档评论(0)