华为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

相关文章

最新版IDEA配置 Tomcat的详细过程

《最新版IDEA配置Tomcat的详细过程》本文介绍如何在IDEA中配置Tomcat服务器,并创建Web项目,首先检查Tomcat是否安装完成,然后在IDEA中创建Web项目并添加Web结构,接着,... 目录配置tomcat第一步,先给项目添加Web结构查看端口号配置tomcat    先检查自己的to

Servlet中配置和使用过滤器的步骤记录

《Servlet中配置和使用过滤器的步骤记录》:本文主要介绍在Servlet中配置和使用过滤器的方法,包括创建过滤器类、配置过滤器以及在Web应用中使用过滤器等步骤,文中通过代码介绍的非常详细,需... 目录创建过滤器类配置过滤器使用过滤器总结在Servlet中配置和使用过滤器主要包括创建过滤器类、配置过滤

你的华为手机升级了吗? 鸿蒙NEXT多连推5.0.123版本变化颇多

《你的华为手机升级了吗?鸿蒙NEXT多连推5.0.123版本变化颇多》现在的手机系统更新可不仅仅是修修补补那么简单了,华为手机的鸿蒙系统最近可是动作频频,给用户们带来了不少惊喜... 为了让用户的使用体验变得很好,华为手机不仅发布了一系列给力的新机,还在操作系统方面进行了疯狂的发力。尤其是近期,不仅鸿蒙O

在 VSCode 中配置 C++ 开发环境的详细教程

《在VSCode中配置C++开发环境的详细教程》本文详细介绍了如何在VisualStudioCode(VSCode)中配置C++开发环境,包括安装必要的工具、配置编译器、设置调试环境等步骤,通... 目录如何在 VSCode 中配置 C++ 开发环境:详细教程1. 什么是 VSCode?2. 安装 VSCo

在Spring中配置Quartz的三种方式

《在Spring中配置Quartz的三种方式》SpringQuartz是一个任务调度框架,它允许我们定期执行特定的任务,在Spring中,我们可以通过多种方式来配置Quartz,包括使用​​@Sche... 目录介绍使用 ​​@Scheduled​​ 注解XML 配置Java 配置1. 创建Quartz配置

Kibana的安装和配置全过程

《Kibana的安装和配置全过程》Kibana是一个开源的数据分析和可视化平台,它与Elasticsearch紧密集成,提供了一个直观的Web界面,使您可以快速地搜索、分析和可视化数据,在本文中,我们... 目录Kibana的安装和配置1.安装Java运行环境2.下载Kibana3.解压缩Kibana4.配

tomcat在nginx中的配置方式

《tomcat在nginx中的配置方式》文章介绍了如何在Linux系统上安装和配置Tomcat,并通过Nginx进行代理,首先,下载并解压Tomcat压缩包,然后启动Tomcat并查看日志,接着,配置... 目录一、下载安装tomcat二、启动tomcat三、配置nginx总结提示:文章写完后,目录可以自动

Zookeeper安装和配置说明

一、Zookeeper的搭建方式 Zookeeper安装方式有三种,单机模式和集群模式以及伪集群模式。 ■ 单机模式:Zookeeper只运行在一台服务器上,适合测试环境; ■ 伪集群模式:就是在一台物理机上运行多个Zookeeper 实例; ■ 集群模式:Zookeeper运行于一个集群上,适合生产环境,这个计算机集群被称为一个“集合体”(ensemble) Zookeeper通过复制来实现

CentOS7安装配置mysql5.7 tar免安装版

一、CentOS7.4系统自带mariadb # 查看系统自带的Mariadb[root@localhost~]# rpm -qa|grep mariadbmariadb-libs-5.5.44-2.el7.centos.x86_64# 卸载系统自带的Mariadb[root@localhost ~]# rpm -e --nodeps mariadb-libs-5.5.44-2.el7

Hadoop企业开发案例调优场景

需求 (1)需求:从1G数据中,统计每个单词出现次数。服务器3台,每台配置4G内存,4核CPU,4线程。 (2)需求分析: 1G / 128m = 8个MapTask;1个ReduceTask;1个mrAppMaster 平均每个节点运行10个 / 3台 ≈ 3个任务(4    3    3) HDFS参数调优 (1)修改:hadoop-env.sh export HDFS_NAMENOD