CISCO AUX BACK-TO-BACK 实例

Click on the routers in the topology below to view their configurations.

router 2500 AUX----NULL MODEN CABLE-----ROUTER 2500 AUX

Before You Begin

This configuration has Cisco 2500-series routers back-to-back using the async AUX port. The Cisco AUX port is connected to another Cisco AUX port running PPP. The connection has been configured to allow IP for a permanent connection.

Ingredients

For this recipe, you need the following:

A null modem cable.

You may also need an RJ45-to-DB25 adapter converter. For more information on cables, see the Cables documentation.

Router 1

version 11.1

service udp-small-servers

service tcp-small-servers

!

hostname Router1

!

interface Ethernet0

no ip address

shutdown

!

interface Serial0

no ip address

shutdown

!

interface Serial1

no ip address

shutdown

!

interface Async1

ip address 192.168.10.1 255.255.255.0

! -- the IP address on the AUX ports of both routers must be in the same subnet

encapsulation ppp

! -- set PPP as encapsulation

async dynamic routing

async mode dedicated

!

no ip classless

ip route 0.0.0.0 0.0.0.0 Async1

logging buffered

!

line con 0

exec-timeout 0 0

line aux 0

modem InOut

transport input all

rxspeed 38400

txspeed 38400

flowcontrol hardware

line vty 0 4

login

!

end

Router 2

version 11.1

service udp-small-servers

service tcp-small-servers

!

hostname Router2

!

!

interface Ethernet0

no ip address

shutdown

!

interface Serial0

no ip address

shutdown

!

interface Serial1

no ip address

shutdown

!

interface Async1

ip address 192.168.10.2 255.255.255.0

! -- the IP address on the AUX ports of both routers must be in the same subnet

encapsulation ppp

async dynamic routing

async mode dedicated

!

no ip classless

ip route 0.0.0.0 0.0.0.0 Async1

logging buffered

!

line con 0

exec-timeout 0 0

line aux 0

modem InOut

transport input all

rxspeed 38400

txspeed 38400

flowcontrol hardware

line vty 0 4

login

!

end

Debug and Show Commands to Use for Troubleshooting

Check under line aux 0:

Issue the show line aux 0 command.

Verify that all signals are up. For example, CTS, RTS, DTR, CD. If nothing appears next to them, they are up. If "No" appears next to them (for example, No-CTS), it means they are down.

Router1#show line aux 0

Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns

A 1 AUX 38400/38400 - inout - - - 0 0 0/0

Line 1, Location: "", Type: ""

Length: 24 lines, Width: 80 columns

Baud rate (TX/RX) is 38400/38400, no parity, 2 stopbits, 8 databits

Status: Ready, Active, Async Interface Active

Capabilities: Hardware Flowcontrol In, Hardware Flowcontrol Out

Modem Callout, Modem RI is CD, Line is permanent async interface

Modem state: Ready

Special Chars: Escape Hold Stop Start Disconnect Activation

^^x none - - none

Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch

00:10:00 never none not set

Modem type is unknown.

Session limit is not set.

Time since activation: 00:00:30

Editing is enabled.

History is enabled, history size is 10.

Full user help is disabled

Allowed transports are pad v120 telnet. Preferred is telnet.

No output characters are padded

No special data dispatching characters

Line is running PPP for address 192.168.10.2.

0 output packets queued, 1 input packets.

Async Escape map is 00000000000000000101000000000000

Modem hardware state: CTS* DSR* DTR RTS

Use the show line command to determine the async interface of the AUX ports. Though most routers have the AUX port as interface async 1, Access servers have the AUX port interface after the tty lines. For example, if your router has 16 async/modem lines, then the AUX port is line 17. In this case, the AUX port must be configured on interface async 17. Configure the AUX port based on the show line outputs. The example below verifies that the AUX port is on int async 1.

Router1#show line

Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns

* 0 CTY - - - - - 0 0 0/0

A 1 AUX 38400/38400 - inout - - - 0 0 0/0

2 VTY - - - - - 0 0 0/0

3 VTY - - - - - 0 0 0/0

4 VTY - - - - - 0 0 0/0

5 VTY - - - - - 0 0 0/0

6 VTY - - - - - 0 0 0/0

Use these debug commands to verify that the link comes up correctly:

debug ppp negotiation - To display information on PPP traffic and exchanges while negotiating Link Control Protocol (LCP), Authentication, and Network Control Protocol (NCP). A successful PPP negotiation will first open the LCP state, then Authenticate, and finally negotiate NCP. If CONFREQs are being sent out, but no CONFACKs being received, check that the cabling is correct and whether the correct line (interface async x) is configured.

debug ppp authentication - To display PPP authentication protocol messages, including Challenge Handshake Authentication Protocol (CHAP) packet exchanges and Password Authentication Protocol (PAP) exchanges.

debug ppp error - To display protocol errors and error statistics associated with PPP connection negotiation and operation.

Before attempting any of the above debug commands, please see Important Information on Debug Commands

文章录入:csh    责任编辑:csh

(0)

