思科配置MPLS-×××(思科wlc初始化配置)

网友投稿 365 2022-09-25


思科配置MPLS-×××(思科wlc初始化配置)

配置文件如下,ip地址规划看一眼配置就明白了R1

R1#show runBuilding configuration...

Current configuration : 1355 bytes!! Last configuration change at 16:59:05 CST Thu Apr 25 2019!version 15.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R1!boot-start-markerboot-end-marker!aqm-register-fnf!!no aaa new-modelclock timezone CST 8 0mmi polling-interval 60no mmi auto-configureno mmi pvcmmi snmp-timeout 180!!!!!!

!!!!ip cefno ipv6 cef!multilink bundle-name authenticated!!!!!!! !!redundancy!!! !!!!!!!!!!!!interface Loopback0ip address 1.1.1.1 255.255.255.255!interface Ethernet0/0ip address 192.168.12.1 255.255.255.0!interface Ethernet0/1no ip addressshutdown!interface Ethernet0/2no ip addressshutdown!interface Ethernet0/3no ip addressshutdown!interface Serial1/0no ip addressshutdownserial restart-delay 0!interface Serial1/1no ip addressshutdownserial restart-delay 0! interface Serial1/2no ip addressshutdownserial restart-delay 0!interface Serial1/3no ip addressshutdownserial restart-delay 0!router ospf 1network 1.1.1.1 0.0.0.0 area 0network 192.168.12.0 0.0.0.255 area 0!ip forward-protocol nd!!no ip serverno ip secure-server!!!! control-plane!!!!!!!!line con 0logging synchronousline aux 0line vty 0 4logintransport input none!!end

R1#

R2

R2#show runBuilding configuration...

Current configuration : 2043 bytes!! Last configuration change at 17:14:42 CST Thu Apr 25 2019!version 15.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R2!boot-start-markerboot-end-marker!aqm-register-fnf!!no aaa new-modelclock timezone CST 8 0mmi polling-interval 60no mmi auto-configureno mmi pvcmmi snmp-timeout 180!!!!!!

!ip vrf znrd 234:2route-target export 234:2route-target import 234:4!!!!ip cefno ipv6 cef!multilink bundle-name authenticatedmpls label range 200 299! !!!!!!!!redundancy!!! !!!!!!!!!!! !interface Loopback0ip address 2.2.2.2 255.255.255.255!interface Ethernet0/0ip vrf forwarding znip address 192.168.12.2 255.255.255.0!interface Ethernet0/1ip address 192.168.23.2 255.255.255.0mpls ip!interface Ethernet0/2no ip addressshutdown!interface Ethernet0/3no ip addressshutdown!interface Serial1/0no ip addressshutdown serial restart-delay 0!interface Serial1/1no ip addressshutdownserial restart-delay 0!interface Serial1/2no ip addressshutdownserial restart-delay 0!interface Serial1/3no ip addressshutdownserial restart-delay 0!router ospf 1 vrf znredistribute bgp 234 subnetsnetwork 192.168.12.0 0.0.0.255 area 0!router ospf 100network 2.2.2.2 0.0.0.0 area 0network 192.168.23.0 0.0.0.255 area 0!router bgp 234bgp log-neighbor-changesno bgp default ipv4-unicastneighbor 4.4.4.4 remote-as 234neighbor 4.4.4.4 update-source Loopback0!address-family ipv4exit-address-family!address-family vpnv4neighbor 4.4.4.4 activateneighbor 4.4.4.4 send-community extendedexit-address-family!address-family ipv4 vrf znredistribute ospf 1 match internal external 1 external 2exit-address-family!ip forward-protocol nd!! no ip serverno ip secure-server!!!mpls ldp router-id Loopback0!control-plane!!!!!!!!line con 0logging synchronousline aux 0line vty 0 4logintransport input none! !end

R2#

R3

R3#show runBuilding configuration...

Current configuration : 1465 bytes!! Last configuration change at 16:50:58 CST Thu Apr 25 2019!version 15.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R3!boot-start-markerboot-end-marker!!!no aaa new-modelclock timezone CST 8 0mmi polling-interval 60no mmi auto-configureno mmi pvcmmi snmp-timeout 180! !!!!!

