华为ipv4+ipv6双栈加isis多拓扑配置案例

2024-01-09 07:04

本文主要是介绍华为ipv4+ipv6双栈加isis多拓扑配置案例,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

在这里插入图片描述

实现效果:sw1中的ipv4和ipv6地址能ping通sw2中的ipv4和ipv6地址

R2-R4为存IPV4连接,其它为ipv6和ipv4双连接

sw1

ipv6

interface Vlanif1
ipv6 enable
ip address 10.0.11.1 255.255.255.0
ipv6 address 2001:DB8:11::1/64

interface MEth0/0/1

interface GigabitEthernet0/0/1
port link-type access

interface LoopBack0
ipv6 enable
ip address 11.1.1.1 255.255.255.0
ipv6 address 2001:DB8::1/128

bgp 65001
peer 10.0.11.2 as-number 65100
peer 2001:DB8:11::2 as-number 65100

ipv4-family unicast
undo synchronization
network 11.1.1.0 255.255.255.0
peer 10.0.11.2 enable

ipv6-family unicast
undo synchronization
network 2001:DB8::1 128
peer 2001:DB8:11::2 enable

R1

ipv6

router id 1.1.1.1

ospfv3 1
router-id 1.1.1.1

firewall zone Local
priority 15

interface GigabitEthernet0/0/0
ipv6 enable
ip address 10.0.12.1 255.255.255.0
ipv6 address 2001:DB8:12::1/64
ospfv3 1 area 0.0.0.0 instance 1

interface GigabitEthernet0/0/1
ipv6 enable
ip address 10.0.11.2 255.255.255.0
ipv6 address 2001:DB8:11::2/64

interface LoopBack0
ipv6 enable
ip address 1.1.1.1 255.255.255.255
ipv6 address 1::1/128
ospfv3 1 area 0.0.0.0 instance 1

bgp 65100
peer 3.3.3.3 as-number 65100
peer 3.3.3.3 connect-interface LoopBack0
peer 10.0.11.1 as-number 65001
peer 3::3 as-number 65100
peer 3::3 connect-interface LoopBack0
peer 2001:DB8:11::1 as-number 65001

ipv4-family unicast
undo synchronization
peer 3.3.3.3 enable
peer 3.3.3.3 next-hop-local
peer 10.0.11.1 enable

ipv6-family unicast
undo synchronization
peer 3::3 enable
peer 3::3 next-hop-local
peer 2001:DB8:11::1 enable

ospf 1
area 0.0.0.0
network 1.1.1.1 0.0.0.0
network 10.0.12.1 0.0.0.0

R2

ipv6

router id 2.2.2.2

isis 1
is-level level-2
cost-style wide
network-entity 49.0001.0000.0000.0002.00
is-name r2
import-route ospf 1

ipv6 enable topology ipv6
ipv6 import-route ospfv3 1

ospfv3 1
router-id 2.2.2.2
import-route isis 1

firewall zone Local
priority 15

interface GigabitEthernet0/0/0
ipv6 enable
ip address 10.0.12.2 255.255.255.0
ipv6 address 2001:DB8:12::2/64
ospfv3 1 area 0.0.0.0 instance 1

interface GigabitEthernet0/0/1
ipv6 enable
ip address 10.0.23.2 255.255.255.0
ipv6 address 2001:DB8:23::2/64
isis enable 1
isis ipv6 enable 1

interface GigabitEthernet0/0/2
ip address 10.0.24.2 255.255.255.0
isis enable 1

interface NULL0

interface LoopBack0
ipv6 enable
ip address 2.2.2.2 255.255.255.255
ipv6 address 2::2/128
isis enable 1
isis ipv6 enable 1

bgp 65100
peer 3.3.3.3 as-number 65100
peer 3.3.3.3 connect-interface LoopBack0
peer 3::3 as-number 65100
peer 3::3 connect-interface LoopBack0

ipv4-family unicast
undo synchronization
peer 3.3.3.3 enable

ipv6-family unicast
undo synchronization
peer 3::3 enable

ospf 1
import-route isis 1
area 0.0.0.0
network 10.0.12.2 0.0.0.0

r3

ipv6

isis 1
is-level level-2
cost-style wide
network-entity 49.0001.0000.0000.0003.00
is-name r3

ipv6 enable topology ipv6

firewall zone Local
priority 15

interface GigabitEthernet0/0/0
ipv6 enable
ip address 10.0.23.3 255.255.255.0
ipv6 address 2001:DB8:23::3/64
isis enable 1
isis ipv6 enable 1

interface GigabitEthernet0/0/1
ipv6 enable
ip address 10.0.34.3 255.255.255.0
ipv6 address 2001:DB8:34::3/64
isis enable 1
isis ipv6 enable 1

interface GigabitEthernet0/0/2

