Monday, January 3, 2011

【 Weak current College 】 address configuration on the router's detailed description


Router address configuration is a router configuration is the main part of the new purchase router configuration file is empty, you must edit the router configuration file, and writes it to the NVRAM router. In this way, when you next start the router configuration file to perform the operation. In General, from the original state configuration, the following step:

Router address configuration (1) it is necessary to explain the router machine name

For example, to set the router machine name is interpreted using the following command cisco2600,:
router>enable
passWord:******
router#configterminal
router(config)#hostnamecisco2600

Router address configuration 2. Configuring the privileged mode password

In the operation of the router, enter the "enable" to enter the corresponding password. In order to configure the password to be used in configuration mode are as follows:
router(config)#enablesecretmypassword
To change the password mypassword.

Router address configuration 3. configure port information

1) configure the Ethernet port:
In configuration mode, enter the following command:
router(config)#interfaceethernet0/0
router(config-if)#ipaddress202.102.224.25255.255.255.0

Configure synchronization port 2)
router(config)#interfaceserial0/0
router(config-if)#ipaddress202.102.211.108255.255.255.248

Article 1 of the above commands are entered port configuration mode, the article 2 commands are configured for this port's IP address and subnet mask. You asked about.

Router address configuration 4. save the configuration

On the configuration of the router to perform modifications, be sure to store them in the NVRAM to in the next time you start, to this end, the need to use the following command: # copyrunning-configstartup-config router. In router different operations level, you can enter "?" symbol to see the current command can be used. For configuration file did not want statement, simply use the "no" command, and then add the whole statement to delete. More detailed configuration, you can look up CISCO's professional site.

You say "how to make it in the router > State", or concept is not very clear. This router status call operations prompt >.
Configure the router has 2 main forms, in addition to manual configuration, that is, the command line above stresses form; there is also a Setup program is run, this is an IOS configuration software provided by interactive, applicable to IOS commands are not too familiar with the new user. IOS has multiple levels of operation, in different levels, the use of command, to perform the configuration work differently. Distinguish between the different levels, mainly at the router IOS tips symbols is different levels have different prompts symbols.

Level 1: user-mode.

To enter the Telnet terminal or a router, you may be prompted to enter a password, enter the password after it has entered a level 1, that is, user-mode level. At this point, the system prompt is ">". If the name is a cisco2600 router, then the prompt to "cisco2600 >". At this level, users can only view the basic status of the router, you cannot perform the configuration.

Level 2: privileged mode.

In user mode to enter the "enable" and then enter the corresponding password, enter the first 2-level privilege mode. Privileged mode of the system is "#" prompt, as follows: Cisco2600 > enable, Password: * ** * ** *, Cisco2600 # at this level, users can use show and debug commands perform the configuration check. You also cannot perform router configuration modifications, if you want to modify the router configuration, you must also enter level 3.

Level 3: configuration mode.

This mode allows the user to modify the configuration of the router and true. Access Essentials at level 3 is in privileged mode, enter the command "configterminal", the prompt to "(config) #".Follows: Cisco2600 # configterminal, Cisco2600 (config) #, at this point, users can modify the configuration of the router and true, for example, configure a static route to the router tables, and detailed configuration command to reference the router configuration document. If you want to configure detailed port, had to go to level 4.

Level 4: port configuration mode.

There are various ports in the router, 10/100Mbps Ethernet port and sync port, etc. To perform the configuration of the ports, need to enter the port configuration mode. For example, now want to Ethernet port 0 perform configuration (the port on the router has a number, please refer to the router random document), use command interfaceethernet0, as follows: Cisco2600 (config) # interfaceethernet0,Cisco2600(config-int)#。





No comments:

Post a Comment