Routing configuration practice: detailed configuration of leased line Routing

Source: Internet
Author: User

There are two channelized E1 interfaces on cisco 4500. The port bandwidth is 2 M, which is a channelized E1 port with time slot. Each E1 port can be divided into 30 time slots. The bandwidth for each time slot is 64 KB.

1. conf t
2. controller e1 0 0 indicates the location of the e1 port, 0 or 1)
3. framing crc4 (or no-crc4) indicates that the DDN switch provides the e1 line with the crc Check Code) or does not, the default router is framing crc4,

If the e1 signal is consistent with the configuration, the port is activated. (LA green light for channelized e1 port)


4. channel-group 0 0 is the order of the channel group, 0-30 (optional) timeslots time slot) 1. The time slot composition of the channel group, 1-31 (optional,

Any combination is allowed. Each time slot is 64 k. If the channel bandwidth is 128 k, the time slot can be 3-4, indicating that the time slot 3 and 4 constitute the channel)

5. end
6. wr write memory)
7. sh conf
8. interface Serial0: 0 indicates the new leased line port)
9. sh int
10. serial0: 0 is up, line protocol is down
11. conf t
12. Configure the route for this channel with int s0: 0
13. ip address 10.x255.255.255.252 (configure the address of this port)
14. end
15. ip route 10. * route 255.255.0 Serial0: 0 configure Static Routing)
16. wr

Guming

1. Configure the Ethernet Enthernet Port

# Conf t

Configure the router from the terminal.

# Int e0

Specify the E0 port.

# Ip addr ABCD XXXX

ABCD is the ethernet address, and XXXX is the subnet mask.

# Ip addr abcd xxxx secondary

The E0 port supports two address types at the same time. If the first

For Class A, the second is Class B or Class C.

# No shutdown

Activate E0 port.

# Exit

2. X.25 Configuration

# Conf t

# Int S0

S0 port.

# Ip addr ABCD XXXX

ABCD is the IP address of the Ethernet S0, and XXXX is the subnet mask ..

# Encap X25-ABC

Encapsulate the X.25 protocol. ABC specifies that X.25 is a DTC or DCE operation. The default value is DTE.

# X25 addr ABCD

ABCD is the X.25 port address of S0, which is provided by the post office.

# X25 map ip abcd xxxx br

The mapped X.25 address. ABCD is the peer router (for example, 0 ).

IP address. XXXX is the X.25 address of the Peer router (for example, 0.

# X25 htc X

Set the maximum number of two-way channels. The value range of X is 1-4095,

It must be configured according to the number provided by the post office.

# X25 nvc X

Configure the number of virtual circuits. X cannot exceed the actual number

The number provided. Otherwise, normal data transmission will be affected.

# Exit

3. leased line configuration

# Conf t

# Int S2

Specify S2 port.

# Ip addr ABCD XXXX

ABCD is the IP address of S2, and XXXX is the subnet mask.

# Exit

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.

# No nrzi_encoding

NRZI = NO

# Frame_relay lmi_type q933a

LMILocal management using the Q933A standard.

There are three types of interfaces: ANSI: T1.617; CCITTY: Q933A and CISCO-specific standards.

# Fram-relay intf-typ ABC

ABC is the frame relay device type. They are DTE devices,

DCE switch or NNI network contact interface.

# Frame_relay interface_dlci 110 br

Configure the DLCI (data link connection identifier ).

# Frame-relay map ip abcd xxxx broadcast

Creates a frame relay ing. ABCD is the peer

IP address. XXXX indicates the local DLCI number and broadcast.

Allow forward or update routing for broadcast.

# No shutdown

Activate this port.

# Exit

5. Configure the Frame Relay subinterface

# Conf t

# Int s0.1 point-to-point

Corresponding to S0 sub-interface 1, point-to-point mode.

# Ip addr ABCD XXXX

ABCD is the IP address of sub-Port 1, and XXXX is the subnet mask.

# Frame-relay intreface-dlci 100 br

6. Configure dial-up backup

(1) configure the backup Main Port

# Conf t

# Int s0

S0 is the main port.

# Backup int asy 1

A1 port is the backup port.

# Backup delay 0 1

1 second delay.

(2) Configure virtual Interfaces

# Conf t

# Ip addr ABCD XXXX

ABCD is the virtual interface IP address, and XXXX is the subnet mask.

# Encap ppp

Encapsulate the ppp protocol.

# Dialer in-band

Activate the call and dial function.

# Dialer idle-timeout 7200

# Dialer map ip ABCD modem-script call

The dial port corresponding to the broadcast 6225481 br ing.

ABCD is the IP address of the Peer dialing port, and 6225481 is the corresponding phone number.

# Dialer_group 1 defines the dial-up group members.

(3) configure the firewall

# Dialer_list 1 pro ip permit

Allow the IP protocol to pass.

(4) configure the connection password

# User name ABCD pass XXXX

ABCD is the host name of the other party, and XXXX is the connection password.

(5) configure the dialing string

# Conf t

# Chat-script call abort busy abort error "" atdt

6335481 TIMEOUT 45 "CONNECT"

6335481 is the recipient's phone number.

6) configure the dialing connection password

