Aal34smd使用SMDS服务器,通过SMDS over ATM规范,并且在单个ATM UNI上反映无连接
及面向连接的服务的完整接入。Qssaal 是使用信令 PVC 的信令 ATM 适配层协议,而 ILMI 是
集成本地管理接口使用的封装类型。
此后需要设置各种流量的参数,例如ABR/UBR/VBR的 PCR值等,配置方式如下:
Router(config-if-atm-vc)# abr output-pcr output-mcr
Router(config-if-atm-vc)# ubr output-pcr
Router(config-if-atm-vc)# ubr+ output-pcr output-mcr
Router(config-if-atm-vc)# vbr-nrt output-pcr output-scr output-mbs
Router(config-if-atm-vc)# vbr-rt peak-rate average-rate burst
Router(config-if-atm-vc)# atm abr rate-factor [rate-increase-factor]
[rate-decrease-factor]
对于Cisco路由器在使用ILMI 封装类型时,可以通过邻接的ATM交换机自动发现PVC的参数以及各
种流量参数。
Router(config-if)# pvc [name] 0/16 ilmi
Router(config-if-atm-vc)# exit
Router(config-if)# atm ilmi-pvc-discovery [subinterface]
Router(config-if)# exit
在使用PVC命令创建一条PVC后,反向ARP 解析默认在PVC链路上开启。但是当存在有静态的映射
时,反向ARP 将自动关闭。
Router(config)# interface atm 1/0.4 {multipoint | point-to-point}
Router(config-if)# pvc [name] vpi/vci
Router(config-if-atm-vc)# encapsulation aal5snap
Router(config-if-atm-vc)# inarp minutes
对于一条PVC 可以选择开启端到端的F5 OAM回环信元测试。该测试用于检测PVC的连通性。但必
须要求远端设备支持这类信元的回复功能。如果 OAM 响应信元丢失,则 PVC 状态变为 down。如果一个
子接口上的所有PVC都断开,则该子接口状态将为down。
Router(config-if-atm-vc)# oam-pvc [manage] frequency
Router(config-if-atm-vc)# oam retry up-count down-count retry-frequency
对于一条PVC 链路,在ATM-VC模式下加入如下命令则可支持广播
Router(config-if-atm-vc)# broadcast
PVC链路也可以使用SNMP Trap,配置方式如下:
Router(config)# snmp-server enable traps atm pvc interval seconds
fail-interval seconds
Router(config)# interface atm 1/0.3{multipoint | point-to-point}
Router(config-if)# pvc [name] vpi/vci
Router(config-if-atm-vc)# oam-pvc manage
43.7.2 PVC配置实例
配置使用LLC/SNAP封装的 PVC
interface atm 4/0
ip address 172.21.168.112 255.255.255.0
atm maxvc 512
pvc 1/51
protocol ip 171.21.168.110
exit
!
pvc 2/52
protocol decnet 10.1 broadcast
exit
!
pvc 3/53
protocol clns 47.004.001.0000.0c00.6e26.00 broadcast
exit
!
decnet cost 1
clns router iso-igrp comet
exit
!
router iso-igrp comet
net 47.0004.0001.0000.0c00.6666.00
配置多条PVC,拓扑结构如下图
Router A
ip routing
!
interface atm 4/0
ip address 131.108.168.1 255.255.255.0
pvc 0/32
protocol ip 131.108.168.2 broadcast
!
pvc 0/33
protocol ip 131.108.168.3 broadcast
exit
Router B
ip routing
!
interface atm 2/0
ip address 131.108.168.2 255.255.255.0
pvc test-b-1 0/32
protocol ip 131.108.168.1 broadcast
!
pvc test-b-2 0/34
protocol ip 131.108.168.3 broadcast
Router C
ip routing
!
interface atm 4/0
ip address 131.108.168.3 255.255.255.0
pvc 0/33
protocol ip 131.108.168.1 broadcast
!
pvc 0/34
protocol ip 131.108.168.2 broadcast
配置支持F5 OAM回环信元的 PVC
interface atm 2/0
pvc routerA 0/32
oam-pvc manage 3
oam retry 5 5 10
配置PVC流量参数及流量自动发现
interface atm 4/0
ip address 1.1.1.1 255.255.255.0
pvc 0/34
atm abr rate-factor 32 32
no shutdown
!
interface atm 2/0
pvc RouterA 0/16 ilmi
exit
atm ilmi-pvc-discovery subinterface
exit
!
interface atm 2/0.1 multipoint
ip address 172.21.51.5 255.255.255.0
43.7.3 配置SVC
在一个SVC环境,必须配置一个PVC用于ILMI,使得路由器能够收到SNMP traps消息和新的网络前
缀。这条PVC 使用保留的0/16。配置方式如下:
Router(config-if)# pvc [name] 0/16 ilmi
Router(config-if)# atm ilmi-keepalive[seconds]
SVC的建立和断开消息使用Q.2931协议,ATM 使用带外信令,并且使用一条特定的PVC用于信令传
送。信令PVC 配置如下:
Router(config-if)# pvc cisco 0/5 qsaal
如果ILMI没有自动分配地址,则需要定义一个40字节的 ATM地址,例如NSAP格式
Router(config-if)# atm nsap-address nsap-address
如果将 ILMI 用于地址分配功能,就应该定义地址的端系统指示符(ESi)部分,注意,前缀字节由 ILMI
从入口ATM交换机自动获取
Router(config-if)# atm esi-address esi.selector
接下来可以创建一条SVC
Router(config-if)# svc [name] nsap address
Router(config-if-atm-vc)# encapsulation aal5encap
Router(config-if-atm-vc)# protocol protocol protocol-address [[no] broadcast]
对于这条SVC,可以设置UNI 的版本号
Router(config-if)# atm uni-version version-number
同时也可以设置SVC的带宽和空闲时间,
Router(config-if-atm-vc)# idle-timeout seconds [minimum-rate]
SVC支持点到多点信令,这种方式支持路由器发送一个报文到ATM交换机,而交换机复制报文到多
个目的主机。在配置多点信令后,路由器可以使用带有关键字的多点呼叫来凝结,这样就可以使用AddParty
消息建立点到多点的连接方式
Router(config-if)# atm multipoint-signalling
Router(config-if)# atm multipoint-interval interval
SVC流量参数也可以调整,如下:
Router(config-if)# svc [name] nsap address
Router(config-if-atm-vc)# protocol protocol protocol-address [[no] broadcast]
Router(config-if-atm-vc)# ubr output-pcr [input-pcr]
Router(config-if-atm-vc)# ubr+ output-pcr output-mcr [input-pcr] [input-mcr]
Router(config-if-atm-vc)# vbr-nrt output-pcr output-scr output-mbs [input-pcr]
[input-scr] [input-mbs]
SVC流量整形配置如下:
Router(config-if)# atm sig-traffic-shaping strict
同样SVC也可以配置支持F5 OAM的端到端回环信元
Router(config-if-atm-vc)# oam-svc [manage] frequency
Router(config-if-atm-vc)# oam retry up-count down-count retry-frequency
在SVC上支持广播流量,可以配置如下命令
Router(config-if-atm-vc)# broadcast
配置SSCOP协议
Router(config-if)# sscop poll-timer seconds
Router(config-if-atm-vc)# sscop keepalive-timer seconds
Router(config-if)# sscop cc-timer seconds
Router(config-if)# sscop max-cc retries
Router(config-if)# sscop send-window packets
关闭一条SVC 的配置方式如下:
Router # atmsig close atm slot/0 vcd
43.7.4 SVC配置实例
对于如图拓扑配置SVC
Router A
interface atm 4/0
ip address 172.16.168.1 255.255.255.0
atm nsap-address AB.CDEF.01.234567.890A.BCDE.F012.3456.7890.1234.12
atm maxvc 1024
pvc 0/5 qsaal
exit
!
svc svc-1 nsap BC.CDEF.01.234567.890A.BCDE.F012.3456.7890.1334.13
protocol ip 172.16.168.2
exit
!
svc svc-2 nsap CA.CDEF.01.234567.890A.BCDE.F012.3456.7890.1334.12
protocol ip 131.108.168.3
exit
Router B
interface atm 2/0
ip address 172.16.168.2 255.255.255.0
atm nsap-address BC.CDEF.01.234567.890A.BCDE.F012.3456.7890.1334.13
atm maxvc 1024
pvc 0/5 qsaal
exit
!
svc svc-1 nsap AB.CDEF.01.234567.890A.BCDE.F012.3456.7890.1234.12
protocol ip 172.16.168.1
exit
!
svc svc-2 nsap CA.CDEF.01.234567.890A.BCDE.F012.3456.7890.1334.12
protocol ip 172.16.168.3
exit
Router C
interface atm 4/0
ip address 172.16.168.3 255.255.255.0
atm nsap-address CA.CDEF.01.234567.890A.BCDE.F012.3456.7890.1334.12
atm maxvc 1024
pvc 0/5 qsaal
exit
!
svc nsap AB.CDEF.01.234567.890A.BCDE.F012.3456.7890.1234.12
protocol ip 172.16.168.1
exit
!
svc nsap BC.CDEF.01.234567.890A.BCDE.F012.3456.7890.1334.13
protocol ip 172.16.168.2
exit
配置ESI地址和NSAP地址
interface atm 4/0
pvc 0/16 ilmi
atm esi-address 345678901234.12
interface atm 4/0
atm nsap-address AB.CDEF.01.234567.890A.BCDE.F012.3456.7890.1234.12
配置支持多点信令的SVC
interface atm 2/0
ip address 4.4.4.6 255.255.255.0
pvc 0/5 qsaal
exit
!
pvc 0/16 ilmi
exit
!
atm esi-address 3456.7890.1234.12
!
svc mcast-1 nsap cd.cdef.01.234566.890a.bcde.f012.3456.7890.1234.12 broadcast
protocol ip 4.4.4.4 broadcast
exit
!
svc mcast-2 nsap31.3233.34.352637.3839.3031.3233.3435.3637.3839.30 broadcast
protocol ip 4.4.4.7 broadcast
exit
!
atm multipoint-signalling
atm maxvc 1024
配置SVC业务流量参数:
interface atm 4/0
svc svc-1 nsap 47.0091.81.000000.0041.0B0A.1581.0040.0B0A.1585.00
vbr-nrt 1000 500 64 800 400 64
exit
43.7.5 配置VC Classes
VC Classes 用于给一个特殊的VC或者ATM接口提供预配置模板,VC class可以应用在一个ATM主接
口上,也可以应用在子接口和PVC/SVC上。
使用如下命令创建一个VC Classes
Router(config)# vc-class atm name
VC Classes 可以对如下参数进行设置:
abr
broadcast
encapsulation aal5
idle-timeout
ilmi manage
inarp
oam-pvc
oam retry
oam-svc
protocol
ubr
ubr+
vbr-nrt
将VC Classes 应用在相应的接口或者VC上:
Router(config-if)# pvc [name] vpi/vci
Router(config-if)# svc [name] nsap address
Router(config-if-atm-vc)# class-vc vc-class-name
Router(config)# interface atm 1/0.1 {multipoint | point-to-point}]
Router(config-if)# class-int vc-class-name
VC Class 配置实例:
vc-class atm main
ubr 10000
encapsulation aal5mux ip
!
vc-class atm sub
ubr 15000
oam-pvc manage 3
!
vc-class atm pvc
vbr-nrt 10000 5000 64
encapsulation aal5snap
!
interface atm 4/0
class-int main
!
interface atm 4/0.5 multipoint
class-int sub
!
interface atm 4/0.5 multipoint
pvc 0/56
class-vc pvc
43.7.6 VC管理
ILMI:Interim Local Management Interface(本地管理临时接口) 整合的本地管理接口(ILMI)协议
可用于工作站与交换机之间的交互界面。该协议以简单网络管理协议(SNMP)为基础。它可以进行地址
分配等多种管理功能。 ILMI 管理仅在 PVC 上使用。首先需要创建一条 0/16 的 ILMI 格式 PVC,然后再对
特定的PVC启用ILMI管理:
Router(config-if)# pvc [name] 0/16 ilmi
Router(config-if)# pvc [name] vpi/vci
Router(config-if-atm-vc)# ilmi manage
OAM管理配置如下:
Router(config-if-atm-vc)# oam-pvc manage [frequency]
Router(config-if-atm-vc)# oam retry up-count down-count retry-frequency
例如在一条PVC和SVC上配置OAM管理:
interface atm 2/0
pvc routerA 0/32
oam-pvc manage 3
oam retry 5 5 10
interface atm 1/0
svc routerZ nsap 47.0091.81.000000.0040.0B0A.2501.ABC1.3333.3333.05
oam-svc manage 3
oam retry 5 5 10
43.7.7 配置经典的IP和ARP
配置ATM-ARP 客户端:
Router(config)# interface atm number
Router(config-if)# atm esi-address esi.selector
Router(config-if)# ip address address mask
Router(config-if)# atm classic-ip-extensions BFI
Router(config-if)# atm arp-server nsap nsap-address
Router(config-if)# no shutdown
配置ATM-ARP 服务器:
Router(config)# interface atm number
Router(config-if)# atm esi-address esi.selector
Router(config-if)# ip address address mask
Router(config-if)# atm classic-ip-extensions BFI
Router(config-if)# atm arp-server self
Router(config-if)# no shutdown
例如在RouterA上配置ATM-ARP客户端,在 RouterB 上配置 ATM-ARP服务器
RouterA
interface atm 2/0.5
atm nsap-address ac.2456.78.040000.0000.0000.0000.0000.0000.0000.00
ip address 10.0.0.2 255.0.0.0
pvc 0/5 qsaal
atm arp-server nsap ac.1533.66.020000.0000.0000.0000.0000.0000.0000.00
RouterB
interface atm 0/0
ip address 10.0.0.1 255.0.0.0
atm nsap-address ac.1533.66.020000.0000.0000.0000.0000.0000.0000.00
atm rate-queue 1 100
atm maxvc 1024
pvc 0/5 qsaal
atm arp-server self
43.7.8 AAL3/4 SMDS
交换式多兆位数据服务(Switched Multimegabit Data Service,SMDS)是一项本地交换电信局(LEC)
在城域范围内提供一种扩展局域网服务的方法。SMDS是由Bellcore公司开发的并在许多大都市区由本地
交换电信局提供的服务。SMDS是一项在大都市区采用的定长信元技术。交换电路或专用电路提供客户站
点到SMDS网络的联结。传输速度范围从1Mbps到16Mbps 或将来更高。配置方式如下:
interface atm 3/0
ip address 172.21.168.112 255.255.255.0
atm aal aal3/4
atm smds-address c140.888.9999
atm multicast e180.0999.9999
atm vp-filter 0
atm pvc 30 0 30 aal34smds
map-group atm
appletalk address 10.1
appletalk zone atm
!
map-group atm
atalk 10.2 smds c140.8111.1111 broadcast
43.7.8 透明桥接
多个支持AAL5/SNAP封装的 PVC可以通过Cisco设备进行快速的透明桥接,配置方式如下:
interface atm 4/0
ip address 1.1.1.1 255.0.0.0
pvc 1/33
pvc 1/34
pvc 1/35
bridge-group 1
!
bridge 1 protocol dec
43.7.9 配置IMA逆向复用
配置基于多端口的IMA组
interface ATM1/IMA0
ip address 10.18.16.123 255.255.255.192
no ip directed-broadcast
ima clock-mode common port 2
no atm oversubscribe
pvc 1/42
protocol ip 10.10.10.10 broadcast
!
interface ATM1/IMA1
ip address 10.19.16.123 255.255.255.192
no ip directed-broadcast
no atm oversubscribe
ima active-links-minimum 3
pvc 1/99
protocol ip 10.10.10.10 broadcast
在多接口T1/E1 ATM网络模块上配置IMA
interface ATM0/0
no ip address
no ip directed-broadcast
no atm ilmi-keepalive
ima-group 3
no scrambling-payload
no fair-queue
!
interface ATM0/1
ip address 10.18.16.121 255.255.255.1
no ip directed-broadcast
no atm ilmi-keepalive
!
ima-group 3
no scrambling-payload
no fair-queue
!
interface ATM0/2
no ip address
no ip directed-broadcast
no atm ilmi-keepalive
ima-group 3
no scrambling-payload
no fair-queue
!
interface ATM0/3
no ip address
no ip directed-broadcast
no atm ilmi-keepalive
ima-group 3
no scrambling-payload
no fair-queue
interface ATM0/IMA3
no ip address
no ip directed-broadcast
no atm ilmi-keepalive
pvc 0/16 ilmi
!
pvc 0/5 qsaal
!
pvc first 1/43
vbr-rt 640 320 80
encapsulation aal5mux ip
!
svc second nsap 47.0091810000000050E201B101.00107B09C6ED.FE
abr 4000 3000
!
svc nsap 47.0091810000000002F26D4901.444444444444.01
43.7.10 配置CES电路仿真
在OC-3/STM-1 ATM上配置电路仿真:
controller T1 1/0
clock source internal
tdm-group 0 timeslots 4-8
!
controller T1 1/1
clock source internal
tdm-group 1 timeslots 1
!
interface ATM1/0
ip address 7.7.7.7 255.255.255.0
no ip directed-broadcast
no atm ilmi-keepalive
pvc 1/101 ces
pvc 1/200
protocol ip 7.7.7.8 broadcast
在ATM-CES端口适配器上配置CES
interface cbr 6/0
ces aal1 service unstructured
ces aal1 clock adaptive
atm clock internal
ces dsx1 clock network-derived
ces circuit 0 circuit-name CBR-PVC-A
ces pvc 0 interface atm 6/0 vpi 0 vci 512
no shutdown
no ces circuit 0 shutdown
配置Virtual Path Shaping
interface atm 6/0
ip address 2.2.2.2 255.255.255.0
atm pvp 1 2000
pvc 1/33
no shutdown
!
interface cbr 6/1
ces circuit 0
ces pvc 0 interface atm6/0 vpi 1 vci 100
43.7.11 ATM背对背连接
Router A
interface atm 3/0
ip address 192.168.1.10 255.0.0.0
no keepalive
atm clock internal
pvc 1/35
!
protocol ip 192.168.1.20 broadcast
Router B
interface atm 3/0
ip address 192.168.1.20 255.0.0.0
no keepalive
atm clock internal
pvc 1/35
!
protocol ip 192.168.1.10 broadcast
43.7.12 OAM ping
ping atm interface atm interface-number vpi-value vci-value [end-loopback [repeat
[timeout]] | seg-loopback [repeat [timeout]]]
Example:
Router# ping atm interface atm1/1.1 0 500 end-loopback 1 2
OAM F5连接性检查
Router(config)# snmp-server enable traps atm pvc extension mibversion 2
Router(config)# snmp-server enable traps atm pvc extension {up | down | oam
failure [aisrdi | endCC | loopback | segmentCC]}
43.7.13 AAL1 CES
network-clock-participate slot number
network-clock-participate slot number
network-clock-participate aim number
controller t1 | e1 slot/port
mode atm aim aim-slot
controller t1 | e1 slot/port
tdm-group tdm-group-no timeslots timeslot-list
tdm-group tdm-group-no timeslots timeslot-list
interface atm interface-number/subinterface-number
pvc vpi/vci [ces]
ces-cdv time
exit
pvc vpi/vci ces
ces-cdv time
exit
connect connection-name atm slot/port [name of PVC/SVC|vpi/vci] E1 slot/port
TDM-group-number
connect connection-name atm slot/port [name of PVC/SVC|vpi/vci] E1 slot/port
TDM-group-number
文章评论(0条评论)
登录后参与讨论