【說明】
某公司新購一批交換機對網(wǎng)絡進行升級改造,網(wǎng)絡工程師計劃對交換機進行配置,配置內(nèi)容如下:
1.配置交換機的基本信息,包括日期、時問、時區(qū)及名稱,以方便管理。
2.配置Console用戶界面的認證方式為AAA,實現(xiàn)通過Console口登錄交換機時需要本地認證的功能。
3.配置VLAN10作為管理VLAN,管理地址為172.16.100.1,接口GigabitEthernet0/0/24為管理接口。
4.開啟交換機Te1net功能,認證方式為AAA,便于對交換機進行遠程維護。
5.創(chuàng)建管理員用戶adminxyz,設置用戶發(fā)錄口令:xyz@789##
【問題1】(15分)
對交換機進行初始配置時,需使用PC機的(1)接口連接交換機的(2)接口,使用終端仿真軟件,設置其(3)、流控方式、停止位、數(shù)據(jù)位等參數(shù)登錄到交換機。設置日期、時間、時區(qū)及名稱時,應在(4)視圖下,使用(5)命令配置日期,使用clock timezone命令配置其時區(qū)和時間。
請根據(jù)配置內(nèi)容,補齊以下配置片段:
[Switch] vlan 10
[Switch-vlan10](6)//配置管理VLAN
Switch-vlan10] quit
[Switch] interface vlanif 10
Switch-Vlanif10]ip address(7)24
[Switch-Vlanif10] quit
Switch] 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)04
[Switch-ui-vty0-4]protocol inbound telnet
[Switch-ui-vty0-4Juser 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
privilegelevel ?[Y/N]y
[Switch-aaa] local-user adminxyz service-type(15)
[Switch-aaa]quit