12.pdf



Similar documents
mppp-ddr.pdf

Cisco Cisco Cisco (ROM) (FLASH) (RAM) RAM(NVRAM) Cisco

D E 答 案 :C 3. 工 作 站 A 配 置 的 IP 地 址 为 /28. 工 作 站 B 配 置 的 IP 地 址 为 /28. 两 个 工 作 站 之 间 有 直 通 线 连 接, 两 台

IP-Routing-05.pdf

两个串行接口上通过虚拟模板的多链路

ch08.PDF

通过动态路由协议实现链路备份

¶C¶L§§¬_™¨ A.PDF

IS-IS路由协议中文教程v1

untitled

untitled

Simulator By SunLingxi 2003

工程师培训

IP505SM_manual_cn.doc

(CISCO????????)

ARP ICMP

epub

第3章

CISCO技术大全

工程师培训


SL2511 SR Plus 操作手冊_單面.doc

Microsoft Word - CCNA2_Exploration_instructor_40_CoverSheet.DOC

active phisical rp address: backup phisical rp address: 截取部分 TOPO 图说明到 不通的问题 : internet internet tengige 0/0/0/0 tengige

ebook71-13

路 由 器 处 于 用 户 命 令 状 态, 这 时 用 户 可 以 看 路 由 器 的 连 接 状 态, 访 问 其 它 网 络 和 主 机, 但 不 能 看 到 和 更 改 路 由 器 的 设 置 内 容 2. router# 在 router> 提 示 符 下 键 入 enable, 路 由

第 1 部 分 : 检 查 网 络 要 求 在 第 1 部 分 中, 您 将 研 究 使 用 /17 网 络 地 址 为 拓 扑 图 中 显 示 的 网 络 开 发 VLSM 地 址 方 案 的 网 络 要 求 注 意 : 您 可 以 使 用 Windows 计 算 器 应

02.实验二:虚拟局域网与VLAN间通信

配置 ATM 与 PPP 的互通

CCNA 講義

一.NETGEAR VPN防火墙产品介绍

TCP/IP TCP/IP OSI IP TCP IP IP TCP/IP TCP/IP

计算机网络概论

FortiGate-v5.2-PPPOE 拨号协商时的 AC-name 和 Service-name 版本 1.0 时间 2015 年 3 月 支持的版本 FortiOS v5.2.x 作者 黄豪赫 状态 已审核 反馈

通过 G.SHDSL 端口进行 CPE 背对背连接的配置

配置 Cisco 827 上带VPN IPSec NAT 超载的PPPoE

DCR 1700系列路由器配置手册

epub 30-12

epub 30-5

1 1 2 OSPF RIP 2

QL1880new2.PDF

计算机网络

ebook20-8

財金資訊-80期.indd

目录 简介... 3 BGP 重发布进 OSPF 环境拓扑图... 3 BGP 重发布进 OSPF 路由过滤... 4 FGT200B 关键配置... 4 接口 IP 配置... 4 Route-Map... 4 BGP 的配置... 5 FGT100E 关键配置... 5 接口 IP 及 BGP

注意 :CCNA 动手实验所用的路由器是采用 Cisco IOS Release 15.2(4)M3(universalk9 映像 ) 的 Cisco 1941 集成多业务路由器 (ISR) 所用的交换机是采用 Cisco IOS Release 15.0(2)(lanbasek9 映像 ) 的 C

untitled

epub 61-2

Procedural Lab Template, Student Version, Required Components

GPRS IP MODEM快速安装说明

网工新答案

实验二、路由器的基本配置

ebook140-11

KillTest 质量更高 服务更好 学习资料 半年免费更新服务

指定静态路由的下一跳IP地址

ebook140-8

ebook106-17

一、选择题

Exam1

AL-M200 Series

Microsoft Word - chp8帧中继.doc

Microsoft Word - chp3静态路由.doc

Bus Hound 5

IC-900W Wireless Pan & Tilt Wireless Pan & Tilt Remote Control / Night Vision FCC ID:RUJ-LR802UWG

bbs.vlan5.com

(UTM???U_935_938_955_958_959 V )

《计算机网络》实验指导书

Microsoft Word - Che2_Lab_ _Config-Basic-Router-CLI-Students.doc

Symantec™ Sygate Enterprise Protection 防护代理安装使用指南

Microsoft Word - 目錄.doc

WAN广域网技术

ebook48-8

计算机网络

1 o o o CPU o o o o o SQL Server 2005 o CPU o o o o o SQL Server o Microsoft SQL Server 2005

F5270

第4章网络层_2_.doc

Microsoft Word - frame-relay.doc

IP Access Lists IP Access Lists IP Access Lists

9 Internet 10 Internet

Microsoft Word - lab2_4.doc

第 1 章 概 述 1.1 计 算 机 网 络 在 信 息 时 代 中 的 作 用 1.2 计 算 机 网 络 的 发 展 过 程 *1.2.1 分 组 交 换 的 产 生 *1.2.2 因 特 网 时 代 *1.2.3 关 于 因 特 网 的 标 准 化 工 作 计 算 机 网 络 在

ext-web-auth-wlc.pdf

第3章 计算机网络体系结构

PL600 IPPBX 用户手册_V2.0_.doc

KillTest 质量更高 服务更好 学习资料 半年免费更新服务

錄...1 說...2 說 說...5 六 率 POST PAY PREPAY DEPOSIT 更

1 公 司 简 介 2 VRRP 原 理 和 应 用 3 新 产 品 和 创 业 计 划 及 赠 书 活 动

基于点到点链路的 OSPF 的初始配置

PS PS GMM SM.zte.com.

BYOD Http Redirect convergence Client (1) 2008R2 NLB( ) (2) NLB Unicast mode switch flooding (arp ) NLB DNS Redirect 1. Round-Robin DNS DNS IP/DNS Cli

國際認證介紹.PPT

飞鱼星多WAN防火墙路由器用户手册

ebook140-9

局域网技术课程设计报告.doc

end to end 7.2 OSI 7 OSI 3 A B 7.2 Packet Routing LAN WAN

中文朗科AirTrackTM T600 迷你无线路由器用户手册.doc

如 果 用 一 句 话 来 概 括,2013 年 职 业 院 校 特 别 是 中 等 职 业 学 校 就 业 持 续 向 好, 并 且 保 持 在 较 高 水 平 2013 年 中 职 学 校 的 毕 业 生 就 业 率 是 96.81%, 是 自 2006 年 来 第 八 年 保 持 在 95%

管理CISCO IOS

R3105+ ADSL

Transcription:

对 帧 中 继 配 置 与 故 障 排 除 的 全 面 的 指 南 交 互 : 本 文 档 对 您 的 Cisco 设 备 进 行 自 定 义 分 析 目 录 简 介 开 始 使 用 前 规 则 先 决 条 件 使 用 的 组 件 背 景 理 论 配 置 基 本 的 帧 中 继 网 络 图 配 置 debug 和 show 命 令 配 置 星 形 帧 中 继 网 络 图 配 置 显 示 命 令 分 支 间 连 接 配 置 显 示 命 令 配 置 帧 中 继 子 接 口 点 到 点 子 接 口 显 示 命 令 星 型 连 接 子 接 口 显 示 命 令 配 置 多 点 子 接 口 的 动 态 和 静 态 映 射 网 络 图 配 置 debug 和 show 命 令 配 置 IP 无 编 号 帧 中 继 网 络 图 配 置 显 示 命 令 配 置 帧 中 继 备 份 ISDN 上 的 帧 中 继 备 份 配 置 每 个 DCLI 备 份 带 有 拨 号 程 序 配 置 文 件 的 星 型 网 配 置 帧 中 继 交 换 网 络 图 配 置 显 示 命 令 配 置 帧 中 继 DLCI 优 先 级 实 施 注 意 事 项 网 络 图 配 置 debug 和 show 命 令 帧 中 继 广 播 队 列 流 量 整 形 流 量 整 形 参 数 一 般 流 量 整 形 帧 中 继 流 量 整 形 常 用 帧 中 继 命 令 show frame-relay pvc show frame-relay map 帧 中 继 和 桥 接 帧 中 继 和 内 存 帧 中 继 的 故 障 排 查

"Serial0 is down, line protocol is down" "Serial0 is up, line protocol is down" "Serial0 is up, line protocol is up" 帧 中 继 特 性 IP 分 界 检 查 Ping 多 点 帧 中 继 上 您 自 己 的 IP 地 址 关 键 字 广 播 重 新 配 置 子 接 口 DLCI 限 制 IP/IPX/AT 地 址 RIP 和 IGRP Keepalive 串 行 接 口 OSPF 和 多 点 来 源 相 关 信 息 简 介 帧 中 继 是 行 业 标 准, 交 换 数 据 链 路 层 协 议 该 把 柄 多 个 虚 拟 电 路 使 用 在 连 接 的 设 备 之 间 的 高 级 数 据 链 路 控 制 (HDLC) 封 装 在 许 多 情 况 下, 帧 中 继 比 X.25 更 有 效 率,X.25 是 一 般 考 虑 替 换 的 协 议 以 下 图 说 明 一 个 帧 中 继 帧 (ANSI T1.618) 注 意 在 上 图 中,Q.922 地 址 ( 如 当 前 定 义 ) 是 2 个 八 位 字 节, 并 包 含 10-bit 数 据 链 路 连 接 标 识 符 (DLCI) 在 一 些 网 络 中,Q.922 地 址 可 能 被 随 意 增 加 到 三 个 或 四 个 八 位 位 组 标 志 领 域 分 隔 帧 的 开 始 处 和 结 束 在 主 导 的 " flag " 字 段 之 后 是 两 字 节 的 地 址 信 息 这 两 个 字 节 的 十 位 数 组 成 了 实 际 电 路 ID( 称 为 DLCI, 用 于 数 据 链 路 连 接 标 识 符 ) 10 位 DLCI 值 是 帧 中 继 报 头 的 重 点 它 识 别 多 元 化 到 物 理 信 道 的 逻 辑 连 接 在 基 本 的 ( 即 不 由 本 地 管 理 接 口 [LMI] 进 行 扩 展 ) 寻 址 模 式 中,DLCI 有 本 地 意 义 ; 即 二 个 不 同 连 接 端 的 终 端 设 备 可 以 在 相 同 连 接 上 使 用 不 同 的 DLCI 开 始 使 用 前 规 则

