22 操作和配置Cisco IOS设备-启动路由器讲解
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
福建金科集团网络工程师系列教程
登录到路由器
福建金科集团网络工程师系列教程
路由器用户模式命令列表
wg_ro_c>? Exec commands: access-enable atmsig cd clear connect dir disable disconnect enable exit help lat lock login logout -- More --
福建金科集团网络工程师系列教程
浏览接口摘要
First, would you like to see the current interface summary? [yes]:
Interface BRI0 IP-Address unassigned OK? YES Method unset Status administratively down Protocol down
Basic management setup configures only enough connectivity for management of the system, extended setup will ask you to configure each interface on the system Would you like to enter basic management setup? [yes/no]: no
福建金科集团网络工程师系列教程
配置脚本的确认和应用
The following configuration command script was created: hostname Routerinterface BRI0 enable secret 5shutdown $1$/CCk$4r7zDwDNeqkxFO.kJxC3G0 enable passwordno sanfran ip address line vty 0 4 ! password sanjose interface Ethernet0 no snmp-server no shutdown ! ip address 10.1.1.31 255.255.255.0 no appletalk routing no mop enabled no decnet routing ! ip routing interface Serial0 no clns routingshutdown no ipx routing no ip address no vines routing <text omitted> no xns routing end no apollo routing isdn switch-type [0]basic-5ess Go to the IOS command prompt without saving this config. [1] Return back to the setup without saving this config. [2] Save this configuration to nvram and exit. Enter your selection [2]:
福建金科集团网络工程师系列教程
启动路由器
福建金科集团网络工程师系列教程
目标
通过完成这一节的学习,你将能够:
• 启动一台路由器并认识正常的启动顺序 • 在Cisco路由器上,使用命令行接口(CLI)与 Cisco IOS软件进行交互 • 使用命令行接口(CLI)提供的在线帮助工具
ቤተ መጻሕፍቲ ባይዱ
福建金科集团网络工程师系列教程
Create a temporary Access-List entry Execute Atm Signalling Commands Change current device Reset functions Open a terminal connection List files on given device Turn off privileged commands Disconnect an existing network connection Turn on privileged commands Exit from the EXEC Description of the interactive help system Open a lat connection Lock the terminal Log in as a particular user Exit from the EXEC
福建金科集团网络工程师系列教程
进行初始协议的配置
Configure LAT? [yes]: no Configure AppleTalk? [no]: Configure DECnet? [no]: Configure IP? [yes]: Configure IGRP routing? [yes]: no Configure RIP routing? [no]: Configure CLNS? [no]: Configure IPX? [no]: Configure Vines? [no]: Configure XNS? [no]: Configure Apollo? [no]:
down
down down down
在启动过程中找到的接口
福建金科集团网络工程师系列教程
设置初始全局参数
Configuring global parameters: Enter host name [Router]:ccna_lab The enable secret is a password used to protect access to privileged EXEC and configuration modes. This password, after entered, becomes encrypted in the configuration. Enter enable secret: ccna The enable password is used when you do not specify an enable secret password, with some older software versions, and some boot images. Enter enable password: alading The virtual terminal password is used to protect access to the router over a network interface. Enter virtual terminal password: cisco Configure SNMP Network Management? [no]:
• 只要输入的字符能够唯一确定一条命令,你可以将一个命令尽 可能地简写。
福建金科集团网络工程师系列教程
路由器特权模式命令列表
wg_ro_c#? Exec commands: access-enable access-profile access-template bfe cd clear clock configure connect copy debug delete dir disable disconnect enable erase exit help -- More -Create a temporary Access-List entry Apply user-profile to interface Create a temporary Access-List entry For manual emergency modes setting Change current directory Reset functions Manage the system clock Enter configuration mode Open a terminal connection Copy from one file to another Debugging functions (see also 'undebug') Delete a file List files on a filesystem Turn off privileged commands Disconnect an existing network connection Turn on privileged commands Erase a filesystem Exit from the EXEC Description of the interactive help system
BRI0:1
BRI0:2 Ethernet0 Serial0
unassigned
unassigned unassigned unassigned
YES
YES YES YES
unset
unset unset unset
administratively down
administratively down administratively down administratively down
福建金科集团网络工程师系列教程
设置接口参数
BRI interface needs isdn switch-type to be configured Valid switch types are : [0] none..........Only if you don't want to configure BRI. [1] basic-1tr6....1TR6 switch type for Germany [2] basic-5ess....AT&T 5ESS switch type for the US/Canada [3] basic-dms100..Northern DMS-100 switch type for US/Canada [4] basic-net3....NET3 switch type for UK and Europe [5] basic-ni......National ISDN switch type [6] basic-ts013...TS013 switch type for Australia [7] ntt...........NTT switch type for Japan [8] vn3...........VN3 and VN4 switch types for France Choose ISDN BRI Switch Type [2]: Configuring interface parameters: Do you want to configure BRI0 (BRI d-channel) interface? [no]: Do you want to configure Ethernet0 interface? [no]: yes Configure IP on this interface? [no]: yes IP address for this interface: 10.254.10.1 Subnet mask for this interface [255.0.0.0] : 255.255.255.0 Class A network is 10.0.0.0, 24 subnet bits; mask is /24 Do you want to configure Serial0 interface? [no]:
Cisco路由器的初始启动
• 系统启动程序初始化路由器软件 • 如果需要,路由器的启动顺序是可以选择的
福建金科集团网络工程师系列教程
路由器启动时的输出
未配置和已配置的路由器启动对比
福建金科集团网络工程师系列教程
Setup:初始配置对话
Router#setup
--- System Configuration Dialog --Continue with configuration dialog? [yes/no]: yes At any point you may enter a question mark '?' for help. Use ctrl-c to abort configuration dialog at any prompt. Default settings are in square brackets '[]'.