
上QQ阅读APP看书,第一时间看更新
2.3.2 路由器的基本配置
1.模式转换
连接到路由器后,默认进入用户模式(User Mode),系统提示“>”。输入相应的命令进入特权模式、全局模式、子模式,并在这些模式中切换,熟练掌握不同模式下的常用命令。

方法1:从子接口模式退到全局模式(上一级)。

方法2:直接从子接口模式退出到特权模式(上两级)。

方法1:从路由子模式退到全局模式(上一级)。

方法2:直接从路由子模式退出到特权模式(上两级)。

2.命名路由器(Name the Router)

3.配置密码
配置进入特权模式的密码,即enable密码(Configuring Enable Passwords)。

验证:在Router>下输入enable后出现password,要求输入特权模式下的密码
4.配置Telnet登录密码(Configuring Console Passwords)

验证:只有配置好Telnet的口令后,才能在远端用“Telnet设备IP地址”命令登录到此设备,对其进行配置。

5.配置控制台访问密码(Configuring Console Passwords)

验证:按Enter键后,进入用户模式前,要求输入口令。
6.配置串行口(Configuring a Serial Interface)

7.配置以太口(Configuring an Ethernet Interface)

8.配置登录提示信息(Configuring Login Banners )

9.路由器Show命令解释(Show Command)
show命令可以同时在用户模式和特权模式下运行,用“show?”命令来提供一个可利用的show命令列表。

10.使用“?”