有 关 文 档 规 则 的 详 细 信 息, 请 参 阅 Cisco 技 术 提 示 规 则 先 决 条 件 欲 知 更 多 信 息 和 本 文 所 用 术 语 的 定 义, 请 参 见 帧 中 继 术 语 表 使 用 的 组 件 本 文 档 不 限 于 特 定 的 软 件 和 硬 件 版 本 本 文 档 中 的 信 息 都 是 基 于 特 定 实 验 室 环 境 中 的 设 备 创 建 的 本 文 档 中 使 用 的 所 有 设 备 最 初 均 采 用 原 始 ( 默 认 ) 配 置 如 果 您 是 在 真 实 网 络 上 操 作, 请 确 保 您 在 使 用 任 何 命 令 前 已 经 了 解 其 潜 在 影 响 背 景 理 论 帧 中 继 最 初 被 设 想 了 作 为 一 份 协 议 为 在 ISDN 接 口 的 使 用 1984 年, 初 步 提 议 被 提 交 到 国 际 电 信 联 盟 电 信 标 委 员 会 准 化 部 门 (ITU-T) ( 以 前 的 国 际 电 报 电 话 咨 询 委 员 会 [CCITT]) 帧 中 继 的 工 作 也 可 以 在 美 国 ANSI 认 可 的 T1S1 标 准 委 员 会 里 执 行 1990 年, 思 科 系 统 StrataCom Northern Telecom 和 Digital Equipment Corporation 组 建 了 一 个 机 构, 专 门 从 事 帧 中 继 技 术 的 开 发, 加 快 可 互 操 作 的 帧 中 继 产 品 的 推 出 他 们 制 定 了 一 个 规 范, 符 合 在 T1S1 和 ITU-T 中 讨 论 的 基 本 帧 中 继 协 议, 但 在 功 能 方 面 进 行 了 扩 展, 提 供 了 一 些 适 用 于 复 杂 联 网 环 境 的 其 他 功 能 这 些 帧 中 继 扩 展 共 同 指 LMI 这 是 在 路 由 器 的 cisco LMI 与 ansi 或 "q933a" LMI 相 对 帧 中 继 提 供 了 分 组 交 换 数 据 通 信 功 能, 可 在 用 户 设 备 ( 例 如 路 由 器 网 桥 主 机 ) 和 网 络 设 备 ( 例 如 交 换 节 点 ) 之 间 的 接 口 上 使 用 用 户 设 备 经 常 称 为 数 据 终 端 设 备 (DTE), 连 接 到 DTE 的 网 络 设 备 通 常 称 为 数 据 电 路 终 端 设 备 (DCE) 提 供 帧 中 继 接 口 的 网 络 可 以 是 运 营 商 提 供 的 公 共 网 络 或 为 单 个 企 业 服 务 的 专 有 设 备 网 络 帧 中 继 与 在 其 功 能 和 格 式 的 X.25 极 大 有 所 不 同 特 别 是, 帧 中 继 是 更 多 效 率 化 的 协 议, 实 现 高 性 能 和 更 加 了 不 起 的 效 率 作 为 用 户 和 网 络 设 备 之 间 的 一 个 接 口, 帧 中 继 提 供 了 一 种 在 单 个 物 理 传 输 链 路 上 统 计 复 用 很 多 逻 辑 数 据 会 话 ( 指 虚 拟 电 路 ) 的 方 式 这 与 使 用 支 持 多 数 据 流 的 仅 Time Division Multiplexing (TDM) 技 术 的 系 统 形 成 对 比 帧 中 继 的 统 计 复 用 提 供 可 用 的 带 宽 灵 活 和 有 效 利 用 无 需 TDM 技 术 它 也 可 以 使 用, 或 者 由 TDM 系 统 提 供 在 信 道 顶 部 帧 中 继 的 另 一 个 重 要 特 性 是 它 开 发 了 广 域 网 (WAN) 传 输 技 术 的 最 新 进 展 当 模 拟 传 输 传 动 系 统 和 铜 媒 体 是 主 要 的, 更 早 的 广 域 网 协 议, 例 如 X.25, 开 发 这 些 链 路 比 光 纤 媒 体 / 数 字 传 输 链 路 联 机 今 天 较 不 可 靠 在 这 类 链 路 上, 链 路 层 协 议 可 以 抛 弃 耗 费 时 间 长 的 错 误 改 正 算 法, 将 这 类 算 法 留 在 更 高 协 议 层 上 执 行 因 此 更 加 了 不 起 的 性 能 和 效 率 是 可 能 的, 无 需 牺 牲 数 据 完 整 性 帧 中 继 设 计 有 此 方 法 的 念 头 它 包 括 循 环 冗 余 校 验 (CRC) 算 法, 用 于 检 测 损 坏 的 位 ( 可 能 导 致 数 据 丢 弃 ), 但 不 包 括 任 何 用 于 纠 正 坏 数 据 ( 例 如, 在 这 个 水 平 的 协 议 上 重 新 转 发 ) 的 任 何 协 议 机 制 帧 中 继 和 X.25 之 间 的 另 一 个 区 别 是 帧 中 继 中 缺 乏 明 确 的 每 条 虚 拟 电 路 的 流 控 制 即 然 许 多 上 层 协 议 能 够 有 效 执 行 它 们 自 己 的 流 控 制 算 法, 因 此 链 路 层 对 此 功 能 的 需 求 已 经 减 少 帧 中 继, 因 此, 不 包 括 在 更 高 层 复 制 那 些 的 明 确 流 控 制 程 序 相 反 地, 使 用 非 常 简 单 的 拥 塞 通 知 机 制 是 为 了 使 网 络 通 知 用 户 设 备 现 在 网 络 资 源 接 近 拥 塞 状 态 此 通 知 能 警 告 更 高 层 协 议 流 量 控 制 可 能 是 需 要 的 配 置 基 本 的 帧 中 继 一 旦 您 在 永 久 虚 拟 电 路 (PVC) 的 两 端 具 有 到 本 地 帧 中 继 交 换 机 的 可 靠 连 接, 便 需 开 始 规 划 帧 中 继 配 置 在 此 第 一 示 例 中, 对 cisco LMI 的 本 地 管 理 接 口 (LMI) 型 的 默 认 在 " 接 口 被 默 认 为 "" 多 点 "" 接 口, 因 此 frame-relay inverse-arp 是 打 开 的 ( 对 于 点 到 点 的 应 用 而 言, 这 里 没 有 反 向 ARP) "IP 水 平 分 割 检 查 默 认 禁 用 帧 中 继 封 装, 路 由 更 新 将 从 相 同 接 口 流 入 流 出 路 由 器 通 过 LMI 更 新, 获 取 它 们 需 要 从 帧 中 继 交 换 机 使 用 的 数 据 链 路 连 接 标 识 符 (DLCI) 路 由 器 将 反 向 ARP 传 输 到 远 程 IP 地 址 上, 并 创 建 本 地 DLCI 和 相 关 远 程 IP 地 址 的 映 射 网 络 图 配 置 #show running-config Building configuration...

Current configuration : 1705 bytes version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname interface Ethernet0 ip address 124.124.124.1 255.255.255.0 interface Serial0 ip address 3.1.3.1 255.255.255.0 frame-relay interface-dlci 140 router rip network 3.0.0.0 network 124.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end #show running-config Building configuration... Current configuration : 1499 bytes version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname interface Ethernet0 ip address 123.123.123.1 255.255.255.0 interface Serial1 ip address 3.1.3.2 255.255.255.0 frame-relay interface-dlci 150 router rip network 3.0.0.0 network 123.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end debug 和 show 命 令 在 发 出 debug 命 令 之 前, 请 参 阅 有 关 Debug 命 令 的 重 要 信 息 show frame-relay map show frame-relay pvc show frame-relay lmi

ping <device name> show ip route #show frame-relay map Serial0 (up): ip 3.1.3.2 dlci 140(0x8C,0x20C0), dynamic, broadcast,, status defined, active #show frame-relay pvc PVC Statistics for interface Serial0 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 140, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0 input pkts 83 output pkts 87 in bytes 8144 out bytes 8408 dropped pkts 0 in FECN pkts0 in BECN pkts 0 out FECN pkts 0 out BECN pkts0 out bcast pkts 41 out bcast bytes 3652 pvc create time 01:31:50, last time pvc status changed 01:28:28 #show frame-relay lmi LMI Statistics for interface Serial0 (Frame Relay DTE) LMI TYPE = CISCO Invalid Unnumbered info 0 Invalid Prot Disc 0 Invalid dummy Call Ref 0 Invalid Msg Type 0 Invalid Status Message 0 Invalid Lock Shift 0 Invalid Information ID 0 Invalid Report IE Len 0 Invalid Report Request 0 Invalid Keep IE Len 0 Num Status Enq. Sent 550 Num Status msgs Rcvd 552 Num Update Status Rcvd 0 Num Status Timeouts 0 #ping 123.123.123.1 Sending 5, 100-byte ICMP Echos to 123.123.123.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/40 ms #show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 3.0.0.0/24 is subnetted, 1 subnets C 3.1.3.0 is directly connected, Serial0 124.0.0.0/24 is subnetted, 1 subnets C 124.124.124.0 is directly connected, Ethernet0 R 123.0.0.0/8 [120/1] via 3.1.3.2, 00:00:08, Serial0 #show frame-relay map Serial1 (up): ip 3.1.3.1 dlci 150(0x96,0x2460), dynamic, broadcast,, status defined, active #show frame-relay pvc PVC Statistics for interface Serial1 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 150, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1 input pkts 87 output pkts 83 in bytes 8408 out bytes 8144 dropped pkts 0 in FECN pkts 0 out bcast pkts 38 out bcast bytes 3464 pvc create time 01:34:29, last time pvc status changed 01:28:05 #show frame-relay lmi LMI Statistics for interface Serial1 (Frame Relay DTE) LMI TYPE = CISCO Invalid Unnumbered info 0 Invalid Prot Disc 0 Invalid dummy Call Ref 0 Invalid Msg Type 0 Invalid Status Message 0 Invalid Lock Shift 0 Invalid Information ID 0 Invalid Report IE Len 0

Invalid Report Request 0 Invalid Keep IE Len 0 Num Status Enq. Sent 569 Num Status msgs Rcvd 570 Num Update Status Rcvd 0 Num Status Timeouts 0 #ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/36 ms #show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 3.0.0.0/24 is subnetted, 1 subnets C 3.1.3.0 is directly connected, Serial1 R 124.0.0.0/8 [120/1] via 3.1.3.1, 00:00:19, Serial1 123.0.0.0/24 is subnetted, 1 subnets C 123.123.123.0 is directly connected, Ethernet0 配 置 星 形 帧 中 继 在 本 例 中, 路 由 器 知 道 它 使 用 了 哪 些 来 自 帧 中 继 交 换 机 的 数 据 链 路 连 接 标 识 符 (DLCI), 并 将 它 们 分 配 到 主 接 口 然 后 路 由 器 远 程 IP 地 址 的 反 向 ARP 注 意 : 除 非 您 在 每 个 末 端 明 确 添 加 了 帧 中 继 映 射, 否 则 您 不 便 不 能 够 从 Aton,ping 通 的 串 行 IP 地 址 如 果 已 经 正 确 配 置 路 由, 在 LAN 上 生 成 的 数 据 流 不 会 出 现 故 障 如 果 在 扩 展 的 ping 中 将 以 太 网 IP 地 址 用 作 源 地 址, 您 就 能 实 现 Ping 操 作 当 帧 中 继 Inverse-arp 启 用, 默 认 情 况 下 广 播 IP 流 量 在 连 接 将 出 去 网 络 图 配 置 Aton spicey#show running-config Building configuration... version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname spicey interface Ethernet0 ip address 124.124.124.1 255.255.255.0 interface Serial0 ip address 3.1.3.1 255.255.255.0 frame-relay interface-dlci 130

frame-relay interface-dlci 140 router rip network 3.0.0.0 network 124.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end prasit#show running-config Building configuration... Current configuration : 1499 bytes version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname prasit interface Ethernet0 ip address 123.123.123.1 255.255.255.0 interface Serial1 ip address 3.1.3.2 255.255.255.0 frame-relay interface-dlci 150 router rip network 3.0.0.0 network 123.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end Aton aton#show running-config Building configuration... Current configuration: version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption hostname aton interface Ethernet0 ip address 122.122.122.1 255.255.255.0 interface Serial1 ip address 3.1.3.3 255.255.255.0 frame-relay interface-dlci 160 router rip network 3.0.0.0 network 122.0.0.0

line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end 显 示 命 令 show frame-relay map show frame-relay pvc ping <device name> spicey#show frame-relay map Serial0 (up): ip 3.1.3.2 dlci 140(0x8C,0x20C0), dynamic, broadcast,, status defined, active Serial0 (up): ip 3.1.3.3 dlci 130(0x82,0x2020), dynamic, broadcast,, status defined, active spicey#show frame-relay pvc PVC Statistics for interface Serial0 (Frame Relay DTE) Active Inactive Deleted Static Local 2 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 130, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0 input pkts 32 output pkts 40 in bytes 3370 out bytes 3928 dropped pkts 0 in FECN pkts 0 out bcast pkts 30 out bcast bytes 2888 pvc create time 00:15:46, last time pvc status changed 00:10:42 DLCI = 140, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0 input pkts 282 output pkts 291 in bytes 25070 out bytes 27876 dropped pkts 0 in FECN pkts 0 out bcast pkts 223 out bcast bytes 20884 pvc create time 02:28:36, last time pvc status changed 02:25:14 spicey# spicey#ping 3.1.3.2 Sending 5, 100-byte ICMP Echos to 3.1.3.2, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 32/35/36 ms spicey#ping 3.1.3.3 Sending 5, 100-byte ICMP Echos to 3.1.3.3, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 32/35/36 ms prasit#show frame-relay map Serial1 (up): ip 3.1.3.1 dlci 150(0x96,0x2460), dynamic, broadcast,, status defined, active prasit#show frame-relay pvc PVC Statistics for interface Serial1 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 150, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1 input pkts 311 output pkts 233 in bytes 28562 out bytes 22648 dropped pkts 0 in FECN pkts 0

out bcast pkts 162 out bcast bytes 15748 pvc create time 02:31:39, last time pvc status changed 02:25:14 prasit#ping 3.1.3.1 Sending 5, 100-byte ICMP Echos to 3.1.3.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/36 ms prasit#ping 3.1.3.3 Sending 5, 100-byte ICMP Echos to 3.1.3.3, timeout is 2 seconds:... Success rate is 0 percent (0/5) Aton aton#show frame-relay map Serial1 (up): ip 3.1.3.1 dlci 160(0xA0,0x2800), dynamic, broadcast,, status defined, active aton#show frame-relay pvc PVC Statistics for interface Serial1 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 160, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1 input pkts 35 output pkts 32 in bytes 3758 out bytes 3366 dropped pkts 0 in FECN pkts 0 out bcast pkts 27 out bcast bytes 2846 pvc create time 00:10:53, last time pvc status changed 00:10:53 aton#ping 3.1.3.1 Sending 5, 100-byte ICMP Echos to 3.1.3.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 32/35/36 ms aton#ping 3.1.3.2 Sending 5, 100-byte ICMP Echos to 3.1.3.2, timeout is 2 seconds:... Success rate is 0 percent (0/5) 分 支 间 连 接 在 使 用 多 点 接 口 的 星 型 结 构 中, 您 不 能 从 一 个 支 路 ping 通 另 一 个 支 路, 因 为 没 有 其 他 支 路 的 IP 地 址 映 射 仅 集 线 器 地 址 通 过 反 向 地 址 解 析 协 议 (IARP) 了 解 如 果 您 使 用 frame-relay map 命 令, 将 远 程 支 路 的 IP 地 址 配 置 静 态 映 射, 以 使 用 本 地 的 数 据 链 路 连 接 标 识 符 (DLCI), 您 也 能 够 ping 其 他 支 路 的 地 址 配 置 prasit#show running-config interface Ethernet0

