| Gzu521.comÑ§Ï°Íø |
|
following is a partial example of the setup routine: router# setup --- system configuration dialog --- 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 '[]'. continue with configuration dialog? [yes]: first, would you like to see the current interface summary? [yes]: interface ip-address ok? method status protocol ethernet0 172.16.72.2 yes manual up up serial0 unassigned yes not set administratively down down serial1 172.16.72.2 yes not set up up s.`l{H*(±¾ ÎÄÀ´ Ô´ÓÚ ÎÒ µÄѧ Ï°ÍøITÈÏ֤˼¿ÆÈÏÖ¤ htTP://WWw.GZu521.COm]s.`l{H* configuring global parameters: enter host name [router]: the enable secret is a one-way cryptographic secret used instead of the enable password when it exists. enter enable secret []: the enable password is used when there is no enable secret and when using older software and some boot images. enter enable password [ww]: enter virtual terminal password [ww]: configure snmp network management? [yes]: community string [public]: configure ip? [yes]: configure igrp routing? [yes]: your igrp autonomous system number [15]: configuring interface ethernet0: is this interface in use? [yes]: configure ip on this interface? [yes]: ip address for this interface [172.16.72.2]: number of bits in subnet field [8]: class b network is 172.16.0.0, 8 subnet bits; mask is /24 . . . 15. copy and manipulate configuration files you can copy a configuration file from a tftp server to the running configuration or to the startup configuration. when you copy a configuration file to the running configuration, you copy to and run the file from ram. when you copy a configuration file to the startup configuration, you copy it to the nonvolatile random-access memory (nvram). step 1 copy a file from a tftp server to the router copy tftp running-config or copy tftp startup-config step 2 when prompted enter the ip address or domain ip-address or name name of the server step 3 if prompted, enter the filename of the configuration filename file configuration files can also be copied from an rcp server to the local router as well. you must first specify the remote username: ip rcmd remote-username username use steps as above except replace tftp with rcp |UA4rFT?€( ´Ë_ÎÄ_À´_Ô´_ÓÚ_ÎÒ_µÄ_ѧ_ϰ_Íø ITÈÏ֤˼¿ÆÈÏÖ¤ ]|UA4rFT?€httP://Www.Gzu521.Com to view the configuration in nvrram show startup-config to view the current running configuration show running-config to re-execute the configuration commands located in nvram configure memory to erase the contents of nvram erase startup-config 16. list the commands to load cisco ios from: flash memory, a tftp server or rom. to configure a router to automatically boot an image in flash memory, perform the following tasks: task command step 1 enter configuration mode form the terminal configure terminal step 2 enter the filename of an image stored in flash memory boot system flash [filename] boot system flash slot0:[filename] boot system flash slot1:[filename] boot system flash bootflash:[filename] step 3 set the configuration register to enable loading image config-register value from flash memory (generally 0x2102) step 4 save configuration file copy running-config startup-config to configure a route to load a system image from a network server using tftp, rcp or mop, use the following commands: task command step 1 enter configuration mode form the terminal configure terminal step 2 specify the system image to be booted boot system [rcp | tftp] filename [ip address] from a network server using rcp, tftp or or mop. boot system mop filename [mac-address] [int] step 3 set the configuration register to enable loading config-register value |
ÔðÈα༣ºgzu521