欢迎您访问我爱IT技术网,今天小编为你分享的电脑教程是网络协议方面的经验知识教程:MPLS/VPN实验:ISIS/EIGRP,下面是详细的分享!
MPLS/VPN实验:ISIS/EIGRP
MPLS/VPN实验:ISIS/EIGRP
此实验在前OSPF/STATIC的配置基础上,将配置改变,就可以作为此实验了。
需要改变的配置是CE - PE之间的协议,以及PE-P-PE之间的协议.
删除相关的静态配置以及OSPF协议.

在CE上配置EIGRP协议:
router eigrp 1
network 1.1.1.1 0.0.0.0
network 192.168.1.0 0.0.0.3
no auto-summary
建立起EIGRP邻居:
CE1#sh ip eigrp neighbors
IP-EIGRP neighbors for process 1
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 192.168.1.2 Fa0/0 12 00:34:49 86 1161 0 6
在PE路由器上的配置:
EIGRP:
router eigrp 1
network 192.168.1.0 0.0.0.3
no auto-summary
!
address-family ipv4 vrf vpn
redistribute bgp 100 metric 1000000 1 255 1 1500
network 192.168.1.0 0.0.0.3
auto-summary
autonomous-system 1
exit-address-family
在PE上输入这些配置之后,EIGRP邻居才会建立起来.
配置ISIS协议:
router isis
net 49.2222.2222.2222.00
is-type level-2-only
ISIS 协议配置的不多,就是启动此协议,然后在相应的接口上输入命令:ip router isis
BGP配置如:
!
router bgp 100
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 4.4.4.4 remote-as 100
neighbor 4.4.4.4 update-source Loopback0
!
address-family ipv4
neighbor 4.4.4.4 activate
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4
neighbor 4.4.4.4 activate
neighbor 4.4.4.4 send-community extended
exit-address-family
!
address-family ipv4 vrf vpn
redistribute eigrp 1 metric 10
no synchronization
network 192.168.1.0 mask 255.255.255.252
exit-address-family
!
配置和前实验的相关不多,只是重分发的问题而已。
查看学习到的路由信息:
PE1#sh ip bgp vpnv4 all
BGP table version is 16, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:1 (default for vrf vpn)
*> 1.1.1.1/32 192.168.1.1 10 32768 ?
*>i5.0.0.0 4.4.4.4 10 100 0 ?
*> 192.168.1.0/30 0.0.0.0 0 32768 i
*>i192.168.2.0/30 4.4.4.4 0 100 0 i
PE1#sh ip bgp vpnv4 vrf vpn
BGP table version is 16, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 100:1 (default for vrf vpn)
*> 1.1.1.1/32 192.168.1.1 10 32768 ?
*>i5.0.0.0 4.4.4.4 10 100 0 ?
*> 192.168.1.0/30 0.0.0.0 0 32768 i
*>i192.168.2.0/30 4.4.4.4 0 100 0 i
以上就是关于MPLS/VPN实验:ISIS/EIGRP的网络协议知识分享,更多电脑教程请移步到>>电脑教程。
- 评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)
-