ip address 123.123.123.1 255.255.255.0 interface Serial ip address 3.1.3.2 255.255.255.0 frame-relay map ip 3.1.3.3 150 frame-relay interface-dlci 150 显 示 命 令 show frame-relay map ping <device name> show running-config Aton prasit#show frame-relay map Serial1 (up): ip 3.1.3.1 dlci 150(0x96,0x2460), dynamic, broadcast,, status defined, active Serial1 (up): ip 3.1.3.3 dlci 150(0x96,0x2460), static, CISCO, status defined, active prasit#ping 3.1.3.3 Sending 5, 100-byte ICMP Echos to 3.1.3.3, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 68/70/80 ms prasit#ping 122.122.122.1 Sending 5, 100-byte ICMP Echos to 122.122.122.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 64/67/76 ms aton#show running-config interface Ethernet0 ip address 122.122.122.1 255.255.255.0 interface Serial1 ip address 3.1.3.3 255.255.255.0 no ip directed-broadcast frame-relay map ip 3.1.3.2 160 frame-relay interface-dlci 160 aton#show frame-relay map Serial1 (up): ip 3.1.3.1 dlci 160(0xA0,0x2800), dynamic, broadcast,, status defined, active Serial1 (up): ip 3.1.3.2 dlci 160(0xA0,0x2800), static, CISCO, status defined, active aton#ping 3.1.3.2 Type escape sequence to abort Sending 5, 100-byte ICMP Echos to 3.1.3.2, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 68/68/68 ms aton#ping 123.123.123.1 Sending 5, 100-byte ICMP Echos to 123.123.123.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 64/67/80 ms 配 置 帧 中 继 子 接 口 帧 中 继 子 接 口 提 供 了 一 种 机 制, 支 持 部 分 网 状 帧 中 继 网 络 多 数 协 议 假 设 在 逻 辑 网 络 的 及 物 性 ; 也 就 是 说, 如 果 A 站 能 与 B 站 通 话,B 站 能 与 C 站 通 话, 则 A 站 应 该 能 够 与 C 站 直 接 通 话 实 际 上 传 输 在 LAN 上 而 不 在 帧 中 继 网 络 上 进 行, 除 非 A 直 接 连 接 到 C 此 外, 部 分 网 状 网 络 不 支 持 某 些 协 议, 例 如 AppleTalk 透 明 桥 接 和 IPX, 因 为 它 们 需 要 " 水 平 分 割 " 在 这 些 网 络 中, 在 一 个 接 口 上 收 到 的 信 息 包 不 能 通 过 同 一 接 口 发 出, 即 使 信 息 包 在 不 同 的 虚 拟 电 路 上 接 收 和 传 输

配 置 帧 中 继 子 接 口 可 将 单 个 物 理 接 口 用 作 多 个 虚 拟 接 口 此 功 能 允 许 我 们 解 决 水 平 分 割 规 则 虚 拟 接 口 收 到 的 信 息 包 现 在 可 以 转 发 给 另 一 个 虚 拟 接 口, 即 使 它 们 配 置 在 同 一 个 物 理 接 口 子 接 口 通 过 将 部 分 网 状 帧 中 继 网 络 划 分 为 许 多 较 小 的 完 全 网 状 ( 或 点 对 点 ) 子 网, 为 帧 中 继 网 络 的 限 制 问 题 提 供 了 一 种 解 决 方 法 每 个 子 网 络 分 配 了 它 自 己 的 网 络 编 号, 并 且 协 议 看 起 来 好 象 可 以 通 过 独 立 接 口 达 到 ( 注 意, 点 到 点 子 接 口 可 能 没 有 分 配 IP 地 址, 以 降 低 编 址 的 负 担 ) 点 到 点 子 接 口 网 络 图 配 置 #show running-config Building configuration... Current configuration : 1338 bytes version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname enable password ww interface Ethernet0 ip address 124.124.124.1 255.255.255.0 interface Serial0 no ip address interface Serial0.1 point-to-point ip address 3.1.3.1 255.255.255.0 frame-relay interface-dlci 140 router igrp 2 network 3.0.0.0 network 124.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end #show running-config Building configuration... Current configuration : 1234 bytes version 12.1 service timestamps debug datetime msec service timestamps log datetime msec

no service password-encryption hostname interface Ethernet0 ip address 123.123.123.1 255.255.255.0 interface Serial1 no ip address interface Serial1.1 point-to-point ip address 3.1.3.2 255.255.255.0 frame-relay interface-dlci 150 router igrp 2 network 3.0.0.0 network 123.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end 显 示 命 令 show frame-relay map show frame-relay pvc #show frame-relay map Serial0.1 (up): point-to-point dlci, dlci 140(0x8C,0x20C0), broadcast status defined, active #show frame-relay pvc PVC Statistics for interface Serial0 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 140, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0.1 input pkts 193 output pkts 175 in bytes 20450 out bytes 16340 dropped pkts 0 in FECN pkts 0 out bcast pkts 50 out bcast bytes 3786 pvc create time 01:11:27, last time pvc status changed 00:42:32 #ping 123.123.123.1 Sending 5, 100-byte ICMP Echos to 123.123.123.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/36 ms #show frame-relay map Serial1.1 (up): point-to-point dlci, dlci 150(0x96,0x2460), broadcast status defined, active #show frame-relay pvc PVC Statistics for interface Serial1 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0

Unused 0 0 0 0 DLCI = 150, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1.1 input pkts 74 output pkts 89 in bytes 7210 out bytes 10963 dropped pkts 0 in FECN pkts 0 out bcast pkts 24 out bcast bytes 4203 pvc create time 00:12:25, last time pvc status changed 00:12:25 #ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/36 ms 星 型 连 接 子 接 口 以 下 星 型 网 配 置 示 例 显 示 两 个 点 对 点 子 接 口 并 且 使 用 在 一 个 远 程 站 点 的 动 态 地 址 解 析 每 个 子 接 口 带 有 单 个 协 议 地 址 和 子 网 掩 码, 并 且 interface-dlci 命 令 将 子 接 口 与 一 个 指 定 的 数 据 链 路 连 接 标 识 符 (DLCI) 关 联 起 来 每 个 点 到 点 子 接 口 的 远 程 目 的 地 地 址 没 有 被 解 析, 因 为 它 们 是 点 到 点 接 口, 流 量 必 须 发 送 到 另 一 端 的 对 等 接 口 远 程 终 端 (Aton) 使 用 反 向 ARP 进 行 映 射, 中 心 相 应 地 回 复 子 接 口 的 IP 地 址 默 认 情 况 下, 因 为 帧 中 继 反 向 ARP 打 开 为 多 点 接 口, 这 发 生 网 络 图 配 置 Aton #show running-config Building configuration... version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname interface Ethernet0 ip address 124.124.124.1 255.255.255.0 interface Serial0 no ip address interface Serial0.1 point-to-point ip address 4.0.1.1 255.255.255.0 frame-relay interface-dlci 140 interface Serial0.2 point-to-point ip address 3.1.3.1 255.255.255.0 frame-relay interface-dlci 130 router igrp 2 network 3.0.0.0 network 4.0.0.0

network 124.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end #show running-config Building configuration... version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname interface Ethernet0 ip address 123.123.123.1 255.255.255.0 interface Serial1 no ip address interface Serial1.1 point-to-point ip address 4.0.1.2 255.255.255.0 frame-relay interface-dlci 150 router igrp 2 network 4.0.0.0 network 123.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end Aton Aton#show running-config Building configuration... Current configuration: version 12.0 service timestamps debug uptime service timestamps log uptime hostname Aton interface Ethernet0 ip address 122.122.122.1 255.255.255.0 interface Serial1 ip address 3.1.3.3 255.255.255.0 frame-relay interface-dlci 160 router igrp 2 network 3.0.0.0 network 122.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login

end 显 示 命 令 show frame-relay map show frame-relay pvc #show frame-relay map Serial0.2 (up): point-to-point dlci, dlci 130(0x82,0x2020), broadcast status defined, active Serial0.1 (up): point-to-point dlci, dlci 140(0x8C,0x20C0), broadcast status defined, active #show frame-relay pvc PVC Statistics for interface Serial0 (Frame Relay DTE) Active Inactive Deleted Static Local 2 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 130, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0.2 input pkts 11 output pkts 22 in bytes 1080 out bytes 5128 dropped pkts 0 in FECN pkts 0 out bcast pkts 17 out bcast bytes 4608 pvc create time 00:06:36, last time pvc status changed 00:06:36 DLCI = 140, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0.1 input pkts 33 output pkts 28 in bytes 3967 out bytes 5445 dropped pkts 0 in FECN pkts 0 out bcast pkts 17 out bcast bytes 4608 pvc create time 00:06:38, last time pvc status changed 00:06:38 #ping 122.122.122.1 Sending 5, 100-byte ICMP Echos to 122.122.122.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 32/35/36 ms #ping 123.123.123.1 Sending 5, 100-byte ICMP Echos to 123.123.123.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/36 ms #show frame-relay map Serial1.1 (up): point-to-point dlci, dlci 150(0x96,0x2460), broadcast status defined, active #show frame-relay pvc PVC Statistics for interface Serial1 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 150, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1.1 input pkts 45 output pkts 48 in bytes 8632 out bytes 6661 dropped pkts 0 in FECN pkts 0 out bcast pkts 31 out bcast bytes 5573 pvc create time 00:12:16, last time pvc status changed 00:06:23

#ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/36 ms Aton Aton#show frame-relay map Serial1 (up): ip 3.1.3.1 dlci 160(0xA0,0x2800), dynamic, broadcast,, status defined, active Aton#show frame-relay pvc PVC Statistics for interface Serial1 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 160, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1 input pkts 699 output pkts 634 in bytes 81290 out bytes 67008 dropped pkts 0 in FECN pkts 0 out bcast pkts 528 out bcast bytes 56074 pvc create time 05:46:14, last time pvc status changed 00:05:57 Aton#ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/36 ms 配 置 多 点 子 接 口 的 动 态 和 静 态 映 射 在 给 定 了 数 据 链 路 连 接 标 识 符 (DLCI) 的 情 况 下, 动 态 地 址 映 射 使 用 帧 中 继 逆 向 ARP, 以 请 求 实 现 特 殊 连 接 的 下 一 跳 协 议 地 址 反 向 ARP 请 求 的 回 应 被 输 入 到 路 由 器 或 接 入 服 务 器 上 的 地 址 到 DLCI 的 映 射 表 中 然 后 表 可 以 为 流 出 的 数 据 流 提 供 下 一 跳 协 议 地 址 或 DLCI 由 于 物 理 接 口 现 在 配 置 为 多 个 子 接 口, 您 必 须 提 供 一 些 信 息, 以 区 分 子 接 口 和 物 理 接 口, 将 特 定 子 接 口 与 特 定 DLCI 关 联 在 默 认 情 况 下, 所 有 支 持 协 议 都 能 使 用 反 向 ARP, 而 但 在 某 些 特 殊 协 议 DLCI 对 中 则 可 能 被 限 制 使 用 结 果 是, 您 可 以 把 动 态 映 射 用 于 某 些 协 议, 把 静 态 映 射 用 于 相 同 DLCI 上 的 其 他 协 议 如 果 您 知 道 连 接 的 另 一 端 不 支 持 协 议, 您 就 能 明 确 地 禁 用 协 议 DLCI 对 的 反 向 ARP 由 于 反 向 ARP 默 认 在 它 支 持 的 所 有 协 议 上 都 是 启 动 的, 因 此 不 需 要 使 用 其 他 命 令 在 子 接 口 上 配 置 动 态 地 址 映 射 静 态 映 射 连 接 对 指 定 的 DLCI 的 指 定 的 下 一 跳 地 址 协 议 地 址 静 态 映 射 取 消 对 反 向 ARP 请 求 的 需 要 ; 在 您 提 供 静 态 映 射 时, 特 定 DLCI 上 的 指 定 的 协 议 将 自 动 禁 用 反 向 ARP 如 果 路 由 器 在 另 一 端 完 全 不 支 持 反 向 ARP, 或 者 不 支 持 您 要 在 帧 中 继 上 使 用 的 特 定 协 议 的 反 向 ARP, 您 必 须 使 用 静 态 映 射 网 络 图 我 们 已 经 看 见 如 何 配 置 Cisco 路 由 器 执 行 反 向 ARP 下 例 显 示 的 是 如 何 在 您 需 要 用 于 多 点 接 口 或 子 接 口 的 情 况 下 配 置 静 态 映 射 : 配 置 Aton Aton

Aton#show running-config Building configuration... Current configuration: version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption hostname Aton interface Ethernet0 ip address 122.122.122.1 255.255.255.0 interface Serial1 no ip address interface Serial1.1 multipoint ip address 4.0.1.3 255.255.255.0 frame-relay map ip 4.0.1.1 160 broadcast router igrp 2 network 4.0.0.0 network 122.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end #show running-config Building configuration...current configuration : 1652 bytes version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname interface Ethernet0 ip address 124.124.124.1 255.255.255.0 interface Serial0 ip address 4.0.1.1 255.255.255.0 frame-relay map ip 4.0.1.2 140 broadcast frame-relay map ip 4.0.1.3 130 broadcast router igrp 2 network 4.0.0.0 network 124.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end #show running-config Building configuration... Current configuration : 1162 bytes version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption

hostname interface Ethernet0 ip address 123.123.123.1 255.255.255.0 interface Serial1 no ip address interface Serial1.1 multipoint ip address 4.0.1.2 255.255.255.0 frame-relay map ip 4.0.1.1 150 broadcast router igrp 2 network 4.0.0.0 network 123.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end debug 和 show 命 令 show frame-relay map show frame-relay pvc Aton Aton#show frame-relay map Serial1.1 (up): ip 4.0.1.1 dlci 160(0xA0,0x2800), static, broadcast, CISCO, status defined, active Aton#show frame-relay pvc PVC Statistics for interface Serial1 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 160, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1.1 input pkts 16 output pkts 9 in bytes 3342 out bytes 450 dropped pkts 0 in FECN pkts 0 out bcast pkts 9 out bcast bytes 450 pvc create time 00:10:02, last time pvc status changed 00:10:02 Aton#ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 32/35/36 ms #show frame-relay map Serial0 (up): ip 4.0.1.2 dlci 140(0x8C,0x20C0), static, broadcast, CISCO, status defined, active Serial0 (up): ip 4.0.1.3 dlci 130(0x82,0x2020), static, broadcast, CISCO, status defined, active #show frame-relay pvc PVC Statistics for interface Serial0 (Frame Relay DTE) Active Inactive Deleted Static Local 2 0 0 0 Switched 0 0 0 0

