赞
踩
一、实验目标
掌握采用telnet方式配置交换机的方法
二、技术原理
配置交换机的管理IP地址(计算机的IP地址与交换机管理IP地址在同一网段);
为telnet用户配置用户名和登录口令:
Switch(config)#enblepassword xxxx //设置进入特权模式的密码;
Switch(config-line)#password xxxx //可以设置通过console端口连接设备及telnet远程登录时所需要的密码。
Switch(config)#line console 0
Switch(config-line)#password xxxx //设置通过console端口连接设备的密码
Switch(config-line)#login
Switch(config)#line vty 0 4
Switch(config-line)#password xxxx //设置telnet远程登录密码
Switch(config-line)#login
三、实验步骤
实验拓扑
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
1、配置交换机的管理IP地址
Switch(config)#interface vlan1 //默认情况下交换机所有端口都处于 vlan 1 当中
Switch(config-if)#ip address 192.168.1.1 255.255.255.0 //配置交换机管理IP地址
Switch(config-if)#no shutdown //开启Interface Vlan1
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。