interface NULL0

interface LoopBack0
ipv6 enable
ip address 3.3.3.3 255.255.255.255
ipv6 address 3::3/128
isis enable 1
isis ipv6 enable 1

bgp 65100
group ibgp internal
peer ibgp connect-interface LoopBack0
peer 1.1.1.1 as-number 65100
peer 1.1.1.1 group ibgp
peer 2.2.2.2 as-number 65100
peer 2.2.2.2 group ibgp
peer 4.4.4.4 as-number 65100
peer 4.4.4.4 group ibgp
peer 5.5.5.5 as-number 65100
peer 5.5.5.5 group ibgp
peer 1::1 as-number 65100
peer 1::1 group ibgp
peer 2::2 as-number 65100
peer 2::2 group ibgp
peer 4::4 as-number 65100
peer 4::4 group ibgp
peer 5::5 as-number 65100
peer 5::5 group ibgp

ipv4-family unicast
undo synchronization
peer ibgp enable
peer ibgp reflect-client
peer 1.1.1.1 enable
peer 1.1.1.1 group ibgp
peer 2.2.2.2 enable
peer 2.2.2.2 group ibgp
peer 4.4.4.4 enable
peer 4.4.4.4 group ibgp
peer 5.5.5.5 enable
peer 5.5.5.5 group ibgp

ipv6-family unicast
undo synchronization
peer ibgp enable
peer ibgp reflect-client
peer 1::1 enable
peer 1::1 group ibgp
peer 2::2 enable
peer 2::2 group ibgp
peer 4::4 enable
peer 4::4 group ibgp
peer 5::5 enable
peer 5::5 group ibgp

R4

ipv6

router id 4.4.4.4

isis 1
is-level level-2
cost-style wide
network-entity 49.0001.0000.0000.0004.00
is-name r4
import-route ospf 1

ipv6 enable topology ipv6
ipv6 import-route ospfv3 1

ospfv3 1
router-id 4.4.4.4
import-route isis 1

firewall zone Local
priority 15

interface GigabitEthernet0/0/0
ipv6 enable
ip address 10.0.34.4 255.255.255.0
ipv6 address 2001:DB8:34::4/64
isis enable 1
isis ipv6 enable 1

interface GigabitEthernet0/0/1
ip address 10.0.24.4 255.255.255.0
isis enable 1

interface GigabitEthernet0/0/2
ipv6 enable
ip address 10.0.45.4 255.255.255.0
ipv6 address 2001:DB8:45::4/64
ospfv3 1 area 0.0.0.0 instance 1

interface NULL0

interface LoopBack0
ipv6 enable
ip address 4.4.4.4 255.255.255.255
ipv6 address 4::4/128
isis enable 1
isis ipv6 enable 1

bgp 65100
peer 3.3.3.3 as-number 65100
peer 3.3.3.3 connect-interface LoopBack0
peer 3::3 as-number 65100
peer 3::3 connect-interface LoopBack0

ipv4-family unicast
undo synchronization
peer 3.3.3.3 enable

ipv6-family unicast
undo synchronization
peer 3::3 enable

ospf 1
import-route isis 1
area 0.0.0.0
network 10.0.45.4 0.0.0.0

r5

ipv6

router id 5.5.5.5

ospfv3 1
router-id 5.5.5.5

firewall zone Local
priority 15

interface GigabitEthernet0/0/0
ipv6 enable
ip address 10.0.45.5 255.255.255.0
ipv6 address 2001:DB8:45::5/64
ospfv3 1 area 0.0.0.0 instance 1

interface GigabitEthernet0/0/1
ipv6 enable
ip address 10.0.52.5 255.255.255.0
ipv6 address 2001:DB8:52::5/64

interface GigabitEthernet0/0/2

interface NULL0

interface LoopBack0
ipv6 enable
ip address 5.5.5.5 255.255.255.255
ipv6 address 5::5/128
ospfv3 1 area 0.0.0.0 instance 1

bgp 65100
peer 3.3.3.3 as-number 65100
peer 3.3.3.3 connect-interface LoopBack0
peer 10.0.52.2 as-number 65002
peer 3::3 as-number 65100
peer 3::3 connect-interface LoopBack0
peer 2001:DB8:52::2 as-number 65002

ipv4-family unicast
undo synchronization
peer 3.3.3.3 enable
peer 3.3.3.3 next-hop-local
peer 10.0.52.2 enable

ipv6-family unicast
undo synchronization
peer 3::3 enable
peer 3::3 next-hop-local
peer 2001:DB8:52::2 enable

ospf 1
area 0.0.0.0
network 5.5.5.5 0.0.0.0
network 10.0.45.5 0.0.0.0

SW2

ipv6

interface Vlanif1
ipv6 enable
ip address 10.0.52.2 255.255.255.0
ipv6 address 2001:DB8:52::2/64