Unused 0 0 0 0 DLCI = 130, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0 input pkts 9 output pkts 48 in bytes 434 out bytes 11045 dropped pkts 0 in FECN pkts 0 out bcast pkts 48 out bcast bytes 11045 pvc create time 00:36:25, last time pvc status changed 00:36:15 DLCI = 140, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0 input pkts 17 output pkts 26 in bytes 1390 out bytes 4195 dropped pkts 0 in FECN pkts 0 out bcast pkts 16 out bcast bytes 3155 pvc create time 00:08:39, last time pvc status changed 00:08:39 #ping 122.122.122.1 Sending 5, 100-byte ICMP Echos to 122.122.122.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/40 ms #ping 123.123.123.1 Sending 5, 100-byte ICMP Echos to 123.123.123.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 32/35/36 #show frame-relay map Serial1.1 (up): ip 4.0.1.1 dlci 150(0x96,0x2460), static, broadcast, CISCO, status defined, active #show frame-relay pvc PVC Statistics for interface Serial1 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 150, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1.1 input pkts 28 output pkts 19 in bytes 4753 out bytes 1490 dropped pkts 0 in FECN pkts 0 out bcast pkts 9 out bcast bytes 450 pvc create time 00:11:00, last time pvc status changed 00:11:00 #ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/36 ms 关 于 这 些 命 令 的 更 多 信 息, 请 参 阅 帧 中 继 命 令 配 置 IP 无 编 号 帧 中 继 如 果 您 没 有 IP 地 址 空 间 来 使 用 许 多 子 接 口, 您 可 以 在 每 个 子 接 口 上 使 用 未 编 号 的 IP 如 果 出 现 这 种 情 况, 您 需 要 使 用 静 态 路 由 或 动 态 路 由, 以 便 您 的 数 据 流 照 常 被 路 由, 并 且 您 必 须 使 用 点 到 点 子 接 口 网 络 图 下 面 的 示 例 说 明 此 :

配 置 #show running-config Building configuration... Current configuration : 1674 bytes version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname interface Ethernet0 ip address 124.124.124.1 255.255.255.0 interface Serial0 no ip address interface Serial0.1 point-to-point ip unnumbered Ethernet0 frame-relay interface-dlci 140 router igrp 2 network 124.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end #show running-config Building configuration... Current configuration : 1188 bytes version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname interface Ethernet0 ip address 123.123.123.1 255.255.255.0 interface Serial1 no ip address interface Serial1.1 point-to-point ip unnumbered Ethernet0 frame-relay interface-dlci 150 router igrp 2 network 123.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end

显 示 命 令 show frame-relay map show frame-relay pvc #show frame-relay map Serial0.1 (up): point-to-point dlci, dlci 140(0x8C,0x20C0), broadcast status defined, active #show frame-relay pvc PVC Statistics for interface Serial0 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 140, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0.1 input pkts 23 output pkts 24 in bytes 3391 out bytes 4952 dropped pkts 0 in FECN pkts 0 out bcast pkts 14 out bcast bytes 3912 pvc create time 00:04:47, last time pvc status changed 00:04:47 #show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 124.0.0.0/24 is subnetted, 1 subnets C 124.124.124.0 is directly connected, Ethernet0 123.0.0.0/8 is variably subnetted, 2 subnets, 2 masks I 123.0.0.0/8 [100/8576] via 123.123.123.1, 00:01:11, Serial0.1 I 123.123.123.0/32 [100/8576] via 123.123.123.1, 00:01:11, Serial0.1 #ping 123.123.123.1 Sending 5, 100-byte ICMP Echos to 123.123.123.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/36 ms #show frame-relay map Serial1.1 (up): point-to-point dlci, dlci 150(0x96,0x2460), broadcast status defined, active #show frame-relay pvc PVC Statistics for interface Serial1 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 150, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1.1 input pkts 24 output pkts 52 in bytes 4952 out bytes 10892 dropped pkts 0 in FECN pkts 0 out bcast pkts 41 out bcast bytes 9788 pvc create time 00:10:54, last time pvc status changed 00:03:51

#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 124.0.0.0/8 is variably subnetted, 2 subnets, 2 masks I 124.0.0.0/8 [100/8576] via 124.124.124.1, 00:00:18, Serial1.1 I 124.124.124.0/32 [100/8576] via 124.124.124.1, 00:00:18, Serial1.1 123.0.0.0/24 is subnetted, 1 subnets C 123.123.123.0 is directly connected, Ethernet0 #ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/120/436 ms 配 置 帧 中 继 备 份 ISDN 上 的 帧 中 继 备 份 使 用 ISDN, 您 可 以 希 望 到 备 用 帧 中 继 电 路 实 现 的 方 式 有 几 种 第 一 个, 也 很 可 能 是 最 佳 一 个, 使 用 浮 动 静 态 路 由, 将 流 量 路 由 到 基 本 速 率 接 口 (BRI) IP 地 址, 并 使 用 适 当 的 路 由 度 量 指 标 您 也 可 以 在 主 要 接 口 上 或 根 据 每 个 数 据 链 接 的 连 接 标 识 符 (DLCI) 使 用 备 份 接 口 对 于 备 份 主 要 接 口, 它 的 作 用 可 能 不 大, 因 为 您 可 能 丢 失 永 久 虚 拟 电 路 (PVC), 而 主 要 接 口 不 会 断 开 切 记, 协 议 用 本 地 帧 中 继 交 换 机 交 换, 不 是 远 程 路 由 器 配 置 路 由 器 1 路 由 器 2 路 由 器 1 ROUTER1# hostname ROUTER1 username ROUTER2 password same isdn switch-type basic-dms100 interface Ethernet 0 ip address 172.16.15.1 255.255.255.248 interface serial 0 ip address 172.16.24.129 255.255.255.128 encapsulation FRAME-RELAY interface BRI0 description Backup ISDN for frame-relay ip address 172.16.12.1 255.255.255.128 encapsulation PPP dialer idle-timeout 240 dialer wait-for-carrier-time 60 dialer map IP 172.16.12.2 name ROUTER2 broadcast 7086639706 ppp authentication chap dialer-group 1 isdn spid1 0127280320 2728032 isdn spid2 0127295120 2729512 router igrp 1 network 172.16.0.0

ip route 172.16.15.16 255.255.255.248 172.16.12.2 150 --- Floating static route. access-list 101 deny igrp 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 access-list 101 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 dialer-list 1 LIST 101 路 由 器 2 ROUTER2# hostname ROUTER2 username ROUTER1 password same isdn switch-type basic-dms100 interface Ethernet 0 ip address 172.16.15.17 255.255.255.248 interface Serial 0 ip address 172.16.24.130 255.255.255.128 encapsulation FRAME-RELAY interface BRI0 description ISDN backup interface for frame-relay ip address 172.16.12.2 255.255.255.128 encapsulation PPP dialer idle-timeout 240 dialer map IP 172.16.12.1 name ROUTER1 broadcast ppp authentication chap pulse-time 1 dialer-group 1 isdn spid1 0191933333 4445555 isdn spid2 0191933334 4445556 router igrp 1 network 172.16.0.0 ip route 172.16.15.0 255.255.255.248 172.16.12.1 150 --- Floating static route. access-list 101 deny igrp 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 access-list 101 permit ip 0.0.0.0 255.255.255.255 162.27.9.0 0.0.0.255 dialer-list 1 LIST 101 显 示 命 令 要 验 证, 如 果 ISDN 工 作, 请 使 用 以 下 调 试 指 令 在 发 出 debug 命 令 之 前, 请 参 阅 有 关 Debug 命 令 的 重 要 信 息 debug isdn q931 debug ppp neg debug ppp auth 设 法 由 主 叫 方 做 ISDN 呼 叫 到 中 心 端, 不 用 备 份 命 令 如 果 这 是 成 功 的, 请 添 加 备 份 命 令 到 主 叫 方 注 意 : 要 测 试 备 份, 请 不 要 在 串 行 接 口 使 用 shutdown 命 令, 但 可 以 从 串 联 线 拔 出 电 缆, 模 拟 真 正 串 联 线 问 题 配 置 每 个 DCLI 备 份 我 们 现 在 假 设 是 中 心 端, 是 与 中 心 端 () 建 立 连 接 的 端 注 意 您 只 能 将 backup 命 令 添 加 到 呼 叫 中 心 端 上 注 意 : 子 接 口 不 支 持 备 份 负 载 因 为 我 们 不 跟 踪 在 子 接 口 的 数 据 流 级 别, 负 载 没 有 计 算 网 络 图

配 置 #show running-config Building configuration... Current configuration : 1438 bytes version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname username password 0 cisco isdn switch-type basic-net3 interface Ethernet0 ip address 124.124.124.1 255.255.255.0 interface Serial0 no ip address interface Serial0.1 point-to-point ip address 4.0.1.1 255.255.255.0 frame-relay interface-dlci 140 interface BRI0 ip address 3.1.6.1 255.255.255.0 encapsulation ppp dialer map ip 3.1.6.2 name broadcast dialer-group 1 isdn switch-type basic-net3 no peer default ip address no cdp enable ppp authentication chap router igrp 2 network 3.0.0.0 network 4.0.0.0 network 124.0.0.0 ip classless ip route 123.123.123.0 255.255.255.0 3.1.6.2 250 access-list 101 deny igrp any any access-list 101 permit ip any any dialer-list 1 protocol ip list 101 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end

#show running-config Building configuration... Current configuration : 1245 bytes version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname username password 0 cisco isdn switch-type basic-net3 interface Ethernet0 ip address 123.123.123.1 255.255.255.0 interface Serial1 no ip address interface Serial1.1 point-to-point backup delay 5 10 backup interface BRI0 ip address 4.0.1.2 255.255.255.0 frame-relay interface-dlci 150 interface BRI0 ip address 3.1.6.2 255.255.255.0 encapsulation ppp dialer map ip 3.1.6.1 name broadcast 6106 dialer-group 1 isdn switch-type basic-net3 ppp authentication chap router igrp 2 network 3.0.0.0 network 4.0.0.0 network 123.0.0.0 ip route 124.124.124.0 255.255.255.0 3.1.6.1 250 access-list 101 deny igrp any any access-list 101 permit ip any any dialer-list 1 protocol ip list 101 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end 显 示 命 令 show frame-relay map show ip route show isdn history show isdn status show interface bri 0 show isdn active

#show frame-relay map Serial0.2 (up): point-to-point dlci, dlci 130(0x82,0x2020), broadcast status defined, active Serial0.1 (up): point-to-point dlci, dlci 140(0x8C,0x20C0), broadcast status defined, active #show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 3.0.0.0/24 is subnetted, 2 subnets C 3.1.3.0 is directly connected, Serial0.2 C 3.1.6.0 is directly connected, BRI0 4.0.0.0/24 is subnetted, 1 subnets C 4.0.1.0 is directly connected, Serial0.1 124.0.0.0/24 is subnetted, 1 subnets C 124.124.124.0 is directly connected, Ethernet0 123.0.0.0/8 is variably subnetted, 2 subnets, 2 masks I 123.0.0.0/8 [100/8576] via 4.0.1.2, 00:00:00, Serial0.1 S 123.123.123.0/24 [250/0] via 3.1.6.2 I 122.0.0.0/8 [100/8576] via 3.1.3.3, 00:00:37, Serial0.2 # *Mar 1 00:59:12.527: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up *Mar 1 00:59:13.983: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to up *Mar 1 00:59:18.547: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 6105 #show isdn history -------------------------------------------------------------------------------- ISDN CALL HISTORY -------------------------------------------------------------------------------- Call History contains all active calls, and a maximum of 100 inactive calls. Inactive call data will be retained for a maximum of 15 minutes. -------------------------------------------------------------------------------- Call Calling Called Remote Seconds Seconds Seconds Charges Type Number Number Name Used Left Idle Units/Currency -------------------------------------------------------------------------------- In 6105 6106 31 90 29 -------------------------------------------------------------------------------- # *Mar 1 01:01:14.547: %ISDN-6-DISCONNECT: Interface BRI0:1 disconnected from 6105, call lasted 122 seconds *Mar 1 01:01:14.663: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down *Mar 1 01:01:15.663: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to down #show frame-relay map Serial1.1 (up): point-to-point dlci, dlci 150(0x96,0x2460), broadcast status defined, active #ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/40 ms #show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set

