首页 > 代码库 > 华为 eNSP 配置 IPV6 ISIS BGP
华为 eNSP 配置 IPV6 ISIS BGP
IPV6 ISIS BGP
1.实验拓扑:
使用ENSP模拟器(版本V100R002C00 1.2.00.350)
2.实验需求
1:所有路由都配置IPV4地址和IPV6地址
2:所有路由器都保证BGP互通
3:所有路由配置ISIS
3.实验配置
R1
sy
ipv6
isis 1 配置 isis 1
network-entity 49.0001.0001.0001.0001.00
interface GigabitEthernet0/0/0
ipv6 enable
ip address 11.0.0.1 255.255.255.0
ipv6 address 12::1/120 配置 ipv6地址
isis enable 1
isis ipv6 enable 1 配置 ipv6 sisi
interface LoopBack0
ipv6 enable
ip address 1.1.1.1 255.255.255.255
ipv6 address 11::1/120
isis enable 1
isis ipv6 enable 1
bgp 65001
router-id 1.1.1.1
peer 2.2.2.2 as-number 65001 配置AS号
peer 2.2.2.2 connect-interface LoopBack0
peer 3.3.3.3 as-number 65001
peer 3.3.3.3 connect-interface LoopBack0
peer 22::2 as-number 65001
peer 22::2 connect-interface LoopBack0
peer 33::3 as-number 65001
peer 33::3 connect-interface LoopBack0
network 11.1.1.0 255.255.255.0 公布出去
ipv6-family unicast
network 111:: 120 把IPV6公布出去
peer 22::2 enable
R5
sy
ipv6
isis 1
network-entity 49.0001.0005.0005.0005.00
interface LoopBack0
ipv6 enable
ip address 5.5.5.5 255.255.255.255
ipv6 address 55::5/120
isis enable 1
isis ipv6 enable 1
interface LoopBack10
ipv6 enable
ipv6 address 555::5/120
bgp 65001
peer 2.2.2.2 as-number 65001
peer 2.2.2.2 connect-interface LoopBack0
peer 22::2 as-number 65001
peer 22::2 connect-interface LoopBack0
ipv6-family unicast
network 555:: 120
peer 22::2 enable
R2
sy
ipv6
isis 1
network-entity 49.0001.0002.0002.0002.00
interface GigabitEthernet0/0/0
ipv6 enable
ip address 11.0.0.2 255.255.255.0
ipv6 address 12::2/120
isis enable 1
isis ipv6 enable 1
interface GigabitEthernet0/0/1
ipv6 enable
ip address 13.0.0.2 255.255.255.0
ipv6 address 13::2/120
isis enable 1
isis ipv6 enable 1
interface GigabitEthernet0/0/2
ipv6 enable
ip address 15.0.0.2 255.255.255.0
ipv6 address 15::2/120
isis enable 1
isis ipv6 enable 1
interface LoopBack0
ipv6 enable
ip address 2.2.2.2 255.255.255.255
ipv6 address 22::2/120
isis enable 1
isis ipv6 enable 1
bgp 65001
peer 1.1.1.1 as-number 65001
peer 1.1.1.1 reflect-client
peer 1.1.1.1 connect-interface LoopBack0
peer 3.3.3.3 as-number 65001
peer 3.3.3.3 connect-interface LoopBack0
peer 5.5.5.5 as-number 65001
peer 5.5.5.5 connect-interface LoopBack0
peer 11::1 as-number 65001
peer 11::1 connect-interface LoopBack0
peer 33::3 as-number 65001
peer 33::3 connect-interface LoopBack0
peer 55::5 as-number 65001
peer 55::5 connect-interface LoopBack0
ipv6-family unicast
peer 11::1 enable
peer 11::1 reflect-client 做BGP反射
peer 33::3 enable
peer 55::5 enable
R3
ipv6
isis 1
network-entity 49.0002.0003.0003.0003.00
interface GigabitEthernet0/0/0
ipv6 enable
ip address 14.0.0.3 255.255.255.0
ipv6 address 14::3/120
isis enable 1
isis ipv6 enable 1
interface GigabitEthernet0/0/1
ipv6 enable
ip address 13.0.0.3 255.255.255.0
ipv6 address 13::3/120
isis enable 1
isis ipv6 enable 1
interface LoopBack0
ipv6 enable
ip address 3.3.3.3 255.255.255.255
ipv6 address 33::3/120
isis enable 1
isis ipv6 enable 1
bgp 65001
peer 2.2.2.2 as-number 65001
peer 2.2.2.2 connect-interface LoopBack0
peer 4.4.4.4 as-number 65002
peer 4.4.4.4 ebgp-max-hop 2
peer 4.4.4.4 connect-interface LoopBack0
peer 5.5.5.5 as-number 65001
peer 5.5.5.5 connect-interface LoopBack0
peer 22::2 as-number 65001
peer 22::2 connect-interface LoopBack0
peer 44::4 as-number 65002
peer 44::4 ebgp-max-hop 2
peer 44::4 connect-interface LoopBack0
peer 55::5 as-number 65001
peer 55::5 connect-interface LoopBack0
ipv6-family unicast
peer 22::2 enable
peer 22::2 next-hop-local
peer 44::4 enable
peer 55::5 enable
peer 55::5 next-hop-local
ip route-static 4.4.4.4 255.255.255.255 14.0.0.4
ipv6 route-static 44:: 120 14::4 指IPV6静态
R4
sy
ipv6
interface GigabitEthernet0/0/0
ipv6 enable
ip address 14.0.0.4 255.255.255.0
ipv6 address 14::4/120
interface LoopBack0
ipv6 enable
ip address 4.4.4.4 255.255.255.255
ipv6 address 44::4/120
interface LoopBack10
ipv6 enable
ip address 44.4.4.4 255.255.255.0
ipv6 address 444::4/120
bgp 65002
peer 3.3.3.3 as-number 65001
peer 3.3.3.3 ebgp-max-hop 2
peer 3.3.3.3 connect-interface LoopBack0
peer 33::3 as-number 65001
peer 33::3 ebgp-max-hop 2 做ebgp多跳
peer 33::3 connect-interface LoopBack0
network 44.4.4.0 255.255.255.0
ipv6-family unicast
network 444:: 120
peer 33::3 enable
ip route-static 3.3.3.3 255.255.255.255 14.0.0.3
ipv6 route-static 33:: 120 14::3
华为 eNSP 配置 IPV6 ISIS BGP