mpls-bgp实验 下载本文

内容发布更新时间 : 2024/11/2 17:31:37星期一 下面是文章的全部内容请认真阅读。

mpls

Ensp试验环境:

mpls-bgp.zip

R1:

R1.txt

R2:

R2.txt

R3:

R3.txt

R4:

R4.txt

R5:

R5.txt

R6:

R6.txt

R7:

配置:

R7.txt

R1:display current-configuration

#

sysname R1 #

ipvpn-instance site-a ipv4-family

route-distinguisher 10:10

vpn-target 1:100 export-extcommunity vpn-target 1:100 import-extcommunity #

ipvpn-instance site-b ipv4-family

route-distinguisher 20:20

vpn-target 2:200 export-extcommunity vpn-target 2:200 import-extcommunity #

mplslsr-id 1.1.1.1 mpls # mplsldp # # aaa

authentication-scheme default authorization-scheme default

accounting-scheme default domain default domaindefault_admin

local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw# local-user admin service-type http #

firewall zone Local priority 16

#

interface Ethernet0/0/0

ip address 12.1.1.1 255.255.255.0 mpls mplsldp #

interface Ethernet0/0/1 ip binding vpn-instance site-a ip address 14.1.1.1 255.255.255.0 #

interface Serial0/0/0 link-protocolppp #

interface Serial0/0/1 link-protocolppp #

interface Serial0/0/2 link-protocolppp #

interface Serial0/0/3 link-protocolppp #

interface GigabitEthernet0/0/0 ip binding vpn-instance site-b ip address 13.1.1.1 255.255.255.0 #

interface GigabitEthernet0/0/1 #

interface GigabitEthernet0/0/2 #

interface GigabitEthernet0/0/3 # wlan #

interface NULL0 #

interface LoopBack0

ip address 1.1.1.1 255.255.255.255 # bgp 100

peer 3.3.3.3 as-number 100 peer 3.3.3.3 connect-interface LoopBack0 #

ipv4-family unicast undo synchronization