I 3.0.0.0/8 [100/10476] via 4.0.1.1, 00:00:55, Serial1.1 4.0.0.0/24 is subnetted, 1 subnets C 4.0.1.0 is directly connected, Serial1.1 124.0.0.0/8 is variably subnetted, 2 subnets, 2 masks S 124.124.124.0/24 [250/0] via 3.1.6.1 I 124.0.0.0/8 [100/8576] via 4.0.1.1, 00:00:55, Serial1.1 123.0.0.0/24 is subnetted, 1 subnets C 123.123.123.0 is directly connected, Ethernet0 I 122.0.0.0/8 [100/10576] via 4.0.1.1, 00:00:55, Serial1.1 串 行 线 路 断 开 # *Mar 1 01:23:50.531: %LINK-3-UPDOWN: Interface Serial1, changed state to down *Mar 1 01:23:51.531: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to down *Mar 1 01:23:53.775: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down *Mar 1 01:23:53.791: %LINK-3-UPDOWN: Interface BRI0:2, changed state to down *Mar 1 01:23:53.827: %LINK-3-UPDOWN: Interface BRI0, changed state to up *Mar 1 01:23:57.931: %ISDN-6-LAYER2UP: Layer 2 for Interface BR0, TEI 64 changed to up #show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF,IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 3.0.0.0/24 is subnetted, 1 subnets C 3.1.6.0 is directly connected, BRI0 124.0.0.0/24 is subnetted, 1 subnets S 124.124.124.0 [250/0] via 3.1.6.1 123.0.0.0/24 is subnetted, 1 subnets C 123.123.123.0 is directly connected, Ethernet0 #show isdn status Global ISDN Switchtype = basic-net3 ISDN BRI0 interface dsl 0, interface ISDN Switchtype = basic-net3 Layer 1 Status: ACTIVE Layer 2 Status: TEI = 64, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED Layer 3 Status: 0 Active Layer 3 Call(s) Active dsl 0 CCBs = 0 The Free Channel Mask: 0x80000003 Total Allocated ISDN CCBs = 0 #ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: *Mar 1 01:25:47.383: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up Success rate is 80 percent (4/5), round-trip min/avg/max = 36/36/36 ms # *Mar 1 01:25:48.475: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to up # *Mar 1 01:25:53.407: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 6106 #show isdn status Global ISDN Switchtype = basic-net3 ISDN BRI0 interface dsl 0, interface ISDN Switchtype = basic-net3 Layer 1 Status: ACTIVE Layer 2 Status: TEI = 64, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED Layer 3 Status: 1 Active Layer 3 Call(s) CCB:callid=8003, sapi=0, ces=1, B-chan=1, calltype=data Active dsl 0 CCBs = 1 The Free Channel Mask: 0x80000002

Total Allocated ISDN CCBs = 1 #show isdn active -------------------------------------------------------------------------------- ISDN ACTIVE CALLS -------------------------------------------------------------------------------- Call Calling Called Remote Seconds Seconds Seconds Charges Type Number Number Name Used Left Idle Units/Currency -------------------------------------------------------------------------------- Out 6106 21 100 19 0 -------------------------------------------------------------------------------- # *Mar 1 01:27:49.027: %ISDN-6-DISCONNECT: Interface BRI0:1 disconnected from 6106, call lasted 121 seconds *Mar 1 01:27:49.131: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down *Mar 1 01:27:50.131: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to down *Mar 1 01:28:09.215: %LINK-3-UPDOWN: Interface Serial1, changed state to up *Mar 1 01:28:10.215: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to up *Mar 1 01:28:30.043: %ISDN-6-LAYER2DOWN: Layer 2 for Interface BRI0, TEI 64 changed to down *Mar 1 01:28:30.047: %ISDN-6-LAYER2DOWN: Layer 2 for Interface BR0, TEI 64 changed to down *Mar 1 01:28:30.371: %LINK-5-CHANGED: Interface BRI0, changed state to standby mode *Mar 1 01:28:30.387: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down *Mar 1 01:28:30.403: %LINK-3-UPDOWN: Interface BRI0:2, changed state to down # 串 行 连 接 再 回 到 #show isdn status Global ISDN Switchtype = basic-net3 ISDN BRI0 interface dsl 0, interface ISDN Switchtype = basic-net3 Layer 1 Status: DEACTIVATED Layer 2 Status: Layer 2 NOT Activated Layer 3 Status: 0 Active Layer 3 Call(s) Active dsl 0 CCBs = 0 The Free Channel Mask: 0x80000003 Total Allocated ISDN CCBs = 0 #show interface bri 0 BRI0 is standby mode, line protocol is down Hardware is BRI Internet address is 3.1.6.2/24 MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation PPP, loopback not set Last input 00:01:00, output 00:01:00, output hang never Last clearing of "show interface" counters 01:28:16 Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: weighted fair Output queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/1/16 (active/max active/max total) Reserved Conversations 0/0 (allocated/max allocated) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 128 packets input, 601 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 132 packets output, 687 bytes, 0 underruns 0 output errors, 0 collisions, 10 interface resets 0 output buffer failures, 0 output buffers swapped out 14 carrier transitions #ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/36 ms 带 有 拨 号 程 序 配 置 文 件 的 星 型 网 这 是 星 型 网 的 示 例 每 个 DLCI 备 份 配 置 分 支 路 由 器 呼 叫 中 心 路 由 器 您 可 以 看 到, 我 们 在 中 心 端 的 拨 号 池 上 使 用 max-link 选 项, 每 端 只 允 许 一 条 B 信 道

注 意 : 子 接 口 不 支 持 备 份 负 载 因 为 我 们 不 跟 踪 在 子 接 口 的 数 据 流 级 别, 负 载 没 有 计 算 网 络 图 配 置 Aton Aton#show running-config Building configuration... Aton Current configuration: version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption hostname Aton username password 0 cisco isdn switch-type basic-net3 interface Ethernet0 ip address 122.122.122.1 255.255.255.0 interface Serial1 no ip address interface Serial1.1 point-to-point ip address 3.1.3.3 255.255.255.0 backup delay 5 10 backup interface BRI0 frame-relay interface-dlci 160 interface BRI0 ip address 155.155.155.3 255.255.255.0 encapsulation ppp no ip route-cache no ip mroute-cache dialer map ip 155.155.155.2 name broadcast 6106 dialer-group 1 isdn switch-type basic-net3 ppp authentication chap router igrp 2 network 3.0.0.0 network 122.0.0.0 network 155.155.0.0 ip route 124.124.124.0 255.255.255.0 155.155.155.2 250 access-list 101 deny igrp any any access-list 101 permit ip any any

dialer-list 1 protocol ip list 101 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end #show running-config Building configuration... Current configuration : 1887 bytes version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname username password 0 cisco username Aton password 0 cisco isdn switch-type basic-net3 interface Ethernet0 ip address 124.124.124.1 255.255.255.0 interface Serial0 no ip address interface Serial0.1 point-to-point ip address 4.0.1.1 255.255.255.0 frame-relay interface-dlci 140 interface Serial0.2 point-to-point ip address 3.1.3.1 255.255.255.0 frame-relay interface-dlci 130 interface BRI0 no ip address encapsulation ppp no ip route-cache no ip mroute-cache dialer pool-member 2 max-link 1 dialer pool-member 1 max-link 1 isdn switch-type basic-net3 no peer default ip address no cdp enable ppp authentication chap interface Dialer1 ip address 160.160.160.1 255.255.255.0 encapsulation ppp no ip route-cache no ip mroute-cache dialer pool 1 dialer remote-name dialer-group 1 ppp authentication chap interface Dialer2 ip address 155.155.155.2 255.255.255.0 encapsulation ppp no ip route-cache no ip mroute-cache dialer pool 2 dialer remote-name Aton dialer-group 1 ppp authentication chap router igrp 2 network 3.0.0.0 network 4.0.0.0 network 124.0.0.0 network 155.155.0.0

network 160.160.0.0 access-list 101 deny igrp any any access-list 101 permit ip any any dialer-list 1 protocol ip list 101 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end #show running-config Building configuration... Current configuration : 1267 bytes version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname username password 0 cisco isdn switch-type basic-net3 interface Ethernet0 ip address 123.123.123.1 255.255.255.0 interface Serial1 no ip address interface Serial1.1 point-to-point backup delay 5 10 backup interface BRI0 ip address 4.0.1.2 255.255.255.0 frame-relay interface-dlci 150 interface BRI0 ip address 160.160.160.2 255.255.255.0 encapsulation ppp dialer map ip 160.160.160.1 name broadcast 6106 dialer-group 1 isdn switch-type basic-net3 ppp authentication chap router igrp 2 network 4.0.0.0 network 123.0.0.0 network 160.160.0.0 ip route 124.124.124.0 255.255.255.0 160.160.160.1 250 access-list 101 deny igrp any any access-list 101 permit ip any any dialer-list 1 protocol ip list 101 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end 显 示 命 令 show frame-relay map

show ip route show frame map show frame-relay pvc Aton Aton#show frame-relay map Serial1.1 (up): point-to-point dlci, dlci 160(0xA0,0x2800), broadcast status defined, active Aton#ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/36 ms Aton#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR, P - periodic downloaded static route T - traffic engineered route Gateway of last resort is not set I 155.155.0.0/16 [100/182571] via 3.1.3.1, Serial1.1 3.0.0.0/24 is subnetted, 1 subnets C 3.1.3.0 is directly connected, Serial1.1 I 4.0.0.0/8 [100/10476] via 3.1.3.1, Serial1.1 I 160.160.0.0/16 [100/182571] via 3.1.3.1, Serial1.1 124.0.0.0/8 is variably subnetted, 2 subnets, 2 masks S 124.124.124.0/24 [250/0] via 155.155.155.2 I 124.0.0.0/8 [100/8576] via 3.1.3.1, Serial1.1 I 123.0.0.0/8 [100/10576] via 3.1.3.1, Serial1.1 122.0.0.0/24 is subnetted, 1 subnets C 122.122.122.0 is directly connected, Ethernet0 Aton# Serial1 断 开 Aton# 01:16:33: %LINK-3-UPDOWN: Interface Serial1, changed state to down 01:16:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to down 01:16:37: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down 01:16:37: %LINK-3-UPDOWN: Interface BRI0:2, changed state to down 01:16:37: %LINK-3-UPDOWN: Interface BRI0, changed state to up 01:16:41: %ISDN-6-LAYER2UP: Layer 2 for Interface BR0, TEI 64 changed to up Aton#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR, P - periodic downloaded static route T - traffic engineered route Gateway of last resort is not set 155.155.0.0/24 is subnetted, 1 subnets C 155.155.155.0 is directly connected, BRI0 124.0.0.0/24 is subnetted, 1 subnets S 124.124.124.0 [250/0] via 155.155.155.2 122.0.0.0/24 is subnetted, 1 subnets C 122.122.122.0 is directly connected, Ethernet0 Aton#ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: 01:21:33: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up. Success rate is 80 percent (4/5), round-trip min/avg/max = 36/36/36 ms Aton# 01:21:34: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to up 01:21:39: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 6106

Aton#ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 32/123/296 ms Aton# Serial1 再 变 得 激 活 Aton# 01:24:02: %ISDN-6-DISCONNECT: Interface BRI0:1 disconnected from 6106, call lasted 149 seconds 01:24:02: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down 01:24:03: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to down Aton#show frame map Serial1.1 (down): point-to-point dlci, dlci 160(0xA0,0x2800), broadcast status deleted Aton# 01:26:35: %LINK-3-UPDOWN: Interface Serial1, changed state to up 01:26:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to up 01:26:56: %ISDN-6-LAYER2DOWN: Layer 2 for Interface BRI0, TEI 64 changed to down 01:26:56: %ISDN-6-LAYER2DOWN: Layer 2 for Interface BR0, TEI 64 changed to down 01:26:56: %LINK-5-CHANGED: Interface BRI0, changed state to standby mode 01:26:56: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down 01:26:56: %LINK-3-UPDOWN: Interface BRI0:2, changed state to down Aton#show frame map Serial1.1 (up): point-to-point dlci, dlci 160(0xA0,0x2800), broadcast status defined, active Aton#ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/36 ms Aton#ping 124.124.124.1 Aton#show frame-relay pvc PVC Statistics for interface Serial1 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 160, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1.1 input pkts 60 output pkts 69 in bytes 9694 out bytes 10811 dropped pkts 0 in FECN pkts 0 out bcast pkts 44 out bcast bytes 7565 pvc create time 01:28:35, last time pvc status changed 00:02:19 #show frame-relay map Serial0.1 (up): point-to-point dlci, dlci 140(0x8C,0x20C0), broadcast status defined, active Serial0.2 (up): point-to-point dlci, dlci 130(0x82,0x2020), broadcast status defined, active #ping 122.122.122.1 Sending 5, 100-byte ICMP Echos to 122.122.122.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 32/35/36 ms #ping 123.123.123.1 Sending 5, 100-byte ICMP Echos to 123.123.123.1, timeout is 2 seconds:

Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/36 ms #show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 155.155.0.0/24 is subnetted, 1 subnets C 155.155.155.0 is directly connected, Dialer2 3.0.0.0/24 is subnetted, 1 subnets C 3.1.3.0 is directly connected, Serial0.2 4.0.0.0/24 is subnetted, 1 subnets C 4.0.1.0 is directly connected, Serial0.1 160.160.0.0/24 is subnetted, 1 subnets C 160.160.160.0 is directly connected, Dialer1 124.0.0.0/24 is subnetted, 1 subnets C 124.124.124.0 is directly connected, Ethernet0 I 123.0.0.0/8 [100/8576] via 4.0.1.2, 00:00:55, Serial0.1 I 122.0.0.0/8 [100/8576] via 3.1.3.3, 00:00:35, Serial0.2 从 主 叫 方 的 两 串 行 线 路 断 开 # *Mar 1 01:21:30.171: %LINK-3-UPDOWN: Interface BRI0:1, changed state toup *Mar 1 01:21:30.627: %DIALER-6-BIND: Interface BR0:1 bound to profile Di2 *Mar 1 01:21:31.647: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to up *Mar 1 01:21:36.191: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 6104 Aton *Mar 1 01:21:40.923: %LINK-3-UPDOWN: Interface BRI0:2, changed state to up *Mar 1 01:21:41.359: %DIALER-6-BIND: Interface BR0:2 bound to profile Di1 *Mar 1 01:21:42.383: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:2, changed state to up *Mar 1 01:21:46.943: %ISDN-6-CONNECT: Interface BRI0:2 is now connected to 6105 *Mar 1 01:23:59.819: %DIALER-6-UNBIND: Interface BR0:1 unbound from profile Di2 *Mar 1 01:23:59.831: %ISDN-6-DISCONNECT: Interface BRI0:1 disconnected from 6104 Aton, call lasted 149 seconds *Mar 1 01:23:59.927: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down *Mar 1 01:24:00.923: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to down *Mar 1 01:24:03.015: %DIALER-6-UNBIND: Interface BR0:2 unbound from profile Di1 *Mar 1 01:24:03.023: %ISDN-6-DISCONNECT: Interface BRI0:2 disconnected from 6105, call lasted 142 seconds *Mar 1 01:24:03.107: %LINK-3-UPDOWN: Interface BRI0:2, changed state to down *Mar 1 01:24:04.107: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:2, changed state to down #show frame map Serial0.1 (down): point-to-point dlci, dlci 140(0x8C,0x20C0), broadcast status defined, inactive Serial0.2 (down): point-to-point dlci, dlci 130(0x82,0x2020), broadcast status defined, inactive # 两 串 行 线 路 再 是 可 用 的 #show frame pvc PVC Statistics for interface Serial0 (Frame Relay DTE) Active Inactive Deleted Static Local 2 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 130, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0.2 input pkts 54 output pkts 61 in bytes 7014 out bytes 9975 dropped pkts 3 in FECN pkts 0 out bcast pkts 40 out bcast bytes 7803 pvc create time 01:28:14, last time pvc status changed 00:02:38

