阿尔卡特7750配置文档(5)

2025-11-19

1. 关闭客户接口

注: 这是先前在端口1/1/1上配置的接口。在这个例子中为toCustomer。但是,这 个接口在你的路由器上可以有不同的名称。

SR# configure router interface SR>config>router>if# shutdown SR>config>router>if# exit

2. 删除客户接口

SR>configure>router# no interface

3. 验证这个接口已删除

SR# show router interface

4. 配置面向客户的端口为接入端口

SR# configure port <1/1/1>

SR>config>port# ethernet mode access SR>config>port# exit

5. 验证面向客户的端口现在已为接入端口 SR# show port <1/1/1> 为ePipe配置业务接入点(SAP)

SR# config service epipe <500>

SR>config>service>epipe$ sap <1/1/1:0> create SR>config>service>epipe>sap$ no shutdown SR>config>service>epipe>sap$ exit all

注:端口标识末尾的0表示端口上没有使用封装(默认值)。如果端口上只有一个业务在使用,则使用Null封装。如果多个业务使用该端口,则你应该将其配置为使用dot1q封装。

4.2.3 创建 SDP 1. 创建 SDP.

SR# configure service sdp 5 mpls create SR>config>service$ far-end SR>config>service# description SDPto________ SR>config>service# lsp LSPto______ SR>config>service# signaling tldp

SR>config>service>signalling>tldp# no shutdown SR>config>service>signalling>tldp# exit all SR# configure router ldp no shutdown

注:目标标签分发协议(TDLP)用于在标签交换路径(LSP)内分发虚连接(VC)标签将SDP绑定到业务

SR# configure service epipe <500>

SR>config>service>epipe# spoke-sdp <5:500> create SR>config>service>epipe>spoke-sdp$ no shutdown SR>config>service>epipe>spoke-sdp$ exit

Confidential

第 21 页 共 26 页 IPD

由管理员启用ePipe

SR>config>service>epipe# no shutdown SR>config>service>epipe# exit all

ePipe业务这时应该可以运行了。使用如下显示命令证明连通性

show router mpls lsp show service sdp <5>

show service sap-using sap <1/1/1:0> show service service-using epipe show service id <500> all

4.3 VPLS 配置

4.3.1 创建客户并将其与所提供的业务相关联 注: 设业务号为 100

SR# configure service customer <100> create SR>configure>service>customer$ exit

SR>configure>service# vpls 100 customer <100> create configure router interface topc shutdown exit

configure router no interface topc configure port 1/1/1 ethernet mode access exit

端口1/1/1必须配置为接入端口。端口标识末尾的0表明端口上没有使用封装,不使用封装是默认的情况。不封装用于端口上只有一个业务的情况。.1q封装在端口上使用多个业务时使用

configure service vpls 100 sap 1/1/1:0 create exit all

4.3.2 创建业务分发路径 (SDP) 创建SDP, 其中 XXX为远端地址

SR# configure service sdp 5 mpls create SR>config>service$ far-end 172.0.0.XXX SR>config>service# description SDPtoXXX SR>config>service# lsp LSPtoXXX SR>config>service# signaling tldp Confidential

第 22 页 共 26 页

IPD

SR>config>service>signaling>tldp# no shutdown SR>config>service>signaling>tldp# exit all SR# configure router ldp no shutdown

configure service vpls 100 mesh-sdp 5:100 create no shutdown exit

管理上启动 VPLS

no shutdown exit all

4.3.3 使用下面的显示命令证明连通性

show router mpls lsp show service sdp

show service sap-using sap 1/1/1:0 show service service-using vpls show service id 100 all

4.4 VPRN 配置

4.4.1 配置每个PE路由器的全局AS 号。

SR# configure router autonomous-system 100

Confidential

第 23 页 共 26 页

IPD

4.4.2 配置全局BGP路由实例

SR# configure router bgp bgp $ family vpn-ipv4 bgp $ local-as 100 bgp $ group toCEXXX group $ peer-as 100

group $ neighbor 172.0.0.XXX

neighbor $ local-address 172.0.0.XXX neighbor $ local-as 100 neighbor $ exit group # exit bgp # no shutdown bgp # exit

4.4.3 验证你的配置

SR# show router bgp neighbor

4.4.4 配置VPRN业务中用到的客户ID

SR# configure service customer XXX create cust $ description VPRN cust $ exit

4.4.5 在每个 PE上启用MPLS 和 LDP

SR# configure router mpls no shutdown mpls $ exit

在每个PE的每个网络接口上启用LDP

SR# configure router ldp ldp $ interface-parameters if-params $ interface toXXX if-params > if $ exit if-params # exit ldp # no shutdown ldp # exit

Confidential

第 24 页 共 26 页 IPD

4.4.6 验证你的配置.

SR# show router ldp bindings

4.4.7 配置路由策略以重新分发VPN静态路由给属于MP-BGP的每个CE

Configure > router > policy-options policy-options # begin

policy-options # policy-statement bgp_static olicy-statement $ entry 10 entry $ from protocol static entry # to protocol bgp-vpn entry # action accept entry > action # exit entry # exit statement # exit options # commit options # exit

4.4.8 创建VPRN 100业务

SR# configure service vprn 100 customer 100 create vprn $ autonomous-system 100 vprn $ route-distinguisher 100:100 vprn $ auto-bind ldp

vprn $ vrf-target target:100:100 vprn $ interface toCExxx create if $ address 10.10.XXX.XXX/24 if $ sap 1/1/1 create sap $ exit if # exit

Vprn # static-route 10.10.XXX.XXX/24 next-hop 10.10.XXX.XXX vprn # bgp

bgp $ import bgp_static bgp $ group toCExxx group $ import bgp_static group $ peer-as 100

group $ neighbor 172.0.0.XXX neighbor $ exit group # exit bgp # exit Confidential

第 25 页 共 26 页

IPD

vprn # no shutdown vprn # exit all

4.4.9 查看建立的service

SR# show service id 100 all SR# show router 100 route-table

Confidential

第 26 页 共 26 页 IPD


阿尔卡特7750配置文档(5).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:对外工作机会认知与离职意愿之探讨

相关阅读
本类排行
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 7

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xuecool-com QQ:370150219