1、 yesAt 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 Basic management setup configures only enough connectivityfor management of the system, extended setup will ask youto configure each interface on t
2、he systemWould you like to enter basic management setup?/是否进行基本配置Configuring global parameters: Enter host name Router: Rack141R1/输入路由器的hostname The enable secret is a password used to protect access to privileged EXEC and configuration modes. This password, after entered, becomes encrypted in the c
3、onfiguration. Enter enable secret: cisco/输入路由器的特权md5密码 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:/输入路由器的特权密码(明文显示在配置文件中)% Please choose a password that is different from the enable sec
4、ret/不允许特权md5密码与特权密码(明文)相同 training/再次输入特权密码(明文) The virtual terminal password is used to protect access to the router over a network interface. Enter virtual terminal password: Configure SNMP Network Management? yes:/是否配置SNMP网管协议Community string public: public/配置SNMP网管协议的Communtiy社团值Current interfac
5、e summaryAny interface listed with OK? value NO does not have a valid configurationInterface IP-Address OK? Method Status ProtocolEthernet0/0 unassigned NO unset up up Ethernet0/1 unassigned NO unset up up unassigned NO unset up Serial1/0 unassigned NO unset up down Enter interface name used to conn
6、ect to themanagement network from the above interface summary: ethernet0/0/对路由器上的某个接口进行配置,输入接口的名称即可Configuring interface Ethernet0/0: Configure IP on this interface?/是否在接口上配置一个IP地址IP address for this interface: 192.168.0.1/配置接口的IP地址 Subnet mask for this interface 255.255.255.0 : Class C network is 1
7、92.168.0.0, 24 subnet bits; mask is /24The following configuration command script was created:hostname Rack141R1enable secret 5 $1$k39O$aQQirPZhZhVOS.TEvypiY/enable password trainingline vty 0 4password trainingsnmp-server community public!no ip routinginterface Ethernet0/0no shutdownip address 192.
8、168.0.1 255.255.255.0interface Ethernet0/1shutdownno ip addressinterface Serial1/0end0 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: 2/选择选存配置文件到NVRAM中(即生成startup-config
9、),并退出至命令提示行Building configuration.Use the enabled mode configure command to modify this configuration.Press RETURN to get started!*Mar 1 00:01:31.599: %SYS-5-RESTART: System restarted -Cisco Internetwork Operating System Software IOS (tm) 3600 Software (C3620-IS-M), Version 12.3(21), RELEASE SOFTWAR
10、E (fc2)Technical Support:Copyright (c) 1986-2006 by cisco Systems, Inc.Compiled Mon 06-Nov-06 14:22 by ccai31.627: %SNMP-5-COLDSTART: SNMP agent on host Rack141R1 is undergoing a cold startRack141R1了解用户模式、特权模式和全局模式了解思科IOS的不同配置模式登录路由器 noRouter/现在我们进入到了 User mode,在这个模式下我们使用 ? 号可以看到能够输入的命令输入 ? 号查看能够运行的
11、命令列表Exec commands: access-enable Create a temporary Access-List entry access-profile Apply user-profile to interface clear Reset functions connect Open a terminal connection disable Turn off privileged commands disconnect Disconnect an existing network connection enable Turn on privileged commands e
12、xit Exit from the EXEC help Description of the interactive help system lock Lock the terminal login Log in as a particular user logout Exit from the EXEC mls exec mls router commands mstat Show statistics after multiple multicast traceroutes mtrace Trace reverse multicast path from destination to so
13、urce name-connection Name an existing network connection pad Open a X.29 PAD connection ping Send echo messages ppp Start IETF Point-to-Point Protocol (PPP)进入特权模式enableRouter#/进行特权模式后,可以看到路由器的提示符由 变成了 #在特权模式下输入 ? 号查看能够运行的命令Router#?/输入?号查看可以运行的命令/与用户模式比较一下,看看有什么区别? access-template Create a temporary
14、Access-List entry bfe For manual emergency modes setting cd Change current directory clock Manage the system clock configure Enter configuration mode copy Copy from one file to another debug Debugging functions (see also undebug) delete Delete a file dir List files on a filesystem erase Erase a file
15、system no Disable debugging functions reload Halt and perform a cold restart show Show running system information slip Start Serial-line IP (SLIP) start-chat Start a chat-script on a line systat Display information about terminal lines telnet Open a telnet connection terminal Set terminal line param
16、eters test Test subsystems, memory, and interfaces traceroute Trace route to destination再退出到用户模式下Router#disable 现在进入到全局配置模式下enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z.Router(config)#/当从特权模式转到全局配置模式下时,路由器的提示符由 Router# 变成了 Router(config)# 在全局模式下输入 ? 号查
17、看一下支持的命令Router(config)#?/ 现在可以看到在全局模式下支持的命令明显的比较多Configure commands: aaa Authentication, Authorization and Accounting. access-list Add an access list entry alias Create command alias appletalk Appletalk global configuration commands arap Appletalk Remote Access Protocol arp Set a static ARP entry as
18、ync-bootp Modify system bootp parameters autonomous-system Specify local AS number to which we belong banner Define a login banner boot Modify system boot parameters bridge Bridge Group. buffers Adjust system buffer pool parameters busy-message Display message when connection to host fails call-hist
19、ory-mib Define call history mib parameters cdp Global CDP configuration subcommands chat-script Define a modem chat script clock Configure time-of-day clock config-register Define the configuration register controller Configure a specific controller decnet Global DECnet configuration subcommands def
20、ault Set a command to its defaults default-value Default character-bits values dialer Dialer watch commands dialer-list Create a dialer list entry dnsix-dmdp Provide DMDP service for DNSIX dnsix-nat Provide DNSIX service for audit trails downward-compatible-config Generate a configuration compatible
21、 with older software dss Configure dss parameters enable Modify enable password parameters end Exit from configure mode exception Exception handling exit Exit from configure mode file Adjust file system parameters frame-relay global frame relay configuration commands hostname Set systems network nam
22、e interface Select an interface to configure ip Global IP configuration subcommands ipx Novell/IPX global configuration commands key Key management line Configure a terminal line logging Modify message logging facilities login-string Define a host-specific login string map-class Configure static map
23、 class map-list Configure static map list memory-size Adjust memory size by percentage menu Define a user-interface menu mls mls router global commands modemcap Modem Capabilities database mop Configure the DEC MOP Server multilink PPP multilink global configuration netbios NETBIOS access control fi
24、ltering no Negate a command or set its defaults ntp Configure NTP partition Partition device printer Define an LPD printer priority-list Build a priority list privilege Command privilege parameters prompt Set systems prompt queue-list Build a custom queue list resume-string Define a host-specific re
25、sume string rif Source-route RIF cache rlogin Rlogin configuration commands rmon Remote Monitoring route-map Create route-map or enter route-map command mode router Enable a routing process rtr RTR Base Configuration scheduler Scheduler parameters service Modify use of network based services smrp Si
26、mple Multicast Routing Protocol configuration commands snmp-server Modify SNMP parameters stackmaker Specify stack name and add its member state-machine Define a TCP dispatch state machine subscriber-policy Subscriber policy tacacs-server Modify TACACS query parameters terminal-queue Terminal queue commands tftp-server Provide TFTP service for n
copyright@ 2008-2023 冰点文库 网站版权所有
经营许可证编号:鄂ICP备19020893号-2