DLCI = 140, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0.1 input pkts 56 output pkts 60 in bytes 7604 out bytes 10114 dropped pkts 2 in FECN pkts 0 out bcast pkts 39 out bcast bytes 7928 pvc create time 01:28:15, last time pvc status changed 00:02:29 #show frame-relay map Serial1.1 (up): point-to-point dlci, dlci 150(0x96,0x2460), broadcast status defined, active #ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/40 ms #show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set I 155.155.0.0/16 [100/182571] via 4.0.1.1, 00:00:41, Serial1.1 I 3.0.0.0/8 [100/10476] via 4.0.1.1, 00:00:41, Serial1.1 4.0.0.0/24 is subnetted, 1 subnets C 4.0.1.0 is directly connected, Serial1.1 I 160.160.0.0/16 [100/182571] via 4.0.1.1, 00:00:41, Serial1.1 124.0.0.0/8 is variably subnetted, 2 subnets, 2 masks S 124.124.124.0/24 [250/0] via 160.160.160.1 I 124.0.0.0/8 [100/8576] via 4.0.1.1, 00:00:41, Serial1.1 123.0.0.0/24 is subnetted, 1 subnets C 123.123.123.0 is directly connected, Ethernet0 I 122.0.0.0/8 [100/10576] via 4.0.1.1, 00:00:42, Serial1.1 # Serial1 断 开 # *Mar 1 01:16:08.287: %LINK-3-UPDOWN: Interface Serial1, changed state to down *Mar 1 01:16:09.287: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to down *Mar 1 01:16:11.803: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down *Mar 1 01:16:11.819: %LINK-3-UPDOWN: Interface BRI0:2, changed state to down *Mar 1 01:16:11.855: %LINK-3-UPDOWN: Interface BRI0, changed state to up *Mar 1 01:16:15.967: %ISDN-6-LAYER2UP: Layer 2 for Interface BR0, TEI 64 changed to up #show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 160.160.0.0/24 is subnetted, 1 subnets C 160.160.160.0 is directly connected, BRI0 124.0.0.0/24 is subnetted, 1 subnets S 124.124.124.0 [250/0] via 160.160.160.1 123.0.0.0/24 is subnetted, 1 subnets C 123.123.123.0 is directly connected, Ethernet0 #ping 124.124.124.1

Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: *Mar 1 01:21:38.967: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up. Success rate is 80 percent (4/5), round-trip min/avg/max = 36/36/36 ms # *Mar 1 01:21:40.063: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to up *Mar 1 01:21:44.991: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 6106 #ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/36/36 ms # Serial1 再 变 得 激 活 # *Mar 1 01:26:40.579: %LINK-3-UPDOWN: Interface Serial1, changed state to up *Mar 1 01:26:41.579: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to up *Mar 1 01:27:01.051: %ISDN-6-LAYER2DOWN: Layer 2 for Interface BRI0, TEI 64 changed to down *Mar 1 01:27:01.055: %ISDN-6-LAYER2DOWN: Layer 2 for Interface BR0, TEI 64 changed to down *Mar 1 01:27:01.363: %LINK-5-CHANGED: Interface BRI0, changed state to standby mode *Mar 1 01:27:01.379: %LINK-3-UPDOWN: Interface BRI0:1, changed state to down *Mar 1 01:27:01.395: %LINK-3-UPDOWN: Interface BRI0:2, changed state to down #show frame map Serial1.1 (up): point-to-point dlci, dlci 150(0x96,0x2460), broadcast status defined, active #ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 36/116/432 ms #show frame-relay pvc PVC Statistics for interface Serial1 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 150, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1.1 input pkts 58 output pkts 66 in bytes 9727 out bytes 10022 dropped pkts 0 in FECN pkts 0 out bcast pkts 46 out bcast bytes 7942 pvc create time 01:27:37, last time pvc status changed 00:01:59 配 置 帧 中 继 交 换 帧 中 继 交 换 是 根 据 数 据 链 路 连 接 标 识 符 (DLCI) 的 交 换 信 息 包 方 法 我 们 在 此 能 查 找 作 为 MAC 控 制 (MAC) 地 址 的 帧 中 继 等 同 您 通 过 配 置 您 的 Cisco 路 由 器 或 接 入 服 务 器 执 行 交 换 到 帧 中 继 网 络 有 两 部 分 对 帧 中 继 网 络 : 帧 中 继 数 据 终 端 设 备 (DTE) - 路 由 器 或 接 入 服 务 器 帧 中 继 数 据 电 路 终 端 的 设 备 (DCE) 交 换 机 注 意 : 在 Cisco IOS 软 件 release 12.1(2)T 及 以 上 版 本, frame route 命 令 由 连 接 命 令 替 换 了 请 查 看 配 置 示 例 在 下 面 的 配 置 中, 我 们 使 用 路 由 器 美 国 作 为 帧 中 继 交 换 机 我 们 使 用 作 为 中 心 路 由 器 和 和 Aton 作 为 分 支 路 由 器 我 们 连 接 他 们 如 下 : 序 列 1 (s1) DTE 连 接 对 美 国 序 列 1/4 (s1/4) DCE serial0 (s0) DTE 连 接 对 美 国 序 列 1/5 (s1/5) DCE

网 络 图 Aton 序 列 1 (s1) DTE 连 接 对 美 国 序 列 3/4 (s3/4) DCE 本 文 根 据 以 下 配 置 : 配 置 Aton 美 国 #show running-config Building configuration... version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname interface Ethernet0 ip address 124.124.124.1 255.255.255.0 interface Serial0 ip address 3.1.3.1 255.255.255.0 frame-relay interface-dlci 130 frame-relay interface-dlci 140 router rip network 3.0.0.0 network 124.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end #show running-config Building configuration... Current configuration : 1499 bytes version 12.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption

hostname interface Ethernet0 ip address 123.123.123.1 255.255.255.0 interface Serial1 ip address 3.1.3.2 255.255.255.0 frame-relay interface-dlci 150 router rip network 3.0.0.0 network 123.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end Aton Aton#show running-config Building configuration... Current configuration: version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption hostname Aton interface Ethernet0 ip address 122.122.122.1 255.255.255.0 interface Serial1 ip address 3.1.3.3 255.255.255.0 frame-relay interface-dlci 160 router rip network 3.0.0.0 network 122.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end 美 国 america#show running-config Building configuration... Current configuration: service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption hostname america frame-relay switching interface Serial1/4 description *** static DCE connection to s1

no ip address clockrate 2000000 frame-relay intf-type dce frame-relay route 150 interface Serial1/5 140 interface Serial1/5 description *** static DCE connection to s0 spicy no ip address bandwidth 1000000 tx-queue-limit 100 frame-relay intf-type dce frame-relay route 130 interface Serial3/4 160 frame-relay route 140 interface Serial1/4 150 transmitter-delay 10 interface Serial3/4 description *** static DCE connection to s1 Aton no ip mroute-cache clockrate 2000000 frame-relay intf-type dce frame-relay route 160 interface Serial1/5 130 显 示 命 令 请 使 用 以 下 显 示 命 令 测 试 您 的 网 络 适 当 地 操 作 : show frame-relay map show frame-relay pvc 以 下 所 示 的 输 出 是 在 我 们 在 此 示 例 配 置 中 使 用 的 设 备 上 输 入 这 些 命 令 的 结 果 #show frame-relay map Serial0 (up): ip 3.1.3.2 dlci 140(0x8C,0x20C0), dynamic, broadcast,, status defined, active Serial0 (up): ip 3.1.3.3 dlci 130(0x82,0x2020), dynamic, broadcast,, status defined, active #show frame-relay pvc PVC Statistics for interface Serial0 (Frame Relay DTE) Active Inactive Deleted Static Local 2 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 130, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0 input pkts 32 output pkts 40 in bytes 3370 out bytes 3928 dropped pkts 0 in FECN pkts 0 out bcast pkts 30 out bcast bytes 2888 pvc create time 00:15:46, last time pvc status changed 00:10:42 DLCI = 140, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0 input pkts 282 output pkts 291 in bytes 25070 out bytes 27876 dropped pkts 0 in FECN pkts 0 out bcast pkts 223 out bcast bytes 20884 pvc create time 02:28:36, last time pvc status changed 02:25:14 #show frame-relay map Serial1 (up): ip 3.1.3.1 dlci 150(0x96,0x2460), dynamic, broadcast,, status defined, active #show frame-relay pvc

PVC Statistics for interface Serial1 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 DLCI = 150, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1 input pkts 311 output pkts 233 in bytes 28562 out bytes 22648 dropped pkts 0 in FECN pkts 0 out bcast pkts 162 out bcast bytes 15748 pvc create time 02:31:39, last time pvc status changed 02:25:14 Aton Aton#show frame-relay map Serial1 (up): ip 3.1.3.1 dlci 160(0xA0,0x2800), dynamic, broadcast, status defined, active Aton#show frame-relay pvc PVC Statistics for interface Serial1 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 160, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial input pkts 35 output pkts 32 in bytes 3758 out bytes 3366 dropped pkts 0 in FECN pkt 0 out bcast pkts 27 out bcast bytes 2846 pvc create time 00:10:53, last time pvc status changed 00:10:53 配 置 帧 中 继 DLCI 优 先 级 通 过 数 据 链 路 连 接 标 识 符 (DLCI) 优 先 级 排 列 很 多 不 同 的 业 务 类 型 能 够 放 置 在 独 立 的 DLCI 上, 以 便 帧 中 继 网 络 能 为 每 个 业 务 类 型 提 供 不 同 的 承 诺 信 息 速 率 它 可 以 与 自 定 义 排 队 或 优 先 级 排 队 结 合 使 用, 提 供 帧 中 继 网 络 的 接 入 链 路 的 带 宽 管 理 控 制 另 外, 一 些 帧 中 继 服 务 提 供 商 和 帧 中 继 交 换 机 ( 例 如 Stratacom 互 联 网 络 信 息 包 交 换 [IPX] IGX BPX 或 AXIS 交 换 机 ) 可 根 据 优 先 级 设 置, 在 帧 中 继 网 云 中 提 供 优 先 级 排 列 实 施 注 意 事 项 当 实 现 DLCI 优 先 级 划 分, 请 注 意 下 列 问 题 时 : 网 络 图 如 果 附 属 DLCI 断 开, 您 将 丢 失 定 向 到 该 队 列 的 数 据 流 如 果 您 丢 失 主 要 DLCI, 那 么 子 接 口 断 开 并 且 丢 失 所 有 数 据 流 为 了 使 用 此 设 置, 您 需 为 使 用 DLCI 优 先 级 划 分 的 一 端 提 供 四 个 DLCI 在 本 例 中, 我 们 配 置 优 先 级 队 列 的 如 下 : Ping 在 高 优 先 级 队 列 Telnet 在 优 先 级 队 列 文 件 传 输 协 议 (FTP) 在 normal-priority 队 列 其 他 IP 数 据 流 在 低 优 先 级 队 列 注 意 : 确 保 您 配 置 的 DLCI 与 优 先 级 列 表 匹 配, 或 者 系 统 不 能 使 用 正 确 队 列 配 置

#show running-config Building configuration... Current configuration : 1955 bytes version 12.1 service timestamps debug datetime msec service timestamps log datetime msec hostname interface Ethernet0 ip address 124.124.124.1 255.255.255.0 interface Serial0 no ip address priority-group 1 interface Serial0.1 point-to-point ip address 4.0.1.1 255.255.255.0 frame-relay priority-dlci-group 1 140 180 190 200 frame-relay interface-dlci 140 router igrp 2 network 4.0.0.0 network 124.0.0.0 access-list 102 permit icmp any any priority-list 1 protocol ip high list 102 priority-list 1 protocol ip medium tcp telnet priority-list 1 protocol ip normal tcp ftp priority-list 1 protocol ip low line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end #show running-config Building configuration... version 12.1 service timestamps debug datetime msec service timestamps log datetime msec hostname interface Ethernet0 ip address 123.123.123.1 255.255.255.0 interface Serial1 ip address 4.0.1.2 255.255.255.0 router igrp 2 network 4.0.0.0 network 123.0.0.0 line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login end debug 和 show 命 令

