【考生回忆版】【说明】
某公司新购一批交换机对网络进行升级改造,网络工程师计划对交换机进行配置,配置内容如下:
1.配置交换机的基本信息,包括日期、时间、时区及名称,以方便管理。
2.配置 Console用户界面的认证方式为 AAA,实现通过 Console 口登录交换机时需要本地认证的功能。
3.配置 VLAN 10作为管理 VLAN,管理地址为 172.16.100.1,接口GigabitEthernet 0/0/24 为管理接口。
4.开启交换机 Telnet 功能,认证方式为AAA,便于对交换机进行远程维护。
5.创建管理员用户 adminxyz,设置用户发录口令:xyz@789##。
【问题1】(15分)
对交换机进行初始配置时,需使用PC机的(1)接口连接交换机的(2)接口,使用终端仿真软件,设置其(3)、流控方式、停止位、数据位等参数登录到交换机。设置日期、时间、时区及名称时,应在(4)视图下,使用(5)命令配置日期,使用 clock timezone 命令配置其时区和时间。
请根据配置内容,补齐以下配置片段:
[Switch] vlan 10
[Switch-vlan10](6)//配置管理 VLAN
[Switch-vlan10] quit
[Switch] interface vlanif 10
[Switch-Vlanif10] ip address(7)24
[Switch-Vlanif10] quit
[Switchl interface GigabitEthernet 0/0/24
[Switch-GigabitEthernet0/0/24] port link-type(8)
[Switch-GigabitEthernet0/0/24] port default(9)
[Switch-GigabitEthernet0/0/24] quit
[Switch] telnet server(10)
[Switch] telnet server source -i GigabitEthernet 0/0/24
[Switch] user-interface(11)0-4
[Switch-ui-vty0-4] protocol inbound telnet
[Switch-ui-vty0-4] user privilege level 15
[Switch-ui-vty0-4] authentication-mode(12)
[Switch-ui-vty0-4] quit
[Switch] aaa
[Switch-aaa] local-user(13)password irreversible-cipher xyz@789##
[Switch-aaa] local-user adminxyz privilege level 15 //(14)
Warning: This operation may affect online users, are you sure to change the user privilege level?[Y/N]y
[Switch-aaa] local-user adminxyz service-type(15)
[Switch-aaa] quit
[Switch]