- 1
- 0
- 约1.21千字
- 约 2页
- 2023-08-06 发布于上海
- 举报
MPLS Basic_Configuration
MPLS 配置的基本步骤:
Step 1. Enable CEF
Step 2. Configure IGP routing protocol Step 3. Assign LDP router ID
Step 4. Enable IPv4 MPLS or label forwarding on the interface
Enabling the label distribution protocol is an optional step. TDP is deprecated, and
by default, LDP is the label distribution protocol.
PE1(config)# mpls label protocol ldp PE1(config)# mpls ldp router-id loopback 0 force PE1(config)# interface s0/0 (connect to Router P) PE1(config-if)# tag-switching ip / mpls ip
P (config)# mpls label protocol ldp
P(config)# mpls ldp router-id loopback 0 force P(config)# interface s0/1 (connect to Router PE1) P(config-if)# mpls ip
P(config)# interface s0/0 (connect to Router PE2) P(config-if)# mpls ip
PE2(config)# mpls label protocol ldp PE2(config)# mpls ldp router-id loopback 0 force PE2(config)# interface s0/1 (connect to Router P) PE2(config-if)# mpls ip
AToM --- Ethernet on MPLS
PE1
PE1、P、PE2 的 MPLS 基本配置同 MPLS Basic_Configuration
另在 PE1 和 PE2 上需分别配置:
PE1(config)#interface f0/0
PE1(config-if)# xconnect 4.4.4.4 10 encapsulation mpls
PE2(config)#interface f0/0
PE2(config-if)# xconnect 2.2.2.2 10 encapsulation mpls
(注:4.4.4.4 为 PE2 的 loopback 口,2.2.2.2 为 PE1 的 loopback 口,10 是 VC 号,
PE1、PE2 两端需要相同)
原创力文档

文档评论(0)