!!!!ip cefno ipv6 cef!multilink bundle-name authenticatedmpls label range 300 399!!!!!!! !!redundancy!!! !!!!!!!!!!!!interface Loopback0ip address 3.3.3.3 255.255.255.255!interface Ethernet0/0ip address 192.168.34.3 255.255.255.0mpls ip!interface Ethernet0/1ip address 192.168.23.3 255.255.255.0mpls ip!interface Ethernet0/2no ip addressshutdown!interface Ethernet0/3no ip addressshutdown!interface Serial1/0no ip addressshutdownserial restart-delay 0!interface Serial1/1no ip addressshutdownserial restart-delay 0!interface Serial1/2no ip addressshutdownserial restart-delay 0!interface Serial1/3no ip addressshutdownserial restart-delay 0!router ospf 100network 3.3.3.3 0.0.0.0 area 0network 192.168.23.0 0.0.0.255 area 0network 192.168.34.0 0.0.0.255 area 0!ip forward-protocol nd!!no ip serverno ip secure-server!! !mpls ldp router-id Loopback0!control-plane!!!!!!!!line con 0logging synchronousline aux 0line vty 0 4logintransport input none!!end

R3#

R4

R4#show runBuilding configuration...

Current configuration : 2026 bytes!! Last configuration change at 17:10:39 CST Thu Apr 25 2019!version 15.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R4!boot-start-markerboot-end-marker!!!no aaa new-modelclock timezone CST 8 0mmi polling-interval 60no mmi auto-configureno mmi pvcmmi snmp-timeout 180! !!!!!

!ip vrf znrd 234:4route-target export 234:4route-target import 234:2!!!!ip cefno ipv6 cef!multilink bundle-name authenticatedmpls label range 400 499!! !!!!!!!redundancy!!! !!!!!!!!!!!! interface Loopback0ip address 4.4.4.4 255.255.255.255!interface Ethernet0/0ip address 192.168.34.4 255.255.255.0mpls ip!interface Ethernet0/1ip vrf forwarding znip address 192.168.45.4 255.255.255.0!interface Ethernet0/2no ip addressshutdown!interface Ethernet0/3no ip addressshutdown!interface Serial1/0no ip addressshutdownserial restart-delay 0!interface Serial1/1no ip addressshutdownserial restart-delay 0!interface Serial1/2no ip addressshutdownserial restart-delay 0!interface Serial1/3no ip addressshutdownserial restart-delay 0!router ospf 1 vrf znredistribute bgp 234 subnetsnetwork 192.168.45.0 0.0.0.255 area 0!router ospf 100network 4.4.4.4 0.0.0.0 area 0network 192.168.34.0 0.0.0.255 area 0!router bgp 234bgp log-neighbor-changesno bgp default ipv4-unicastneighbor 2.2.2.2 remote-as 234neighbor 2.2.2.2 update-source Loopback0!address-family ipv4exit-address-family!address-family vpnv4neighbor 2.2.2.2 activateneighbor 2.2.2.2 send-community extendedexit-address-family!address-family ipv4 vrf znredistribute ospf 1 match internal external 1 external 2exit-address-family!ip forward-protocol nd!!no ip serverno ip secure-server!!!mpls ldp router-id Loopback0!control-plane!!!!!!!!line con 0logging synchronousline aux 0line vty 0 4logintransport input none!! end

R4#

R5

R5#show runBuilding configuration...

Current configuration : 1338 bytes!! Last configuration change at 17:06:38 CST Thu Apr 25 2019!version 15.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R5!boot-start-markerboot-end-marker!!!no aaa new-modelclock timezone CST 8 0mmi polling-interval 60no mmi auto-configureno mmi pvcmmi snmp-timeout 180! !!!!!

!!!!ip cefno ipv6 cef!multilink bundle-name authenticated!!!!!!!! !redundancy!!! !!!!!!!!!!!!interface Loopback0ip address 5.5.5.5 255.255.255.255!interface Ethernet0/0no ip addressshutdown !interface Ethernet0/1ip address 192.168.45.5 255.255.255.0!interface Ethernet0/2no ip addressshutdown!interface Ethernet0/3no ip addressshutdown!interface Serial1/0no ip addressshutdownserial restart-delay 0!interface Serial1/1no ip addressshutdownserial restart-delay 0!interface Serial1/2no ip addressshutdownserial restart-delay 0!interface Serial1/3no ip addressshutdownserial restart-delay 0!router ospf 1network 5.5.5.5 0.0.0.0 area 0network 192.168.45.0 0.0.0.255 area 0!ip forward-protocol nd!!no ip serverno ip secure-server!!!!control-plane!!!!!!!!line con 0logging synchronousline aux 0line vty 0 4logintransport input none!!end

R5#


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:【IPV6】无独有偶的6VPE-IPV6之MBGP-MPLS-大作战(ipv6 rdp)
下一篇:mybatis 集合嵌套查询和集合嵌套结果的区别说明
相关文章

 发表评论

暂时没有评论,来抢沙发吧~