OSPF AREA 0
RTC(3.3.3.3)------RTA(1.1.1.1)-----RTB(2.2.2.2)
1.3.0.2/24 1.3.0.1/24 1.2.0.1/24 1.2.0.1/24
下面就简单得说明如下的配置
RTC的配置如下
roueter id 3.3.3.3
mpls lsr-id 3.3.3.3
mpls
mpls ldp
interface ethernet0/0
port link-mode route
ip add 1.3.0.3 255.255.255.0
mpls
mpls ldp
interface loopback0
ip add 3.3.3.3 255.255.255.255
opsf 1
area 0.0.0.0
network 3.3.3.3 0.0.0.0
network 1.3.0.0 0.0.0.255
RTA的配置
router id 1.1.1.1
mpls lsr-id 1.1.1.1
mpls
mpls ldp
interface ethernet0/0
port link-port route
ip add 1.2.0.1 255.255.255.0
mpls
mpls ldp
interface ethernet0/1
port link-mode route
ip add 1.3.0.1 255.255.255.0
mpls
mpls ldp
interface loopback0
ip add 1.1.1.1 255.255.255.255
ospf 1
area 0
network 1.1.1.1 0.0.0.0
network 1.2.0.0 0.0.0.255
network 1.3.0.0 0.0.0.255
RTB的基本配置
router id 2.2.2.2
mpls
mpls ldp
interface ethernet0/0
port link-mode route
ip add 1.2.0.1 255.255.255.0
mpls
mpls ldp
interface loopback0
ip add 2.2.2.2 255.255.255.255
ospf 1
area 0
network 2.2.2.2 0.0.0.0
network 1.2.0.0 0.0.0.255
阅读(879) | 评论(0) | 转发(0) |