interface GigabitEthernet0/0/1
port link-type access

interface LoopBack0
ipv6 enable
ip address 22.1.1.1 255.255.255.0
ipv6 address 2001:DB8::2/128

bgp 65002
peer 10.0.52.5 as-number 65100
peer 2001:DB8:52::5 as-number 65100

ipv4-family unicast
undo synchronization
network 22.1.1.0 255.255.255.0
peer 10.0.52.5 enable

ipv6-family unicast
undo synchronization
network 2001:DB8::2 128
peer 2001:DB8:52::5 enable

这篇关于华为ipv4+ipv6双栈加isis多拓扑配置案例的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/586282

相关文章

定价129元!支持双频 Wi-Fi 5的华为AX1路由器发布

《定价129元!支持双频Wi-Fi5的华为AX1路由器发布》华为上周推出了其最新的入门级Wi-Fi5路由器——华为路由AX1,建议零售价129元,这款路由器配置如何?详细请看下文介... 华为 Wi-Fi 5 路由 AX1 已正式开售,新品支持双频 1200 兆、配有四个千兆网口、提供可视化智能诊断功能,建

SpringBoot+MyBatis-Flex配置ProxySQL的实现步骤

《SpringBoot+MyBatis-Flex配置ProxySQL的实现步骤》本文主要介绍了SpringBoot+MyBatis-Flex配置ProxySQL的实现步骤,文中通过示例代码介绍的非常详... 目录 目标 步骤 1:确保 ProxySQL 和 mysql 主从同步已正确配置ProxySQL 的

Spring Boot整合log4j2日志配置的详细教程

《SpringBoot整合log4j2日志配置的详细教程》:本文主要介绍SpringBoot项目中整合Log4j2日志框架的步骤和配置,包括常用日志框架的比较、配置参数介绍、Log4j2配置详解... 目录前言一、常用日志框架二、配置参数介绍1. 日志级别2. 输出形式3. 日志格式3.1 PatternL

使用Navicat工具比对两个数据库所有表结构的差异案例详解

《使用Navicat工具比对两个数据库所有表结构的差异案例详解》:本文主要介绍如何使用Navicat工具对比两个数据库test_old和test_new,并生成相应的DDLSQL语句,以便将te... 目录概要案例一、如图两个数据库test_old和test_new进行比较:二、开始比较总结概要公司存在多

配置springboot项目动静分离打包分离lib方式

《配置springboot项目动静分离打包分离lib方式》本文介绍了如何将SpringBoot工程中的静态资源和配置文件分离出来,以减少jar包大小,方便修改配置文件,通过在jar包同级目录创建co... 目录前言1、分离配置文件原理2、pom文件配置3、使用package命令打包4、总结前言默认情况下,

VScode连接远程Linux服务器环境配置图文教程

《VScode连接远程Linux服务器环境配置图文教程》:本文主要介绍如何安装和配置VSCode,包括安装步骤、环境配置(如汉化包、远程SSH连接)、语言包安装(如C/C++插件)等,文中给出了详... 目录一、安装vscode二、环境配置1.中文汉化包2.安装remote-ssh,用于远程连接2.1安装2

SpringBoot实现动态插拔的AOP的完整案例

《SpringBoot实现动态插拔的AOP的完整案例》在现代软件开发中,面向切面编程(AOP)是一种非常重要的技术,能够有效实现日志记录、安全控制、性能监控等横切关注点的分离,在传统的AOP实现中,切... 目录引言一、AOP 概述1.1 什么是 AOP1.2 AOP 的典型应用场景1.3 为什么需要动态插

Redis多种内存淘汰策略及配置技巧分享

《Redis多种内存淘汰策略及配置技巧分享》本文介绍了Redis内存满时的淘汰机制,包括内存淘汰机制的概念,Redis提供的8种淘汰策略(如noeviction、volatile-lru等)及其适用场... 目录前言一、什么是 Redis 的内存淘汰机制?二、Redis 内存淘汰策略1. pythonnoe

windos server2022的配置故障转移服务的图文教程

《windosserver2022的配置故障转移服务的图文教程》本文主要介绍了windosserver2022的配置故障转移服务的图文教程,以确保服务和应用程序的连续性和可用性,文中通过图文介绍的非... 目录准备环境:步骤故障转移群集是 Windows Server 2022 中提供的一种功能,用于在多个

windos server2022里的DFS配置的实现

《windosserver2022里的DFS配置的实现》DFS是WindowsServer操作系统提供的一种功能,用于在多台服务器上集中管理共享文件夹和文件的分布式存储解决方案,本文就来介绍一下wi... 目录什么是DFS?优势:应用场景:DFS配置步骤什么是DFS?DFS指的是分布式文件系统(Distr