CISCO router WAN configuration instance

Source: Internet
Author: User

This article introduces the whole WAN configuration process with specific operation examples, and introduces the configuration principles and implementation steps. We also introduced POF and FR technologies.

Synchronous Serial Interface

1. This section describes the similarities between E1, T1, and T3.

Router # config t

Router (config) # controller e1 1

Router (config-controller) # channel-group 2 timeslots 1-10 speed 64

Router (config-controller) # channel-group 3 timeslots 11-13 speed 64 (SPEED value: 48 kbit/s, 56 kbit/s, 64 kbit/s-E1 default)

Router (config-controller) # cas-group 2 timeslots 1-10 type e & mfgb Router (config-controller) # service data (CAS false byte signaling, for T1 Transmission Group posts and clock)

Router (config-controller) # cas-group 3 timeslots 11-13 type e & mfgb

Service data

Router (config-controller) # clock source line primary/secondary | internal

(Reads the clock from the network or within the device for synchronization)

Router (config-controller) # framing sf/esf | crc4/nocrc4 (sf/esf-Router (config-controller) # T1, crc4/nocrc4-E1)

Router (config-controller) # linecode ami/b8zs/hdb3 (ami-T1, hdb3_e1)

Router (config-controller) # cablelength short 133/266 (optional, used if the cable length is less than 655 feet)

Router (config-controller) # cablelengh long gain26/-15 (optional, if the cable length is greater than 655 feet, the value is DB gain)

Router (config-controller) # line termination 75-ohm | 120-ohm (optional, meaning obvious)

Router (config-controller) # exit

Router (config) # interface s (where 1 is opposite to controller e1 1 and 2 is opposite to channel-group)

Router (config-interface) # physical-layer asynchronous (for port a/S)

Router (config-interface) # encapsulation ppp/hdlc (for all CISCO devices, HDCL is the default, but PPP is recommended)

Router (config-interface) # ppp authen chap

Router (config-interface) # ppp chap hostname wang

Router (config-interface) # ppp chap password wang

Router (config-interface) # compress stac/predictorhdlc only supports stc)

Router (config-interface) # crc 12 (optional, usually 16 bits)

Router (config-interface) # inver data (optional, used for non-B8ZS T1. If the DSU/CSU has been reversed, the ROUTER cannot be used)

Router (config-interface) # pulse-time 5 (for DRT pulse, optional)

Router (config-interface) # clock rate 56000 (a large number of optional values are used in DCE, depending on the specific situation. Generally, the high speed rate is used in short distances)

Router (config-interface) # transmit-clock internal 6

Router (config-interface) # scrmable)

Router (config-interface) # ip add 10.1.1.1 255.255.255.0

Router (config-interface) # no shut

Interface s1: 3 omitted

If it is an integrated T1 service module, commands must be different from other high-end modules)

SRouter (config-interface) # ervice-module t1 clock source internal/line (line by default)

Router (config-interface) # service-module t1 framing sf-esf

Wait. Basically, add service-module t1

2, POS, mainly introduces OC-3, STM-1 155M Interface

Router (config) # interface pos 3/1

Router (config) # pos framing-sdh

Router (config) # clock source

Router (config) # pos scramble-atm improves the conversion density of pyaload scrambling)

Router (config) # loop internale (start the environment test)

Router (config) # loop line Remote bad test)

Router (config) # no shut

Router (config) # ip add 10.1.1.1 255.255.255.0

Router (config) # aps working 1 working mode, where 1 is linked with the protection port value)

Router (config) # Or

Router (config) # aps prtect 1 192.168.1.1 255.255.0

Note: aps is an automatic protection switch. As the name suggests, aps can be set to work mode and protection mode)

Router (config) # crc 16/62

Router (config) # mtu 3000

3. There are enough frames in FR and frame relay, which is a little simpler.

Router (config) # interface s0/1

Router (config-interfcae) # encapsulation frame-relay cisco/ieft

Router (config-interfcae) # frame-relay lm-type ansi/cisco/q933a

Router (config-interfcae) # keepalive 15 (default value: 10 seconds)

Router (config-interfcae) # no shutdown

Sub-interface

Router (config-interfcae) # interface s0/1.1 point-to-point/multipoint (multi by default)

Router (config-interfcae) # frame-relay map ip 192.168.1.12 100 broadcast (ing the peer IP address to the local DLCI)

Router (config-interfcae) # frame-relay interfcae-dhci 100

Router (config-interfcae) # ip address 192.168.1.11 255.255.255.0

Another important configuration in FR is the integer and ing QOS.

4. Dial-up configuration (built-in MICA)

Router (config) # modem china mica

Router (config-pool) # modem-pool wang (MODEM pool name)

Router (config-pool) # pool-range (32-40) (line of MICA)

Router (config-pool) # alled-number 3333312 mxa-connection 3 find the modem pool by pulling in the number)

Router (config-pool) # exit

Line 32 40

Router (config-line) # transport input/all/output

Router (config-line) # autoselect ppp/slip

Router (config-line) # modem inout/dialin

Router (config-line) # modem prefrered none

Router (config-line) # speed 115200

Router (config-line) # flowcontrol hardware

Router (config-line) # stopbits 1

Router (config) # modem autoconf discovry

Router (config) # int xxx (too many posts, omitted)

The following are common MODEM diagnostics and maintenance commands:

Modem bad

Modem shutdown (active or disabled)

Modem recovery threshhold 10

Modem rrcovery-time 3 (points here)

Modem revovery action disable/download/none

Modem recovery maitenance action

Exit

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.