动态路由协议eigrp和mpls的配置

动态路由协议eigrp和mpls的配置 实验拓扑图:  配置: R1:enconf thostname R1 int loop 0ip add 1.1.1.1 255.255.255.255no shutexitint fa0/0ip add 10.0.0.1 255.255.255.0no shutexit !配置eigrprouter eigrp 10network 1.1.1.1 0.0.0.0network 10.0.0.0 0.0.0.255 !关闭自动汇总no auto-summary exit !配置MPLSint fa0/0mpls ipexit R2:enconf thostname R2 int loop 0ip add 2.2.2.2 255.255.255.255no shutexitint fa0/0ip add 10.0.0.2 255.255.255.0no shutexitint fa0/1ip add 20.0.0.1 255.255.255.0no shutexit !配置eigrprouter eigrp 10network 2.2.2.2 0.0.0.0network 10.0.0.0 0.0.0.255network 20.0.0.0 0.0.0.255 !关闭自动汇总no auto-summary exit !配置MPLSint fa0/0mpls ipexitint fa0/1mpls ipexit R3:enconf thostname R3 int loop 0ip add 3.3.3.3 255.255.255.255no shutexitint fa0/0ip add 20.0.0.2 255.255.255.0no shutexitint fa0/1ip add 30.0.0.1 255.255.255.0no shutexit !配置eigrprouter eigrp 10network 3.3.3.3 0.0.0.0network 20.0.0.0 0.0.0.255network 30.0.0.0 0.0.0.255 !关闭自动汇总no auto-summary exit !配置MPLSint fa0/0mpls ipexitint fa0/1mpls ipexit R4:enconf thostname R4 int loop 0ip add 4.4.4.4 255.255.255.255no shutexitint fa0/0ip add 30.0.0.2 255.255.255.0no shutexitint fa0/1ip add 40.0.0.1 255.255.255.0no shutexit !配置eigrprouter eigrp 10network 4.4.4.4 0.0.0.0network 30.0.0.0 0.0.0.255network 40.0.0.0 0.0.0.255 !关闭自动汇总no auto-summaryexit !配置mplsint fa0/0mpls ipexitint fa0/1mpls ipexit R5:enconf thostname R5 int loop 0ip add 5.5.5.5 255.255.255.255no shutexitint fa0/0ip add 40.0.0.2 255.255.255.0no shutexit !配置eigrprouter eigrp 10network 5.5.5.5 0.0.0.0network 40.0.0.0 0.0.0.255 !关闭自动汇总no auto-summaryexit !配置mplsint fa0/0mpls ipexit !查看mpls show mpls forwarding-table 

相关内容