# Conf t

# Username ROU1 pass XXXX

ROU1 is the name of the Peer router, and XXXX is the connection password.

(7). Configure the line

# Conf t

# Line aux 0

# Modem inout

MODEM bidirectional transmission.

# Modem autoconfigure discovery

# Transport input all

# Rxspeed 51200

The sending and receiving rate of MODEM is 51200.

# Txspeed 51200

# Exit

7. Configure synchronous/asynchronous ports for 2522)

# Conf t

# Int s2

# Ph asyn

Configure S2 as an asynchronous port.

# Ph sync

Configure S2 as the synchronization port.

8. Dynamic Route Configuration

# Conf t

# Router VPN 20

Use the network routing protocol. Common routing protocols include RIP, IGRP, and IS-IS.

# Passive-interface serial0

If S0 is connected to X.25, enter this command.

# Passive-interface serial1

If S1 is connected to X.25, enter this command.

# Network ABCD

ABCD is the local ethernet address.

# Network XXXX

The IP address where XXXX is S0.

# No auto-summary

# Exit

9. Static route Configuration

# Ip router abcd xxxx yyyy 90

ABCD is the ethernet address of the Peer router; XXXX

It is the subnet mask. YYYY is the WAN port address corresponding to the other party.

# Dialer-list 1 protocol ip permail

10. Back up the configuration file to the hard disk

# copy run tftp

Create an empty file on the hard disk and have the read and write permissions.

11. Restore the backup configuration file to the vro

# copy tftp run

12. Create a backup on the vro

# copy run start

Vro has many configuration parameters, which can be increased or decreased as needed.

Iii. Commissioning


1. Activate the Ethernet port of the vroethernet and all the serial ports to be used by entering the port and executing No Shutdown.

2. add the Ethernet address of the default router in the host connected to the router: routeradd defaule XXXX 1 XXXX is the E0 address of the router ). A default route must be added to each host. Otherwise, communication will fail.

3. ping the Ethernet network port of the local router if it fails: 1) The Ethetnet network port is not activated; 2) it is not on the same network. If the wide-area network port is disconnected: no default route is added: router configuration error), if the router Ethernet port is disconnected: the router is configured incorrectly), if the host Ethernet port is disconnected: The other host does not add the default route ).

4. add a static gateway route on the primary machine of the leased line card (X.25). The method is to execute: router add X. x. x. X Y.Y. y.Y 1. X. X indicates the Ethernet address of the peer network, and Y.Y. Y.Y indicates the WAN address of the peer network.

5. Use Tracert to track the route to determine the CIDR block.

  1. Router port ing principles and settings
  2. How to configure vro Security
  3. Wireless worms may cause router security to be improperly configured.

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.