您的位置:首页 > 其它

思科 路由器的配置 CISCO ROUTER 1700 CONFIGURING

2009-02-13 04:24 405 查看

Configuring Global Parameters

Follow these steps to configure the router for global parameters.
Command
Task
Step 1configure terminalEnter configuration mode.
Step 2service timestamps debug datetime msecConfigure the router to show the date and time of all debug messages.This command is optional, but it is recommended if you use debug commands to troubleshoot your configuration.
Step 3service timestamps log datetime msecConfigure the router to show the date and time of all log messages.This command is optional, but it is recommended if you use the verification steps described in this guide. This feature is enabled for all the command output examples shown in this guide.
Step 4ip subnet-zeroConfigure the router to use subnet zero for interface addresses and routing updates.
Step 5no ip domain-lookupDisable the IP Domain Name System (DNS)-based host name-to-address translation on the router.
Step 6ipx routing 0000.0caa.1111Enable IPX routing, and configure the router with an IPX address.

Configuring Security

Follow these steps to configure the router with security measures.
Command
Task
Step 1enable password <user>Specify a password to prevent unauthorized access to the router.
Step 2hostname RouterConfigure the router with a host name, which is used in prompts and default configuration filenames.For PPP authentication, the host name entered with this command must match the username of the central-site router.

Configuring the Fast Ethernet Interface

Follow these steps to configure the Fast Ethernet interface, which connects your router to the local network.
Command
Task
Step 1interface fastethernet0Enter configuration mode for the Fast Ethernet interface.
Step 2ip address 10.1.1.1 255.0.0.0Configure this interface with an IP address and a subnet mask. This interface must have an IP address assigned in order for the serial interface to be configured for IP unnumbered routing.
Step 3ipx network 100 encapsulation sapEnable IPX routing on this interface, assign the IPX network number, and configure the interface for IPX SAP encapsulation.
Step 4ipx network 100 encapsulation novell-ether secondaryConfigure a secondary IPX network that uses the default NetWare encapsulation.
Step 5no shutdownEnable the interface and the configuration changes you have just made on the interface.
Step 6exitExit configuration mode for this interface.

Configuring the Serial Interface

Follow these steps to configure the serial interface, which connects your router to the central-site router.
Command
Task
Step 1interface serial0Enter configuration mode for the serial interface.
Step 2description leased line to headquartersAdd a description of this interface to help you remember what is attached to it.
Step 3ip unnumbered FastEth0Enable IP routing on this interface without assigning an IP address.
Step 4ipx network AAAAEnable IPX routing on this interface, and assign an IPX network number.
Step 5encapsulation PPPConfigure this interface for PPP encapsulation.
Step 6no shutdownEnable this interface and the configuration changes you have just made on the interface.
Step 7exitExit configuration mode for this interface.

Configuring Dynamic Routing Parameters

Follow these steps to configure some dynamic routing parameters.
Command
Task
Step 1router ripEnable RIP routing on the router, and enter router configuration mode.
Step 2version 2Specify the router to use RIP version 2.
Step 3network 10.0.0.0Enable Enhanced Interior Gateway Routing Protocol (EIGRP) for this network.
Step 4no auto-summaryDisable automatic summarization of subnet routes into network-level routes.
Step 5ip classlessConfigure the router to forward packets addressed to a subnet of a network with no network default route.
Step 6exitExit router configuration mode.

Configuring Command-Line Access to the Router

Follow these steps to configure parameters that control access to the router.
Command
Task
Step 1line console 0Specify the console terminal line, and enter line configuration mode.
Step 2exec-timeout 5Set the interval that the EXEC command interpreter waits until user input is detected.
Step 3line vty 0 4Specify a virtual terminal for remote console access.
Step 4password <lineaccess>Specify a password on the line.
Step 5loginEnable password checking at terminal session login.
Step 6endExit configuration mode.

Verifying Your Configuration

You can verify your configuration by checking the serial interface configuration:Step 1

