Detailed steps for router configuration and debugging

Source: Internet
Author: User

I believe that many vro users still have a better understanding of vro configurations. Here we will mainly introduce the specific steps of vro configuration and debugging. vro plays an important role in the computer network, it is a bridge of computer networks. It not only connects to different networks, but also selects data transmission paths and blocks illegal access.

Router configuration is not very easy for beginners. Now we will introduce the vro configuration and simple debugging for your reference When configuring the vro. This article uses Cisco2501 as an example. Cisco2501 has an Ethernet port (AUI), a Console port (RJ45), an AUX port (RJ45), and two synchronous serial ports. It supports DTE and DCE devices, supports EIA/TIA-232, EIA/TIA-449, V.35, X.25, and EIA-530 interfaces.

1. Configure the Ethernet port

# Conf t (slave terminal router configuration)

# Int e0 (specified E0 port)

# Ip addr abcd xxxx (ABCD is an ethernet address and XXXX is a subnet mask)

# Ip addr abcd xxxx secondary (E0 port supports two address types at the same time. If the first one is A Class address, the second one is B or C Class address)

# No shutdown (activate E0 port)

# Exit

After completing the preceding configuration, run the ping command to check whether the E0 port is normal. If the port is not activated, it is often overlooked by beginners. Use the no shutdown command to activate the E0 port.

2. X.25 Configuration

# Conf t

# Int S0 (S0 port specified)

# Ip addr abcd xxxx (ABCD is the ip address of Ethernet S0, and XXXX is the subnet mask)

# Encap X25-ABC (encapsulate X.25 protocol. ABC specifies that X.25 is a DTE or DCE operation. The default value is DTE)

# X25 addr ABCD (ABCD is the X.25 port address of S0, provided by the Post Office)

# X25 map ip abcd xxxx br (mapped X.25 address. ABCD is the IP address configured for the peer router (for example, S0), and XXXX is the X.25 port address of the Peer router (for example, S0)

# X25 htc X (configure the maximum number of two-way channels. The value range of X is 1-4095. It must be configured according to the number actually provided by the Post Office)

# X25 nvc X (the number of virtual circuits configured, X cannot exceed the number actually provided by the post office; otherwise, normal data transmission will be affected)

# Exit

After the S0 port is configured, use the no shutdown command to activate the E0 port. If the ping to port S0 is normal, the ping mapped X.25 IP address means that the IP address of the Peer router cannot be configured, which may be caused by the following situations: 1) the local X.25 IP address is incorrectly configured, check with the Post Office again (the length of X.25 address is 13 characters); 2) the local ing IP address or X.25 address is incorrectly configured, And the configuration is correct; 3) the peer IP address or X.25 address is incorrectly configured; 4) the local or peer route configuration is incorrect. Can communicate with the other party, but packet loss occurs. In this case, there are generally the following possibilities: 1) Poor line conditions, or poor contact between the NIC and RJ45 plug; 2) the value range of x25 htc's maximum two-way channel number X and the number of x25nvc virtual circuits X exceed the number actually provided by the post office. The larger the maximum number of two-way channels and the number of virtual circuits, the better, but it must not exceed the number actually provided by the post office. Otherwise, packet loss may occur.

3. leased line configuration

# Conf t

# IntS2 (specifying S2 ports)

# Ip addr abcd xxxx (ABCD is an ip address of S2 and XXXX is a subnet mask)

# Exit

After the leased line port is configured, use the no shutdown command to activate the S2 port.

4. Frame Relay Configuration

# Conf t

# Int s0

# Ip addr abcd xxxx (ABCD is an ip address of S0, and XXXX is a subnet mask)

# Encap frante_relay (encapsulate the frante_relay Protocol)
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.