请 使 用 以 下 显 示 和 调 试 指 令 测 试 您 的 网 络 适 当 地 操 作 在 发 出 debug 命 令 之 前, 请 参 阅 有 关 Debug 命 令 的 重 要 信 息 show frame-relay pvc show frame-relay map show queueing priority debug priority 以 下 所 示 的 输 出 是 在 我 们 在 此 示 例 配 置 中 使 用 的 设 备 上 输 入 这 些 命 令 的 结 果 #show frame-relay pvc PVC Statistics for interface Serial0 (Frame Relay DTE) Active Inactive Deleted Static Local 4 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 140, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0.1 input pkts 106 output pkts 15 in bytes 6801 out bytes 1560 dropped pkts 0 in FECN pkts 0 out bcast pkts 0 out bcast bytes 0 pvc create time 00:29:22, last time pvc status changed 00:20:37 Priority DLCI Group 1, DLCI 140 (HIGH), DLCI 180 (MEDIUM) DLCI 190 (NORMAL), DLCI 200 (LOW) DLCI = 180, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0.1 input pkts 0 output pkts 51 in bytes 0 out bytes 2434 dropped pkts 0 in FECN pkts 0 out bcast pkts 0 out bcast bytes 0 pvc create time 00:29:23, last time pvc status changed 00:14:48 DLCI = 190, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0.1 input pkts 0 output pkts 13 in bytes 0 out bytes 3653 dropped pkts 0 in FECN pkts 0 out bcast pkts 13 out bcast bytes 3653 pvc create time 00:29:23, last time pvc status changed 00:14:28 DLCI = 200, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0.1 input pkts 0 output pkts 42 in bytes 0 out bytes 2554 dropped pkts 0 in FECN pkts 0 out bcast pkts 10 out bcast bytes 500 pvc create time 00:29:24, last time pvc status changed 00:14:09 #show frame-relay map Serial0.1 (up): point-to-point dlci, dlci 140(0x8C,0x20C0), broadcast status defined, active Priority DLCI Group 1, DLCI 140 (HIGH), DLCI 180 (MEDIUM) DLCI 190 (NORMAL), DLCI 200 (LOW) #show queueing priority Current priority queue configuration: List Queue Args 1 high protocol ip list 102 1 medium protocol ip tcp port telnet 1 normal protocol ip tcp port ftp 1 low protocol ip 要 验 证 优 先 级 队 列, 请 使 用 debug priority 命 令 #debug priority Priority output queueing debugging is on #ping 123.123.123.1

Sending 5, 100-byte ICMP Echos to 123.123.123.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 44/45/48 ms # *Mar 1 00:32:30.391: PQ: Serial0: ip (s=4.0.1.1, d=123.123.123.1) ->high *Mar 1 00:32:30.395: PQ: Serial0: ip (s=4.0.1.1, d=123.123.123.1) ->high *Mar 1 00:32:30.399: PQ: Serial0 output (Pk size/q 104/0) *Mar 1 00:32:30.439: PQ: Serial0: ip (s=4.0.1.1, d=123.123.123.1) ->high *Mar 1 00:32:30.443: PQ: Serial0: ip (s=4.0.1.1, d=123.123.123.1) ->high *Mar 1 00:32:30.447: PQ: Serial0 output (Pk size/q 104/0) *Mar 1 00:32:30.487: PQ: Serial0: ip (s=4.0.1.1, d=123.123.123.1) ->high *Mar 1 00:32:30.491: PQ: Serial0: ip (s=4.0.1.1, d=123.123.123.1) ->high *Mar 1 00:32:30.495: PQ: Serial0 output (Pk size/q 104/0) *Mar 1 00:32:30.535: PQ: Serial0: ip (s=4.0.1.1, d=123.123.123.1) ->high *Mar 1 00:32:30.539: PQ: Serial0: ip (s=4.0.1.1, d=123.123.123.1) ->high *Mar 1 00:32:30.543: PQ: Serial0 output (Pk size/q 104/0) *Mar 1 00:32:30.583: PQ: Serial0: ip (s=4.0.1.1, d=123.123.123.1) ->high *Mar 1 00:32:30.587: PQ: Serial0: ip (s=4.0.1.1, d=123.123.123.1) ->high *Mar 1 00:32:30.587: PQ: Serial0 output (Pk size/q 104/0)# #telnet 123.123.123.1 Trying 123.123.123.1... Open User Access Verification Password: *Mar 1 00:32:59.447: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.451: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.451: PQ: Serial0 output (Pk size/q 48/1) *Mar 1 00:32:59.475: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.479: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.483: PQ: Serial0 output (Pk size/q 44/1) *Mar 1 00:32:59.487: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.487: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.491: PQ: Serial0 output (Pk size/q 53/1) *Mar 1 00:32:59.495: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.499: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.499: PQ: Serial0 output (Pk size/q 44/1) *Mar 1 00:32:59.511: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.511: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.515: PQ: Serial0 output (Pk size/q 47/1) *Mar 1 00:32:59.519: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.519: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.523: PQ: Serial0 output (Pk size/q 47/1) *Mar 1 00:32:59.527: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.527: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.531: PQ: Serial0 output (Pk size/q 53/1) *Mar 1 00:32:59.539: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.543: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.547: PQ: Serial0 output (Pk size/q 47/1) *Mar 1 00:32:59.751: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.755: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:32:59.755: PQ: Serial0 output (Pk size/q 44/1) Password: 其 他 IP 数 据 流 通 过 低 队 列 # *Mar 1 00:53:57.079: PQ: Serial0 output (Pk size/q 13/0) *Mar 1 00:53:58.851: PQ: Serial0: ip -> low *Mar 1 00:53:58.907: PQ: Serial0: ip -> low *Mar 1 00:53:58.907: PQ: Serial0 output (Pk size/q 36/3) *Mar 1 00:53:59.459: PQ: Serial0: ip -> low *Mar 1 00:53:59.463: PQ: Serial0: ip -> low *Mar 1 00:53:59.463: PQ: Serial0 output (Pk size/q 50/3) # #show frame-relay pvc PVC Statistics for interface Serial1 (Frame Relay DTE) Active Inactive Deleted Static Local 1 0 0 0 Switched 0 0 0 0 Unused 0 0 0 0 DLCI = 150, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1

input pkts 134 output pkts 119 in bytes 12029 out bytes 7801 dropped pkts 0 in FECN pkts 0 out bcast pkts 18 out bcast bytes 1260 pvc create time 00:21:15, last time pvc status changed 00:21:15 #show frame-relay map Serial1 (up): ip 4.0.1.1 dlci 150(0x96,0x2460), dynamic, broadcast, status defined, active #ping 124.124.124.1 Sending 5, 100-byte ICMP Echos to 124.124.124.1, timeout is 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 44/45/48 Here is the debug output shown on when you use the command above to ping to from. # *Mar 1 00:33:26.755: PQ: Serial0 output (Pk size/q 13/0) *Mar 1 00:33:28.535: PQ: Serial0: ip (s=124.124.124.1, d=4.0.1.2) ->high *Mar 1 00:33:28.539: PQ: Serial0: ip (s=124.124.124.1, d=4.0.1.2) ->high *Mar 1 00:33:28.543: PQ: Serial0 output (Pk size/q 104/0) *Mar 1 00:33:28.583: PQ: Serial0: ip (s=124.124.124.1, d=4.0.1.2) ->high *Mar 1 00:33:28.587: PQ: Serial0: ip (s=124.124.124.1, d=4.0.1.2) ->high *Mar 1 00:33:28.587: PQ: Serial0 output (Pk size/q 104/0) *Mar 1 00:33:28.631: PQ: Serial0: ip (s=124.124.124.1, d=4.0.1.2) ->high *Mar 1 00:33:28.635: PQ: Serial0: ip (s=124.124.124.1, d=4.0.1.2) ->high *Mar 1 00:33:28.635: PQ: Serial0 output (Pk size/q 104/0) *Mar 1 00:33:28.679: PQ: Serial0: ip (s=124.124.124.1, d=4.0.1.2) ->high *Mar 1 00:33:28.683: PQ: Serial0: ip (s=124.124.124.1, d=4.0.1.2) ->high *Mar 1 00:33:28.683: PQ: Serial0 output (Pk size/q 104/0) *Mar 1 00:33:28.723: PQ: Serial0: ip (s=124.124.124.1, d=4.0.1.2) ->high *Mar 1 00:33:28.727: PQ: Serial0: ip (s=124.124.124.1, d=4.0.1.2) ->high *Mar 1 00:33:28.731: PQ: Serial0 output (Pk size/q 104/0) #telnet 124.124.124.1 Trying 124.124.124.1... Open User Access Verification Password: >exit [Connection to 124.124.124.1 closed by foreign host] # 当 您 使 用 调 试 命 令 从 远 程 登 录 到 时, 这 便 是 上 显 示 的 调 试 输 出 # *Mar 1 00:33:54.499: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:54.499: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:54.503: PQ: Serial0 output (Pk size/q 48/1) *Mar 1 00:33:54.527: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:54.531: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:54.531: PQ: Serial0 output (Pk size/q 56/1) *Mar 1 00:33:54.547: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:54.551: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:54.555: PQ: Serial0 output (Pk size/q 86/1) *Mar 1 00:33:54.559: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:54.563: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:54.563: PQ: Serial0 output (Pk size/q 47/1) *Mar 1 00:33:54.571: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:54.575: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:54.575: PQ: Serial0 output (Pk size/q 47/1) *Mar 1 00:33:54.779: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:54.783: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:54.783: PQ: Serial0 output (Pk size/q 44/1) *Mar 1 00:33:56.755: PQ: Serial0 output (Pk size/q 13/0) *Mar 1 00:33:57.143: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:57.143: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:57.147: PQ: Serial0 output (Pk size/q 44/1) *Mar 1 00:33:57.447: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:57.447: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:57.451: PQ: Serial0 output (Pk size/q 44/1) *Mar 1 00:33:57.899: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:57.899: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:57.903: PQ: Serial0 output (Pk size/q 53/1) *Mar 1 00:33:59.491: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:59.495: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:59.495: PQ: Serial0 output (Pk size/q 45/1) *Mar 1 00:33:59.711: PQ: Serial0: ip (tcp 23) -> medium

*Mar 1 00:33:59.715: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:59.715: PQ: Serial0 output (Pk size/q 45/1) *Mar 1 00:33:59.951: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:59.951: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:33:59.955: PQ: Serial0 output (Pk size/q 45/1) *Mar 1 00:34:00.123: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:34:00.123: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:34:00.127: PQ: Serial0 output (Pk size/q 45/1) *Mar 1 00:34:00.327: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:34:00.327: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:34:00.331: PQ: Serial0 output (Pk size/q 46/1) *Mar 1 00:34:00.495: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:34:00.499: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:34:00.499: PQ: Serial0 output (Pk size/q 44/1) *Mar 1 00:34:00.543: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:34:00.543: PQ: Serial0: ip (tcp 23) -> medium *Mar 1 00:34:00.547: PQ: Serial0 output (Pk size/q 44/1) 帧 中 继 广 播 队 列 广 播 队 列 是 在 中 型 到 大 型 IP 或 IPX 网 络 中 使 用 的 一 种 主 要 功 能, 在 这 些 网 络 中, 路 由 和 服 务 接 入 点 (SAP) 广 播 必 须 在 帧 中 继 网 络 上 传 送 广 播 队 列 在 正 常 接 口 队 列 中 进 行 独 立 管 理, 有 它 自 己 的 缓 冲 区 可 配 置 大 小 和 服 务 速 率 此 广 播 队 列 没 有 使 用 桥 接 生 成 树 更 新 (BPDU) 由 于 时 钟 灵 敏 度 这 些 数 据 包 将 流 经 正 常 队 列 interface 命 令 启 用 广 播 队 列 跟 随 : 帧 中 继 广 播 队 列 大 小 字 节 速 率 信 息 包 费 率 广 播 队 列 被 指 定 最 大 传 输 速 率 ( 吞 吐 量 ) 限 额, 该 限 额 按 每 秒 字 节 数 和 每 秒 信 息 包 数 测 量 队 列 被 服 务 保 证 提 供 仅 此 最 大 数 量 传 输 速 率 低 于 配 置 的 最 大 速 率 时, 广 播 队 列 会 有 优 先 级, 并 且 保 证 有 最 小 带 宽 分 配 两 个 传 输 速 率 限 额 打 算 避 免 充 斥 接 口 与 广 播 实 际 限 制 在 所 有 秒 钟 是 达 到 的 第 一 个 速 率 限 制 给 传 输 速 率 限 制, 另 外 的 缓 冲 要 求 存 储 广 播 包 广 播 队 列 是 可 配 置 存 储 很 大 数 量 的 广 播 包 应 该 设 置 队 列 大 小 避 免 广 播 路 由 更 新 数 据 包 损 耗 确 切 大 小 取 决 于 正 在 使 用 的 协 议 和 每 次 更 新 所 需 的 信 息 包 数 量 为 安 全 起 见, 队 列 大 小 的 设 置 应 该 确 保 来 自 每 个 协 议 的 每 个 数 据 链 路 连 接 标 识 符 (DLCI) 的 完 整 路 由 更 新 能 够 存 储 通 常, 请 从 每 个 DLCI 20 数 据 包 开 始 比 特 率 比 两 个 应 该 是 较 少 的 下 列 : N/4 乘 以 最 低 远 程 访 问 速 率 ( 以 字 节 / 秒 为 单 位 ), 其 中 的 N 是 广 播 必 须 复 制 到 的 DLCI 的 数 量 1/4 本 地 访 问 存 取 速 率 ( 测 量 在 字 节 每 秒 ) 如 果 比 特 率 适 当 地, 设 置 数 据 包 速 率 不 是 关 键 一 般 来 说, 应 该 设 置 数 据 包 速 率 假 设 250-byte 数 据 包 默 认 串 行 接 口 为 64 个 队 列 大 小 每 秒 256,000 个 字 节 (2,048,000 bps) 和 36 pps 高 速 串 行 接 口 (HSSI) 的 默 认 值 为 256 个 队 列 大 小 1,024,000 字 节 / 秒 (8,192,000 bps) 和 144 pps 流 量 整 形 流 量 整 形 使 用 呼 叫 令 牌 桶 过 滤 器 的 一 个 速 率 控 制 控 制 机 制 此 令 牌 桶 过 滤 器 设 置 如 下 : 超 额 突 发 加 上 承 诺 突 发 量 (Bc+Be) = 虚 拟 电 路 的 最 大 速 度 超 出 最 大 速 度 的 数 据 流 在 流 量 整 形 队 列 中 缓 冲, 该 队 列 的 大 小 与 加 权 公 平 排 队 (WFQ) 相 等 令 牌 桶 过 滤 器 不 过 滤 数 据 流, 但 控 制 出 局 接 口 上 的 数 据 流 发 送 速 率 关 于 令 牌 桶 过 滤 器 的 更 多 信 息, 请 参 阅 监 管 与 整 形 概 述 本 文 提 供 通 用 流 量 整 形 和 帧 中 继 流 量 整 形 概 述 流 量 整 形 参 数 我 们 能 使 用 以 下 流 量 整 形 参 数 : CIR = 承 诺 信 息 速 率 (= 平 均 时 间 ) EIR = 过 大 信 息 速 率 TB = 令 牌 桶 (= Bc+Be) BC = 承 诺 突 发 流 量 大 小 (= 持 续 的 突 发 流 量 大 小 ) 是 = 超 额 突 发 大 小 DE = 丢 弃 资 格 Tc = 测 量 间 隔 AR = 与 物 理 接 口 速 率 对 应 的 接 入 速 率 ( 如 果 您 使 用 T1,AR 约 为 1.5 Mbps) 请 较 详 细 地 查 看 其 中 一 些 参 数 : 存 取 速 率 (AR) 终 端 站 到 网 络 的 最 高 传 输 速 度 ( 比 特 / 秒 ) 受 到 用 户 网 络 接 口 的 接 入 速 率 的 限 制 客 户 网 络 连 接 的 线 路 速 度 限 制 接 入 速 率 您 在 您 的 订 阅 能 设 立 此 到 服 务 提 供 商 承 诺 突 发 流 量 大 小 (BC)

您 能 提 供 到 网 络 的 最 大 承 诺 量 数 据 定 义 作 为 BC Bc 是 保 证 网 络 正 常 情 况 下 交 付 的 数 据 量 的 测 量 在 承 诺 速 率 Tc 期 间, 它 被 测 量 超 额 突 发 大 小 (Be) 仍 被 帧 中 继 交 换 机 接 受 但 被 标 志 为 符 合 丢 弃 条 件 (DE) 的 非 承 诺 位 (CIR 以 外 ) 的 数 量 令 牌 桶 是 虚 拟 缓 冲 区 它 包 含 一 定 数 量 的 令 牌, 启 用 您 发 送 有 限 的 数 据 每 个 时 间 间 隔 令 牌 桶 充 满 BC 位 每 个 Tc 桶 的 最 大 大 小 是 Bc+Be 如 果 Be 非 常 大, 在 T0 时 段, 令 牌 桶 填 满 了 BC+Be 令 牌, 则 您 能 够 以 接 入 速 率 发 送 BC+Be 位 这 不 是 通 过 TC 而 是 通 过 发 送 Be 的 时 间 限 制 的 这 是 接 入 速 率 的 功 能 承 诺 信 息 速 率 (CIR) CIR 是 网 络 承 诺 在 通 常 情 况 下 传 输 的 允 许 数 据 流 量 速 率 在 时 间 被 平 均 Tc 的 增 量 CIR 也 指 最 低 的 可 接 受 吞 吐 量 Bc 和 Be 以 位 为 单 位 Tc 以 秒 为 单 位 接 入 速 率 和 CIR 以 比 特 / 秒 为 单 位 BC, 是, Tc 和 CIR 每 数 据 链 路 连 接 标 识 符 (DLCI) 定 义 由 于 此, 令 牌 桶 过 滤 器 控 制 速 率 每 个 DLCI 接 入 速 率 每 个 用 户 网 络 接 口 是 有 效 对 于 Bc, Be 及 CIR 流 入 和 流 出 的 值 可 以 是 著 名 的 如 果 连 接 是 对 称 的, 在 两 个 方 向 的 值 是 相 同 的 对 于 永 久 虚 电 路, 我 们 定 义 了 流 入 和 流 出 的 Bc, Be 及 CIR 在 订 阅 时 间 高 峰 = DLCI 的 最 大 速 度 那 的 带 宽 特 定 DLCI Tc = Bc/CIR 高 峰 = CIR + Be/Tc = CIR (1 + Be/Bc) 如 果 Tc 是 一 秒 钟 然 后 : 高 峰 = CIR + 是 = Bc+Be EIR = 是 在 我 们 的 示 例 中, 路 由 器 根 据 网 络 中 的 拥 塞 情 况, 选 择 使 用 48 Kbps 还 是 32 Kbps 的 速 率 发 送 数 据 流 网 络 可 能 在 BC 上 用 DE 标 记 帧, 但 是 仍 有 大 量 空 闲 容 量 可 以 用 来 传 输 帧 反 向 也 是 可 能 的 : 他 们 能 立 即 限 制 了 产 能, 丢 弃 额 外 的 帧 网 络 可 能 在 Bc+Be 上 的 帧 标 记 DE, 可 能 传 输 这 个 帧, 或 者 根 据 国 际 电 信 联 盟 电 信 标 准 化 部 门 规 范 ITU-T I.370 丢 弃 它 流 量 整 形 抑 制 根 据 从 交 换 网 络 的 后 向 显 式 拥 塞 通 知 (BECN) 标 记 信 息 包 的 流 量 如 果 您 收 到 50% 的 BECN, 路 由 器 将 把 特 定 DLCI 减 少 到 当 前 传 输 带 宽 的 八 分 之 一 示 例 已 发 送 速 度 是 42 Kb 路 由 器 将 速 度 降 低 到 42-42/8, 为 36.75 千 字 节 如 果 更 改 后 拥 塞 减 少, 路 由 器 将 进 一 步 减 少 流 量, 从 而 使 当 前 传 输 带 宽 下 降 至 原 来 的 八 分 之 一 减 少 流 量, 直 到 达 到 配 置 的 CIR 值 然 而, 当 我 们 仍 然 能 看 见 BECN 时, 速 度 可 以 降 至 CIR 以 下 您 能 指 定 一 底 下 限 制, 例 如 CIR/2 当 从 网 络 中 收 到 的 所 有 帧, 在 给 定 的 时 间 间 隔 中 不 再 有 BECN 位 时, 网 络 便 不 再 拥 塞 200 毫 秒 是 此 间 隔 的 默 认 值 一 般 流 量 整 形 通 用 流 量 整 形 功 能 是 一 种 独 立 于 媒 体 和 封 装 的 流 量 整 形 工 具, 当 网 云 链 路 和 接 受 终 端 路 由 器 发 生 拥 塞 时, 它 可 以 减 少 出 局 流 量 我 们 在 接 口 或 子 接 口 能 设 置 它 在 路 由 器 内 通 用 流 量 整 形 在 以 下 情 况 下 是 有 用 的 :

当 您 的 网 络 拓 扑 由 中 心 站 点 的 高 速 连 接 (T1 线 路 速 度 ) 分 支 机 构 或 远 程 办 公 人 员 站 点 的 低 速 连 接 ( 低 于 56kbps) 组 成 时 由 于 速 度 不 匹 配, 当 中 心 站 点 发 送 数 据 的 速 度 高 于 远 程 站 点 能 够 接 收 的 速 度 时, 分 支 机 构 或 远 程 办 公 人 员 站 点 的 流 量 通 常 存 在 瓶 颈 这 导 致 在 最 后 交 换 机 的 一 瓶 颈 在 远 程 点 路 由 器 前 如 果 您 是 提 供 子 速 率 服 务 的 服 务 提 供 商, 此 功 能 将 使 您 能 够 使 用 路 由 器, 将 您 的 T1 或 T3 链 路 分 为 更 小 的 信 道 您 可 以 为 每 个 子 接 口 配 置 令 牌 过 滤 器 桶, 使 之 与 用 户 定 购 的 服 务 匹 配 在 帧 中 继 连 接 上, 您 可 能 希 望 路 由 器 抑 制 数 据 流, 而 不 是 将 数 据 流 发 送 到 网 络 中 限 制 流 量 将 限 制 在 服 务 提 供 商 的 网 云 的 包 丢 失 基 于 BECN 的 控 制 功 能, 使 您 能 够 根 据 从 网 络 中 收 到 的 BECN 标 记 数 据 包, 让 路 由 器 动 态 控 制 数 据 流 这 种 控 制 将 信 息 包 保 留 在 路 由 器 的 缓 冲 区, 以 便 减 少 从 路 由 器 到 帧 中 继 网 络 的 数 据 流 路 由 器 控 制 子 接 口 上 的 数 据 流, 当 少 量 的 BECN 标 记 的 信 息 包 收 到 时, 速 率 也 会 增 加 通 用 流 量 整 形 的 命 令 要 定 义 速 率 控 制, 请 使 用 此 命 令 : traffic-shape rate 位 元 速 率 [burst-size [excess-burst-size]] [group access-list] 要 节 流 在 帧 中 继 接 口 的 BECN 使 用 此 命 令 : traffic-shape.adaptive [bit-rate] 如 果 要 配 置 帧 中 继 子 接 口 来 评 估 接 收 BECN 的 可 用 带 宽, 请 使 用 traffic-shape adaptive 命 令 注 意 : 在 您 能 够 使 用 traffic-shape adaptive 命 令 之 前, 您 必 须 在 带 有 traffic-shape rate 命 令 的 接 口 上 启 用 流 量 整 形 为 traffic-shape rate 命 令 指 定 的 比 特 率 是 上 限, 为 traffic-shape adaptive 命 令 指 定 的 比 特 率 是 下 限 ( 通 常 为 CIR 值 ), 当 接 口 接 收 BECN 时, 数 据 流 整 形 的 比 特 率 在 此 范 围 之 内 实 际 上 使 用 的 速 率 通 常 在 这 两 速 率 之 间 您 应 该 在 链 路 两 端 配 置 traffic-shape adaptive 命 令, 因 为 该 命 令 也 会 配 置 流 末 端 的 设 备, 将 转 发 显 式 拥 塞 通 知 (FECN) 信 号 作 为 反 映 为 BECN 既 使 数 据 流 主 要 在 一 个 方 向, 这 也 能 使 高 速 端 的 路 由 器 发 现 和 适 应 拥 塞 示 例 以 下 示 例 配 置 了 接 口 0.1 上 的 流 量 整 形, 上 限 为 ( 通 常 为 Bc + Be)128 kbps, 下 限 为 64 kbps 这 允 许 链 路 运 行 速 率 从 64kbps 到 128kbps, 具 体 取 决 于 拥 塞 程 度 如 果 中 心 侧 有 一 个 256 kbps 的 上 限, 您 应 该 使 用 最 低 的 上 限 值 这 是 什 么 我 们 在 这 些 路 由 器 配 置 : Central# interface serial 0 encapsulation-frame-relay interface serial 0.1 traffic-shape rate 128000 traffic-shape adaptive 64000 Client# interface serial 0 encapsulation-frame-relay interface serial 0.1 traffic-shape rate 128000 traffic-shape adaptive 64000 帧 中 继 流 量 整 形 在 通 用 流 量 整 形 中, 您 只 能 为 每 个 物 理 接 口 的 指 定 一 个 峰 值 速 率 ( 上 限 ), 为 每 个 子 接 口 指 定 一 个 CIR ( 下 限 ) 使 用 帧 中 继 流 量 整 形, 您 启 动 一 个 令 牌 桶 过 滤 器 每 条 虚 拟 电 路 在 帧 中 继 功 能 的 流 量 整 形 提 供 以 下 功 能 : 在 逐 个 VC 的 速 率 强 制 : 您 可 以 配 置 峰 值 速 率, 把 出 局 流 量 限 制 为 CIR 或 某 些 其 他 定 义 值, 例 如 突 发 信 息 速 率 (EIR) 在 逐 个 VC 的 概 括 的 BECN 支 持 : 路 由 器 能 监 控 BECN, 并 从 帧 中 继 网 络 限 制 根 据 BECN 标 记 的 信 息 包 反 馈 的 流 量