相关推荐

  • CISCO AUX BACK-TO-BACK 实例

    Click on the routers in the topology below to view their configurations. router 2500 AUX----NULL MODEN CABLE-----ROUTER 2500 AUX Before You Begin This configuration has Cisco 2500-series routers back-to-back using the async AUX port. The Cisco AUX po

  • Cisco基于策略路由的配置实例

    问题描述 您可以定义自己的规则来进行数据包的路由而不仅仅由目的地地址所决定.在这里 您可以学到怎么使用基于策略路由的办法来解决这一问题. 在具体的应用中,基于策略的路由有: ☆ 基于源IP地址的策略路由 ☆ 基于数据包大小的策略路由 ☆ 基于应用的策略路由 ☆ 通过缺省路由平衡负载 这里,讲述了第一种情况的路由策略. 举例 在这个例子中,防火墙的作用是:把10.0.0.0/8内部网地址翻译成可路由的172.16 .255.0/24子网地址. 下面的防火墙配置是为了完整性而加进去的,它不是策略路由

  • Cisco 2621 端口限速配置实例

    2610(config)# access-list 2 permit 192.168.0.15 0.0.0.63 2610(config)# class-map acgroup2 2610(config-cmap)# match access-group 2 2610(config-cmap)# exit 2610(config)# policy-map police 2610(config-pmap)# class acgroup2 2610(config-pmap-c)# police 20

  • 在Cisco交换机上实现隔离访问

    现在网络安全要求也越来越高了,一个局域网有时候也希望能够做到互相不能访问.我主要是给大家介绍一下在cisco的交换机上面如何来实现大家的需求.   在cisco 低端交换机中的实现方法: 1.通过端口保护(Switchitchport protected)来实现的. 2.通过PVLAN(private vlan 私有vlan)来实现. 主要操作如下: 相对来说cisco 3550或者2950交换机配置相对简单,进入网络接口配置模式: Switch(config)#int range f0/1 -

  • 详解Python实现字典合并的四种方法

    目录 1.用for循环把一个字典合并到另一个字典 2.用dict(b, **a)方法构造一个新字典 3.用b.update(a)的方法,更新字典 4.把字典转换成列表合并后,再转换成字典 (1)利用a.items().b.items()把a.b两个字典转换成元组键值对列表 (2)合并列表并且把合并后的列表转换成字典 5.实例,netmiko使用json格式的数据进行自动化操作 (1)json格式的处理 (2)json格式的设备信息列表 (3)netmiko读取json类型信息示例 1.用for循

  • Cisco 3640 VoIP配置实例

    下面是Cisco 3640的VOIP配置,结构是台北和上海两地做VOIP,后接阿尔卡特的PBX,里面有很多需要注意的地方. 台北配置代码: Taipei#sh runBuilding configuration...Current configuration:!version 12.0service timestamps debug uptime(设定Debug跟踪日志显示其时间)service timestamps log uptime(设定看Log时显示其时间)no service pass

  • Cisco路由器的备份配置方法

    Cisco路由器的备份技术有多种.这里介绍一下路由器自身的备份技术及线路备份技术. 一般来说,路由器是建立局域网与广域网连接的桥梁. 所谓的路由器自身的备份技术是为了解决路由器由于自身硬件(如内存.CPU)或软件IOS的某种故障或局域端口的故障,所连接局域设备的端口或线路的故障所导致的网络瘫痪的问题. 路由器的备份要求至少有一台与正在工作的主路由器功能相同的路由器,在主路由器瘫痪的情况下,以某种方式代替主路由器,为局域网用户提供路由服务. 对于局域网的计算机,在主路由器瘫痪的情况下,如何找到备份

  • CISCO 技术集合四

    五.ISDN 1. 综合数字业务网(ISDN) 综合数字业务网(ISDN)由数字电话和数据传输服务两部分组成,一般由电话局提供这种服务.ISDN的基本速率接口(BRI)服务提供2个B信道和1个D信道(2B+D).BRI的B信道速率为64Kbps,用于传输用户数据.D信道的速率为16Kbps,主要传输控制信号.在北美和日本,ISDN的主速率接口(PRI)提供23个B信道和1个D信道,总速率可达1.544Mbps,其中D信道速率为64Kbps.而在欧洲.澳大利亚等国家,ISDN的PRI提供30个B信

  • CISCO 技术集合六

    虚拟局域网(VLAN)路由 一.虚拟局域网(VLAN) 当前在我们构造企业网络时所采用的主干网络技术一般都是基于交换和虚拟网络的.交换技术将共享介质改为独占介质,大大提高网络速度.虚拟网络技术打破了地理环境的制约,在不改动网络物理连接的情况下可以任意将工作站在工作组或子网之间移动,工作站组成逻辑工作组或虚拟子网,提高信息系统的运作性能,均衡网络数据流量,合理利用硬件及信息资源.同时,利用虚拟网络技术,大大减轻了网络管理和维护工作的负担,降低网络维护费用.随着虚拟网络技术的应用,随之必然产生了在虚

  • 路由器NAT功能配置简介与实例

    路由器NAT功能配置简介 随着internet的网络迅速发展,IP地址短缺已成为一个十分突出的问题.为了解决这个问题,出现了多种解决方案.下面几绍一种在目前网络环境中比较有效的方法即地址转换(NAT)功能. 一.NAT简介 NAT(Network Address Translation)的功能,就是指在一个网络内部,根据需要可以随意自定义的IP地址,而不需要经过申请.在网络内部,各计算机间通过内部的IP地址进行通讯.而当内部的计算机要与外部internet网络进行通讯时,具有NAT功能的设备(比

随机推荐