全国计算机等级考试四级网络工程师教材缺漏内(6)
时间:2025-07-09
时间:2025-07-09
全国计算机等级考试四级网络工程师教材缺漏内容补充
PE2上的部分配置如下:
ip cef ──启用CEF转发功能
ip vrf Red ──定义一个 VRF ,名字为Red description For Red User Vpn rd 6500:1 ──定义RD值为6500:1
route-target export 6500:1 ──定义导出策略
route-target import 6500:1 ─-定义导入策略
!
同时上传附件router bgp 6500 ─-配制BGP协议
no synchronization
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 192.168.168.4 remote-as 6500
neighbor 192.168.168.4 update-source Loopback0
neighbor 192.168.168.4 next-hop-self
──这点在PE-CE之间路由为BGP时,一定要配置。
no auto-summary !
address-family ipv4 vrf Red
neighbor 10.10.40.1 remote-as 6504 ──配置和CE2之间的路由BGP neighbor 10.10.40.1 activate
no auto-summary
no synchronization
exit-address-family !
address-family vpnv4
neighbor 192.168.168.4 activate ──激活和PE3的MP-IBGP邻居关系 neighbor 192.168.168.4 send-community both
no auto-summary
exit-address-family !
interface Serial1/0 ──-配置连接到CE2的接口
ip vrf forwarding Red ──把该接口和VRF Red联系起来
ip address 10.10.40.2 255.255.255.252
interface Ethernet0/1 ──配置连接到7206的接口
ip address 192.168.1.13 255.255.255.252
half-duplex
tag-switching ip ──在此接口上启用标签交换
interface Serial1/1 ──-配置连接到PE1的接口
bandwidth 1544
ip address 10.10.30.2 255.255.255.252
encapsulation ppp
tag-switching ip ──在此接口上启用MPLS交换
上一篇:注安报考说明