From privileged EXEC command mode, enter the show interface serial0 command. You should see output similar to the following:
Router# show interface ser0
Serial0 is up, line protocol is up
Hardware is PowerQUICC Serial
Description: leased line to headquarters
Interface is unnumbered.  Using address of FastEthernet0 (10.1.1.1)
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load
1/255
Encapsulation PPP, loopback not set, keepalive set (10 sec)
LCP Closed
.
.
.
Step 2 

Confirm that the "Serial0 is up, line protocol is up" message appears, as shown in the command output example.Step 3

Proceed as appropriate:•

If you see the "Serial0 is up, line protocol is up" message shown in the example command output, continue configuration by reentering global configuration mode.•

If you see one of the following messages instead of the "Serial0 is up, line protocol is up" message, see the "Troubleshooting Problems with Leased Lines" section for possible causes of the message and suggested actions:–

Serial0 is down, line protocol is down.–

Serial0 is up, line protocol is down.–

Serial0 is up, line protocol is up (looped).–

Serial0 is administratively down, line protocol is up.

Troubleshooting Problems with Leased Lines

Table 6-1 describes some common problems with leased lines, possible causes, and suggested actions for solving the problems. The table uses Serial 0 port as the location of the problems.Table 6-1 Possible Causes of and Suggested Actions for Solving Problems with Leased Lines
Line State
Possible Cause
Suggested Actions
Serial0 is down, line protocol is down.The router is not sensing a Carrier Detect (CD) signal as a result of one of the following:•

Telephone company problem, such as the line is down or not connected to the data service unit / channel service unit (DSU/CSU).•

Faulty or incorrect cabling of the router.•

Local DSU/CSU hardware failure.•

Local router hardware failure.
The following are some steps you can take to isolate the problem:•

Check the LEDs on the external DSU/CSU for CD activity.•

Refer to the Hardware Installation Guide to confirm that your router is correctly installed, using the appropriate cables.•

Contact the telephone company to determine if the leased line is down or not connected.•

Connect the leased line to another port, if possible. If the connection comes up, there is a hardware failure on the Serial 0 port. Contact your Cisco reseller.
Serial0 is up, line protocol is down.Possible causes for this line state are•

Local or remote router misconfigured.•

The remote router is not sending keepalive packets.•

Problem with the leased line.•

The serial clock transmit external is not set on the DSU/CSU.•

Local or remote DSU/CSU hardware failure.•

Router hardware failure.
The following are some steps you can take to isolate the problem:•

Perform DSU/CSU loopback tests. During local loopback, enter the show interface ser0 command. If the line protocol is shown as up, there might be a problem with the telephone company, or the remote router might be down.•

Refer to the Hardware Installation Guide to confirm that your router is correctly installed, using the appropriate cables.•

Connect the leased line to another port, if possible. If the connection comes up, there is a hardware failure on the Serial 0 port. Contact your Cisco reseller.
Serial0 is up, line protocol is up (looped).The possible cause is that a loop exists in the circuit. The sequence number in the keepalive packet changes to a random number when a loop is first detected. If the same random number is returned over the line, a loop exists.The following are some steps you can take to isolate the problem:•

Use the write terminal privileged EXEC command to display any instances of the loopback command. If the router has been configured with the loopback command, enter the no loopback command to remove the loop.•

Check to see whether the DSU/CSU is configured in manual loopback mode. If it is, disable manual loopback.•

Reset the DSU/CSU.•

If you are unable to isolate the problem, contact the telephone company for help with troubleshooting.
Serial0 is administratively down, line protocol is up.The possible causes for this state are•

The serial interface has been disabled with the shutdown interface configuration command.•

Different interfaces on the router are using the same IP address.
The following are some steps you can take to isolate the problem:•

Use the show configuration privileged EXEC command to display the serial port configuration. If "shutdown" is displayed after "interface Serial0," use the no shutdown interface configuration command to enable the interface.•

Use the show interface privileged EXEC command to display the IP addresses for all router interfaces. Use the ip address interface configuration command to assign unique IP addresses to the router interfaces.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: