使能MPLS,RSVP和OSPF-TE

我使用Juniper J系列路由器来模拟一个小型的电信公司和VPN客户。我需要使用OSPF,以便路由信息可以传播到所有P和PE节点(基本上所有的核心和边缘路由器)。注意,不希望路由信息被传播到面向客户的路由器(绿色路由器)。

TAU-PE1:

set protocols ospf area 0.0.0.0 interface ge-0/0/0 set protocols ospf area 0.0.0.0 interface ge-0/0/1 set protocols ospf area 0.0.0.0 interface lo0.0 passive (loopback) set protocols ospf area 0.0.0.0 interface ge-0/0/2.0 passive (customer facing) 

HAM-PE1:

 set protocols ospf area 0.0.0.0 interface ge-0/0/0 set protocols ospf area 0.0.0.0 interface lo0.0 passive (loopback) set protocols ospf area 0.0.0.0 interface ge-0/0/2.0 passive (customer facing) 

TAU-P1:

 set protocols ospf area 0.0.0.0 interface ge-0/0/0 set protocols ospf area 0.0.0.0 interface ge-0/0/1 set protocols ospf area 0.0.0.0 interface ge-0/0/2 set protocols ospf area 0.0.0.0 interface lo0.0 passive (loopback) 

ACK-P1:

 set protocols ospf area 0.0.0.0 interface ge-0/0/0 set protocols ospf area 0.0.0.0 interface ge-0/0/2 set protocols ospf area 0.0.0.0 interface ge-0/0/3 set protocols ospf area 0.0.0.0 interface lo0.0 passive (loopback) 

HAM-P1:

 set protocols ospf area 0.0.0.0 interface ge-0/0/0 set protocols ospf area 0.0.0.0 interface ge-0/0/1 set protocols ospf area 0.0.0.0 interface ge-0/0/3 set protocols ospf area 0.0.0.0 interface lo0.0 passive (loopback) 

现在我想在所有PE和P节点上启用以下内容。

1)MPLS 2)RSVP 3)OSPF-TE扩展

以TAU-P1为例

 set protocols mpls interface ge-0/0/0 set protocols mpls interface ge-0/0/1 set protocols mpls interface ge-0/0/2 set protocols rsvp interface ge-0/0/0 set protocols rsvp interface ge-0/0/1 set protocols rsvp interface ge-0/0/2 set protocols ospf traffic-engineering interface ge-0/0/0 set protocols ospf traffic-engineering interface ge-0/0/1 set protocols ospf traffic-engineering interface ge-0/0/2 

下面的步骤是否足以实现上述目标? 任何帮助表示赞赏。

您所包含的两个configuration语句将告诉JunOS设备做两件事情:

1)开始在该接口上传输链接状态通告。

2)通告在这些接口上configuration的子网。

对于每个设备,您应该使用以下命令:

 set protocols ospf area 0.0.0.0 interface lo0.0 passive 

被动选项告诉JunOS包含该子网,但不要在该链接下发送广告。 您几乎总是在回送接口上执行此操作。 如果一个接口没有面对另一个你想分配路由的路由器,那么这个接口应该被设置为被动的。

所以,你应该把这个声明添加到UOW-TAU和UOW-HAM中:

 set protocols ospf area 0.0.0.0 interface ge-0/0/1.0 passive 

在TAU-PE1和HAM-PE1上,您可以通过添加语句来接收广告:

 set protocols ospf area 0.0.0.0 interface ge-0/0/2.0