1. 业奇农业网 > 百科 >

帧中继命令show

FR全名为frame-relay(帧中继)

帧中继命令show

帧中继在X.25分组交换技术的基础上发展起来的一种快速分组交换技术,是改进的X.25的协议。帧中继是基于虚电路的,是面向连接的服务。

帧中继的特点:

帧中继协议以帧的形式转递数据信息。

帧中继传送数据使用的传输链路是逻辑连接,而不是物理连接。

采用物理层和链路层的两级结构。

在链路层完成统计复用,帧透明传输和错误检测,但不提供发现错误后的重传操作。

提供一套合理的带宽管理和防止拥塞的机制。

帧中继采用面向连接的交换技术。

帧中继的术语:

VC(virtual circuits)

虚链路(两台DTE设备之间通过帧中继网络实现的连接叫做虚链路)

PVC 永久虚链路(permanent virtual circuits)

SVC 交换虚链路(switched virtual circuits)

DLCI号(data link connection identifier)

数据链路标识符(通常是由帧中继服务提供商分配)

帧中继的PVC使用DLCI号来标示DTE设备。

帧中继DLCI仅具有本地意义。

DLCI号的范围

0---1023

DLCI号的0---15和1008---1023留作特殊用途,

服务提供商分配的DLCI范围通常为16---1007。

LMI(local management interface)

本地管理接口

是客户前端设备和帧中继交换机之间的信令标准,负责管理设备之间的连接,维护设备之间的连接状态。

Cisco路由器支持以下三种LMI类型:

Cisco

Ansi

Q933a

默认cisco设备使用的cisco。(ansi和q933a是公有的)

逆向ARP (Inverse ARP)

逆向地址解析协议

Inverse ARP的主要功能是求解每条虚电路连接的对端设备的协议地址(包括IP和IPX地址等)。如果知道了每条虚链路连接的对端设备协议地址,在本地就可以生成对端协议地址和本地DLCI的映射(MAP),从而避免手工配置地址映射。

模拟帧中继交换机

frame-Relay的模拟命令

1.模拟FR交换机

frame-relay switching

2.接口下,配置时钟频率

Interface s1/1

Clock rate 64000

3.接口下,封装帧中继

Interface s1/1

Encapsulation frame-relay

4.指定接口的LMI的类型

Interface s1/1

frame-relay lmi-type ansi/cisco/q9333a

5.设置接口的类型

Interface s1/1

frame-relay intf-type dce

6.分配DLCI号码

Interface s1/1

frame-relay route 进来接口的DLCI号 出去的接口 出去接口的DLCI号

关闭动态帧中继

就是关闭反向ARP

Interface s1/1

No frame-relay iverse-arp

No arp frame-relay

清楚frame-relay的缓存信息

Clear frame-relay counter

Clear frame-relay inarp

查看帧中继的映射表

Show frame-relay map

配置静态帧中继

手工指定MAP

Interface s1/1

frame-relay map ip 目标地址 DLCI-id broadcast

很好配啊

R1 router

interface s0/0

encapsulation frame-relay

no frame-relay inverse-arp

frame-relay ?

interface-dlci Define a DLCI on an interface/subinterface

lmi-type Use CISCO-ANSI-CCITT type LMI

map Map a protocol address to a DLCI address

routeB(config-if)#frame-relay lmi-type ?

ansi

cisco

q933a

routeA(config-if)#frame-relay lmi-type cisco

ip address 192.168.88.1 255.255.255.0

frame-relay map ip 192.168.88.2 102 broadcast

frame-relay map ip 192.168.88.3 103 broadcast

no shutdown

R2 router

interface s0/0

encapsulation frame-relay

no frame-relay inverse-arp

frame-relay ?

interface-dlci Define a DLCI on an interface/subinterface

lmi-type Use CISCO-ANSI-CCITT type LMI

map Map a protocol address to a DLCI address

frame-relay lmi-type ?

ansi

cisco

q933a

routeA(config-if)#frame-relay lmi-type cisco

ip address 192.168.88.2 255.255.255.0

frame-relay map ip 192.168.88.1 201 broadcast

frame-relay map ip 192.168.88.3 203 broadcast

no shutdown

R3 router

interface s0/0

encapsulation frame-relay

no frame-relay inverse-arp

frame-relay ?

interface-dlci Define a DLCI on an interface/subinterface

lmi-type Use CISCO-ANSI-CCITT type LMI

map Map a protocol address to a DLCI address

routeB(config-if)#frame-relay lmi-type ?

ansi

cisco

q933a

routeA(config-if)#frame-relay lmi-type cisco

ip address 192.168.88.3 255.255.255.0

frame-relay map ip 192.168.88.1 301 broadcast

frame-relay map ip 192.168.88.2 302 broadcast

no shutdown

ansi欧洲电信委员会标准.

cisco思科标准

q933a国际标准

用的是静态的映射,这是全互联的完全可以ping通!!!

当然也可以用星型的也是可以的,同样可以ping通!!!

配置如下:

R1 与上面相同

R2 router

interface s0/0

encapsulation frame-relay

no frame-relay inverse-arp

frame-relay lmi-type cisco

ip address 192.168.88.2 255.255.255.0

frame-relay map ip 192.168.88.1 201 broadcast

frame-relay map ip 192.168.88.3 201broadcast

no shutdown

R3 router

interface s0/0

encapsulation frame-relay

no frame-relay inverse-arp

routeA(config-if)#frame-relay lmi-type cisco

ip address 192.168.88.3 255.255.255.0

frame-relay map ip 192.168.88.1 301 broadcast

frame-relay map ip 192.168.88.2 301 broadcast

no shutdown

本文由用户上传,如有侵权请联系删除!转转请注明出处:https://nongye.s666.cn/bk/6_6572187613.html