Cisco 3548交换机采用telnet远程管理方式进行配置,其设备管理地址是222.38.12.23/24,缺省路由是222.38.12.1。下列对交换机预先进行的配置,正确的是( )。

admin2017-09-26  28

问题 Cisco 3548交换机采用telnet远程管理方式进行配置,其设备管理地址是222.38.12.23/24,缺省路由是222.38.12.1。下列对交换机预先进行的配置,正确的是(    )。

选项 A、Switch-3548(config)#interface vlan1
Switch-3548(config-if)#ip address 222.38.12.23 255.255.255.0
Switch-3548(config-if)#ip default-gateway 222.38.12.1
Switch-3548(config-if)#exit
Switch-3548(config)#line vty 0 4
Switch-3548(config-line)#password 7 ccc
Switch-3548(config-line)#exit
B、Switch-3548(config)#interface vlan1
Switch-3548(config-if)#ip address 222.38.12.23 255.255.255.0
Switch-3548(config-if)#exit
Switch-3548(config)#ip default-gateway 222.38.12.1
Switch-3548(config)#line vty 0 4
Switch-3548(config-line)#assword 7 ccc
Switch-3548(config-line)#exit
C、Switch-3548(config)#interface vlan1
Switch-3548(config-if)#ip address 222.38.12.23 255.255.255.0
Switch-3548(config-if)#exit
Switch-3548(config)#ip default-route 222.38.12.1
Switch-3548(config)#line vty 0 4
Switch-3548(config-line)password 7 ccc
Switch-3548(config-line)#exit
D、Switch-3548(config)#interface vlan1
Switch-3548(config-if)#ip address 222.38.12.23 255.255.255.0
Switch-3548(config-if)#exit
Switch-3548(config)#ip default-gateway 222.38.12.1
Switch-3548(config)#line aux 0 4
Switch-3548(config-line)password 7 ccc
Switch-3548(config-line)#exit

答案B

解析 交换机telnet远程管理方式进行配置。以Cisco 3548交换机为例:
    步骤一:进入端口配置模式(config)#interface vlan1
    步骤二:配置端口通信IP地址与子网掩码(config-if)#ip address 222.38.12.23 255.255.255.0
    步骤三:退出(config-if)#exit
    步骤四:配置缺省路由(config)#ip default-gateway 222.38.12.1
    步骤五:配置远程登录口令(config)#line vty 0 4(config-line)#password 7 ccc
    步骤六:退出(config-line)#exit
    因此B选项正确。
转载请注明原文地址:https://kaotiyun.com/show/RApZ777K
0

最新回复(0)