【笔记】自己搭了个ISIS与ospf互通的网络

9c4a91054958431db5934e9466c24d4d.png

 拓扑图如上:左边总部,内网192.168.(vlan id).1/24,例如:192.168.11.1/24,192.168.12.1/24。右边分部类似,AR1,AR6为总部,分部出口路由器,部署ospf与is-is,中间模拟ISP网络,部署IS-IS,在出口路由器的isis与ospf进程中进行路由重发布。ISIS进程中引入OSPF时,默认引入Level-2的LSDB,出口路由器为Level-1不存在Level-2的LSDB,因此需要指定引入到Level-1的LSDB中,各设备配置如下:

sysname SW1

#

undo info-center enable

#

vlan batch 11 to 14

stp region-configuration

 region-name wanggongxiaoli

 instance 1 vlan 11 to 12

 instance 2 vlan 13 to 14

 active region-configuration

quit

interface Ethernet0/0/1

 port link-type access

 port default vlan 11

#

interface Ethernet0/0/2

 port link-type access

 port default vlan 12

interface GigabitEthernet0/0/1

 port link-type trunk

 port trunk allow-pass vlan 2 to 4094

#

interface GigabitEthernet0/0/2

 port link-type trunk

 port trunk allow-pass vlan 2 to 4094

 

 

LSW2

sysname SW2

#

undo info-center enable

#

vlan batch 11 to 14

stp region-configuration

 region-name wanggongxiaoli

 instance 1 vlan 11 to 12

 instance 2 vlan 13 to 14

 active region-configuration

quit

interface Ethernet0/0/1

 port link-type access

 port default vlan 13

#

interface Ethernet0/0/2

 port link-type access

 port default vlan 14

interface GigabitEthernet0/0/1

 port link-type trunk

 port trunk allow-pass vlan 2 to 4094

#

interface GigabitEthernet0/0/2

 port link-type trunk

 port trunk allow-pass vlan 2 to 4094

 

 

 

LSW3

sysname SW3

#

undo info-center enable

#

vlan batch 11 to 14

#

stp instance 1 root primary

stp instance 2 root secondary

#

ip pool vlan11

 gateway-list 192.168.11.1

 network 192.168.11.0 mask 255.255.255.0

 excluded-ip-address 192.168.11.2 192.168.11.254

 dns-list 8.8.8.8

#

ip pool vlan12

 gateway-list 192.168.12.1

 network 192.168.12.0 mask 255.255.255.0

 excluded-ip-address 192.168.12.2 192.168.12.254

 dns-list 8.8.8.8

#

 

 

interface Vlanif1

 ip address 192.168.15.3 255.255.255.0

#

interface Vlanif11

 ip address 192.168.11.1 255.255.255.0

 vrrp vrid 1 virtual-ip 192.168.11.254

 vrrp vrid 1 priority 120

 vrrp vrid 1 preempt-mode timer delay 20

 dhcp select global

#

interface Vlanif12

 ip address 192.168.12.1 255.255.255.0

 vrrp vrid 1 virtual-ip 192.168.12.254

 vrrp vrid 1 priority 120

 vrrp vrid 1 preempt-mode timer delay 20

 dhcp select global

#

interface Vlanif13

 ip address 192.168.13.1 255.255.255.0

 vrrp vrid 1 virtual-ip 192.168.13.254

 vrrp vrid 1 preempt-mode timer delay 20

#

interface Vlani

  • 2
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值