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

相关文章

Linux 安装、配置Tomcat 的HTTPS

Linux 安装 、配置Tomcat的HTTPS 安装Tomcat 这里选择的是 tomcat 10.X ,需要Java 11及更高版本 Binary Distributions ->Core->选择 tar.gz包 下载、上传到内网服务器 /opt 目录tar -xzf 解压将解压的根目录改名为 tomat-10 并移动到 /opt 下, 形成个人习惯的路径 /opt/tomcat-10

uniapp接入微信小程序原生代码配置方案(优化版)

uniapp项目需要把微信小程序原生语法的功能代码嵌套过来,无需把原生代码转换为uniapp,可以配置拷贝的方式集成过来 1、拷贝代码包到src目录 2、vue.config.js中配置原生代码包直接拷贝到编译目录中 3、pages.json中配置分包目录,原生入口组件的路径 4、manifest.json中配置分包,使用原生组件 5、需要把原生代码包里的页面修改成组件的方

IDEA配置Tomcat远程调试

因为不想把本地的Tomcat配置改乱或者多人开发项目想测试,本文主要是记录一下,IDEA使用Tomcat远程调试的配置过程,免得一段时间不去配置到时候忘记(毕竟这次是因为忘了,所以才打算记录的…) 首先在catalina.sh添加以下内容 JAVA_OPTS="-Dcom.sun.management.jmxremote=-Dcom.sun.management.jmxremote.port

Steam邮件推送内容有哪些?配置教程详解!

Steam邮件推送功能是否安全?如何个性化邮件推送内容? Steam作为全球最大的数字游戏分发平台之一,不仅提供了海量的游戏资源,还通过邮件推送为用户提供最新的游戏信息、促销活动和个性化推荐。AokSend将详细介绍Steam邮件推送的主要内容。 Steam邮件推送:促销优惠 每当平台举办大型促销活动,如夏季促销、冬季促销、黑色星期五等,用户都会收到邮件通知。这些邮件详细列出了打折游戏、

微信小程序开发必知必会:文件结构和基本配置

一、微信小程序基本文件结构 1.  project.config.json:项目的基本配置文件,包括项目名称、appid、项目目录、页面文件夹等。     {"setting": {"urlCheck": false,"es6": true,"postcss": true,"nodeModulesPath": "D:\\\\node_modules"},"appid": "wxd678e

华为---OSPF的DR与BDR(六)

9.6 OSPF的DR与BDR 9.6.1 原理概述 在OSPF的广播类型网络和NBMA类型网络中,如果网络中有n台路由器,若任意两台路由器之间都要建立邻接关系,则需要建立n×(n-1)/2个邻接关系,即当路由器很多时,则需要建立和维护的邻接关系就很多,两两之间需要发送的报文也就很多,这会造成很多内容重复的报文在网络中传递,浪费了设备的带宽资源。因此在广播和NBMA类型网络中,OSPF协议定义

【杂记-浅谈DHCP动态主机配置协议】

DHCP动态主机配置协议 一、DHCP概述1、定义2、作用3、报文类型 二、DHCP的工作原理三、DHCP服务器的配置和管理 一、DHCP概述 1、定义 DHCP,Dynamic Host Configuration Protocol,动态主机配置协议,是一种网络协议,主要用于在IP网络中自动分配和管理IP地址以及其他网络配置参数。 2、作用 DHCP允许计算机和其他设备通

Pycharm配置conda环境(解决新版本无法识别可执行文件问题)

引言: 很多小伙伴在下载最新版本的pycharm或者更新到最新版本后为项目配置conda环境的时候,发现文件夹目录中无法显示可执行文件(一般为python.exe),以下就是本人遇到该问题后试验和解决该问题的一些方法和思路。 一般遇到该问题的人群有两种,一种是刚入门对pycharm进行conda环境配置的小白(例如我),不熟悉相关环境配置的操作和过程,还有一种是入坑pycharm有段时间的老手

【zabbix】zabbix客户端配置

1、部署zabbix客户端 #zabbix 5.0 版本采用 golang 语言开发的新版本客户端 agent2 。#zabbix 服务端 zabbix_server 默认使用 10051 端口,客户端 zabbix_agent2 默认使用 10050 端口。systemctl disable --now firewalldsetenforce 0hostnamectl set-host

局域网内vue2 配置本地IP地址访问项目

在日常开发中同事可能需要访问你的前端项目,可以通过配置实现通过ip访问 一.首先找到config文件夹目录下的 index.js文件             将此处的host的值修改为0.0.0.0(即 host: 0.0.0.0) // Various Dev Server settings//host: 'localhost' //将localhost进行替换成 0.0.0.0host: