16-H3C SR6600_SR6600-X路由器 CPOS接口典型配置举例
本章节下载 (191.50 KB)
H3C SR6600/SR6600-X系列路由器
CPOS接口配置举例
Copyright © 2022新华三技术有限公司 版权所有,保留一切权利。
非经本公司书面许可,任何单位和个人不得擅自摘抄、复制本文档内容的部分或全部,并不得以任何形式传播。
除新华三技术有限公司的商标外,本手册中出现的其它公司的商标、产品标识及商品名称,由各自权利人拥有。
本文档中的信息可能变动,恕不另行通知。
本文档介绍了使用CPOS汇聚E1的配置举例。
本文档中的配置均是在实验室环境下进行的配置和验证,配置前设备的所有参数均采用出厂时的缺省配置。如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下举例中的配置不冲突。
本文假设您已了解CPOS、E1、MP特性。
Router A中心节点下属有B~H七个分支节点,每个分支节点设备通过E1链路上行连接到Router A;Router A通过CPOS接口汇聚上行的链路。最近,由于Router B上的接入用户增多,导致带宽需求增加,一条E1链路满足不了需求,因此添加了一条E1链路。要求用MP-group接口的方式,对这两条E1链路进行捆绑。
图1 CPOS汇聚E1配置组网图
本举例是在R8128版本上进行配置和验证的。
设备与SONET/SDH设备相连时,由于SONET/SDH网络的时钟精度高于设备内部时钟源的精度,所以在本举例中请确保在SONET/SDH设备上已经配置主时钟模式。
# 设置CPOS接口的E1通道工作在非成帧模式。
[RouterA] controller cpos 2/1/1
[RouterA-Cpos2/1/1] e1 1 unframed
[RouterA-Cpos2/1/1] e1 2 unframed
[RouterA-Cpos2/1/1] quit
# 创建MP-group接口,配置相应的IP地址。
[RouterA] interface mp-group 2/1/1
[RouterA-Mp-group2/1/1] ip address 10.1.1.1 24
[RouterA-Mp-group2/1/1] quit
# 为与Router B的两条E1链路配置逻辑串口Serial2/1/1/1:0和Serial2/1/1/2:0。
[RouterA] interface serial2/1/1/1:0
[RouterA-Serial2/1/1/1:0] ppp mp mp-group 2/1/1
[RouterA-Serial2/1/1/1:0] quit
[RouterA] interface serial2/1/1/2:0
[RouterA-Serial2/1/1/2:0] ppp mp mp-group 2/1/1
[RouterA-Serial2/1/1/2:0] quit
(2) 配置Router B
# 进入CE1接口E1 2/1/1的视图,并配置此接口工作在E1方式。
[RouterB] controller e1 2/1/1
[RouterB-E1 2/1/1] using e1
[RouterB-E1 2/1/1] quit
# 进入CE1接口E1 2/1/2的视图,并配置此接口工作在E1方式。
[RouterB] controller e1 2/1/2
[RouterB-E1 2/1/2] using e1
[RouterB-E1 2/1/2] quit
# 创建MP-group接口。
[RouterB] interface mp-group 2/1/1
[RouterB-Mp-group2/1/1] ip address 10.1.1.2 24
[RouterB-Mp-group2/1/1] quit
# 为两条E1链路配置逻辑串口Serial2/1/1:0和Serial2/1/2:0。
[RouterB] interface serial2/1/1:0
[RouterB-Serial2/1/1:0] ppp mp mp-group 2/1/1
[RouterB-Serial2/1/1:0] quit
[RouterB] interface serial2/1/2:0
[RouterB-Serial2/1/2:0] ppp mp mp-group 2/1/1
[RouterB-Serial2/1/2:0] quit
(1) 检查Router A与Router B的MP-group接口是否可以互相正常通信。
# 检查Router A上的MP-group接口。
[RouterA] ping 10.1.1.2
Ping 10.1.1.2 (10.1.1.2): 56 data bytes, press CTRL_C to break
56 bytes from 10.1.1.2: icmp_seq=0 ttl=255 time=32.998 ms
56 bytes from 10.1.1.2: icmp_seq=1 ttl=255 time=27.632 ms
56 bytes from 10.1.1.2: icmp_seq=2 ttl=255 time=34.517 ms
56 bytes from 10.1.1.2: icmp_seq=3 ttl=255 time=45.058 ms
56 bytes from 10.1.1.2: icmp_seq=4 ttl=255 time=35.121 ms
--- Ping statistics for 10.1.1.2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 27.632/35.065/45.058/5.651 ms
# 检查Router B上的MP-group接口。
[RouterB] ping 10.1.1.1
Ping 10.1.1.1 (10.1.1.1): 56 data bytes, press CTRL_C to break
56 bytes from 10.1.1.1: icmp_seq=0 ttl=255 time=27.877 ms
56 bytes from 10.1.1.1: icmp_seq=1 ttl=255 time=27.616 ms
56 bytes from 10.1.1.1: icmp_seq=2 ttl=255 time=42.308 ms
56 bytes from 10.1.1.1: icmp_seq=3 ttl=255 time=36.238 ms
56 bytes from 10.1.1.1: icmp_seq=4 ttl=255 time=71.639 ms
--- Ping statistics for 10.1.1.1 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 27.616/41.136/71.639/16.214 ms
(2) 检查Router A和Router B的MP-group接口的详细信息,查看MP-group接口状态。
# 检查Router A的MP-group接口的详细信息。
[RouterA] display interface mp-group 2/1/1
MP-group2/1/1
Current state: UP
Line protocol state: UP
Description: MP-group2/1/1 Interface
Bandwidth: 1024kbps
Maximum Transmit Unit: 1500
Hold timer: 10 seconds, retry times: 5
Internet Address is 10.1.1.1/24 (primary)
Link layer protocol: PPP
LCP: opened, MP: opened, IPCP: opened, OSICP: opened, MPLSCP: opened, IPv6CP: op
ened
Physical: MP, baudrate: 1024000 bps
Output queue - Urgent queuing: Size/Length/Discards 0/100/0
Output queue - Protocol queuing: Size/Length/Discards 0/500/0
Output queue - FIFO queuing: Size/Length/Discards 0/75/0
Last link flapping: Never
Last clearing of counters: Never
Last 300 seconds input rate: 0 bytes/sec, 0 packets/sec
Last 300 seconds output rate: 0 bytes/sec, 0 packets/sec
Input: 0 packets, 0 bytes, 0 drops
Output: 0 packets, 0 bytes, 0 drops
# 检查Router B的MP-group接口的详细信息。
[RouterB] display interface mp-group 2/1/1
MP-group2/1/1
Current state: UP
Line protocol state: UP
Description: MP-group2/1/1 Interface
Bandwidth: 1024kbps
Maximum Transmit Unit: 1500
Hold timer: 10 seconds, retry times: 5
Internet Address is 10.1.1.2/24 (primary)
Link layer protocol: PPP
LCP: opened, MP: opened, IPCP: opened, OSICP: opened, MPLSCP: opened, IPv6CP: opened
Physical: MP, baudrate: 1024000 bps
Output queue - Urgent queuing: Size/Length/Discards 0/100/0
Output queue - Protocol queuing: Size/Length/Discards 0/500/0
Output queue - FIFO queuing: Size/Length/Discards 0/75/0
Last link flapping: Never
Last clearing of counters: Never
Last 300 seconds input rate: 0 bytes/sec, 0 packets/sec
Last 300 seconds output rate: 0 bytes/sec, 0 packets/sec
Input: 0 packets, 0 bytes, 0 drops
Output: 0 packets, 0 bytes, 0 drops
以上信息表明,Router A与Router B的MP-group接口都为UP,可以正常通信。
(3) 检查Router A和Router B的MP的详细信息,验证MP-group 1的MP配置是否正确。
# 检查Router A的MP的详细信息。
[RouterA] display ppp mp interface mp-group 2/1/1
Template: MP-group2/1/1
max-bind: 16, fragment: enabled, min-fragment: 128
Master link: MP-group2/1/1, Active members: 2, Bundle Multilink
Peer's endPoint descriptor: MP-group2/1/1
Sequence format: long (rcv)/long (sent)
Bundle Up Time: 2017/07/25 09:16:07:745
0 lost fragments, 0 reordered, 0 unassigned, 0 interleaved
Sequence: 0 (rcv)/0 (sent)
Active member channels: 16 members
Serial2/1/1/1:0 Up-Time:2017/07/25 09:16:07:747
Serial2/1/1/2:0 Up-Time:2017/07/25 09:16:07:746
# 检查Router B的MP的详细信息。
[RouterB] display ppp mp interface mp-group 2/1/1
Template: MP-group2/1/1
max-bind: 16, fragment: enabled, min-fragment: 128
Master link: MP-group2/1/1, Active members: 2, Bundle Multilink
Peer's endPoint descriptor: MP-group2/1/1
Sequence format: long (rcv)/long (sent)
Bundle Up Time: 2017/07/25 09:16:07:745
0 lost fragments, 0 reordered, 0 unassigned, 0 interleaved
Sequence: 0 (rcv)/0 (sent)
Active member channels: 16 members
Serial2/1/1:0 Up-Time:2017/07/25 09:16:07:747
Serial2/1/2:0 Up-Time:2017/07/25 09:16:07:746
以上信息表明,Router A与Router B的MP-group 1的MP配置正确,可以正常通信。
· Router A:
#
controller cpos 2/1/1
e1 1 unframed
e1 2 unframed
#
interface mp-group 2/1/1
ip address 10.1.1.1 24
#
interface serial2/1/1/1:0
ppp mp mp-group 2/1/1
#
interface serial2/1/1/2:0
ppp mp mp-group 2/1/1
#
· Router B:
#
controller e1 2/1/1
using e1
#
controller e1 2/1/2
using e1
#
interface mp-group 2/1/1
ip address 10.1.1.2 24
#
interface serial2/1/1:0
ppp mp mp-group 2/1/1
#
interface serial2/1/2:0
ppp mp mp-group 2/1/1
#
· H3C SR6600 SR6600-X 路由器 接口管理配置指导-R7607
· H3C SR6600 SR6600-X 路由器 接口管理配置指导-R7607
· H3C SR6600 SR6600-X 路由器 二层技术-广域网接入配置指导-R7607
· H3C SR6600 SR6600-X 路由器 二层技术-广域网接入命令参考-R7607
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!