R3: router ospf 110 mpls ldp autoconfig area 0 ! interface Loopback0 ip address 33.1.1.1 255.255.255.255 ip ospf 110 area 0 ! interface Ethernet0/1 ip address 23.1.1.3 255.255.255.0 ip ospf 110 area 0 end ! interface Ethernet0/2 ip address 13.1.1.3 255.255.255.0 ip ospf 110 area 0 ...
router ospf 1:进入OSPF配置模式。 mpls ldp autoconfig:启用MPLS标签分发协议(LDP),自动配置标签。 4. 配置路由协议 要实现数据中心与其他网络的互连,需要配置路由协议以便建立路由。 #在PE设备上配置OSPFrouter ospf 1 network 192.168.1.0 0.0.0.255 area 0 1. 2. 3. 解释: router ospf 1:进入OSPF配置模式。
ASBR-R4(config-router)# mpls ldp autoconfig level-1 ASBR-R4(config-router)# is-type level-1 ASBR-R4(config-router)# metric-style wide ASBR-R4(config-router)# log-adjacency-changes ASBR-R4(config-router)#int lo0 ASBR-R4(config-if)#ip router isis ASBR-R4(config-if)#int e0/1 ASBR-...
interface TenGigabitEthernet1/0/2 no switchport ip address 10.0.0.13 255.255.255.252 ! router ospf 420 network 0.0.0.0 255.255.255.255 area 0 mpls ldp autoconfig C9300-CE-2的配置 hostname C9300-PE-2 ! ip vrf RED rd 69:69 route-target export 69:69 route-target import 69:69 ! mpls ...
Router(config)#router ospf 1 Router(config-router)#router-id 4.4.4.4 Router(config-router)#network 0.0.0.0 0.0.0.0 area 0 Router(config-router)#mpls ldp autoconfig R5配置 Router#conf t Router(config)#router ospf 1 Router(config-router)#router-id 5.5.5.5 Router(config-router)#...
1.Mpls ldp autoconfig [aree area-id] 2.No mpls ldp igp autoconfig //使得某个启用了IGP的接口不启用LDP MPLS LDP协议—— 操作过程 1.对于IP路由表中的每个一个IGP的IP prefix来说,每台运行LDP的LSR都会产生一个label与之做一个mapping,然后LSR会将这个mapping传个所有LDP邻居(运行LDP的LSR会建立邻居...
PE2(config-if)#ip address 4.4.4.4 255.255.255.255 现在我们可以配置OSPF: PE1(config)#router ospf 1 PE1(config-router)#network 192.168.23.0 0.0.0.255 area 0 PE1(config-router)#network 2.2.2.2 0.0.0.0 area 0 PE1(config-router)#mpls ldp autoconfig ...
R2[config]#mpls ldp discovery targeted-hello accept #接收单播hello报文 mpls ldp neighbor 22.1.1.1 password cisco {0|7|} #使用密码建立邻居,基于MD5认证,默认是明文 [IGP协议下自动开启mpls] ip ospf 110 area 0 mpls ldp autoconfig #所有ospf接口下自动开启mpls ...
mpls ldp autoconfig在ospf配置模式下配置,使得所有ospf接口都开启mpls功能) show ip vrf查看VRF信息 3、配置PE到CE的路由协议 说明:只要到了VRF配置模式里面,配置内容和常规配置几乎一模一样 ① 态路由的配置 PE设备: ip route vrf vrf-name 192.168.1.0 255.255.255.0 12.1.1.1 给名字为vrf-name的VRF配置一条...
MPLS LDP协议——LDP自动配置 一般情况下,会在所有启用了IGP的接口上启用LDP,LDP自动配置允许路由器自动启用启用了IGP的接口上的LDP,该命名只支持OSPF 配置方式: 1.Mpls ldp autoconfig [aree area-id] 2.No mpls ldp igp autoconfig //使得某个启用了IGP的接口不启用LDP ...