选项:在 ATM2 IQ 接口上配置第 2 层 电路中继模式
在连接到某些供应商的 ATM 交换机的 PE 路由器中面向 CE 的 ATM2 IQ 接口上配置第 2 层 电路时,您可以创建中继。中继将多个 ATM 信元流捆绑到一个 LSP 中,在 MPLS 报头的实验 (EXP) 位中保留信元的信元丢失优先级 (CLP) 和服务等级 (CoS) 信息,并在专有报头中提供网络到网络接口 (NNI) 或用户到网络接口 (UNI) 信息。在 NNI 模式下,物理接口总共支持 32 个逻辑中继,使用 UNI 选项时,物理接口总共支持 8 个逻辑中继。要配置中继,请在层次结构级别包含trunk
语句[edit chassis fpc fpc-slot pic pic-slot atm-l2circuit-mode]
,使用 or uni
语句选择 nni
NNI 或 UNI 模式,然后在 ATM 标头中指定将随语句一起id-width
携带标识符的位数。您可以从 中8
选择一个1
值作为标识符宽度。
[edit] chassis { fpcfpc-slot
{ picpic-clot
{ atm-l2circuit-mode { trunk { (nni | uni) { id-widthnumber
; } } } } } }
您还可以在 [edit interfaces at-fpc/pic/port unit unit-number]
层次结构级别配置多个中继选项:
要将 ATM 接口指定为第 2 层 电路中继的控制通道,请在层次结构级别包含
control-channel
该语句[edit interfaces at-fpc/pic/port unit unit-number]
。要指定中继标识符,请在层次结构级别包含
trunk-id
该语句[edit interfaces at-fpc/pic/port unit unit-number]
。中继 ID 值的范围为 0 到 31。要配置为中继保留的带宽量,请在层次结构级别包含
trunk-bandwidth
语句[edit interfaces at-fpc/pic/port unit unit-number]
,并指定一个介于 1,000,000 bps (1 Mbps) 到 542,526,792 bps 之间的值。要将 CoS 调度器图应用于中继,请在层次结构级别包含
atm-scheduler-map
该语句[edit interfaces at-fpc/pic/port unit unit-number]
。此语句必须在层次结构级别引用[edit interfaces at-fpc/pic/port atm-options scheduler-maps map-name]
基于 ATM2 IQ 接口的调度器映射。interfaces { at-
fpc
/pic
/port
{ atm-options { pic-type atm2; scheduler-maps {map-name
{ ... } } unitunit-number
{ atm-scheduler-mapmap-name
; control-channel; trunk-idid-number
; trunk-bandwidthbandwidth
; } } } }
您可以为基于 ATM2 IQ 接口的调度器图配置各种与 CoS 相关的语句。要选择用于虚拟电路的 CoS 模式,请在层次结构级别包含vc-cos-mode
语句[edit interfaces at-fpc/pic/port atm-options scheduler-maps map-name]
。要指定转发类设置,请在层次结构级别包括 priority
[edit interfaces at-fpc/pic/port atm-options scheduler-maps map-name forwarding-class class-name]
、 transmit-weight
和epd-threshold
语句。
[edit] interfaces { at-fpc
/pic
/port
{ atm-options { pic-type atm2; scheduler-maps {map-name
{ vc-cos-mode (alternate | strict); forwarding-classclass-name
{ priority (high | low); transmit-weight (cellsnumber-of-cells
| percentpercentage)
; epd-thresholdplp0-threshold
plp1plp1-threshold
; } } } } } }