拓扑图如下所示:
PE1-------------------------PE2
/ \
/ \
CE1 CE2
仅对PE的配置进行说明。
PE1配置如下:
yourname # config terminal
yourname(config)# hostname PE1
PE1 (config)#ip vrf vpn1
PE1 (config-vrf)# rd 100:1
拓扑图如下所示:
PE1-------------------------PE2
/ \
/ \
CE1 CE2
仅对PE的配置进行说明。
PE1配置如下:
yourname # config terminal
yourname(config)# hostname PE1
PE1 (config)#ip vrf vpn1
PE1 (config-vrf)# rd 100:1