ospf实验

总结:先配环回,进接口配地址,进子接口,该封装,配地址,s口用帧中继,配完以后宣告,宣告后看邻居有没有少,进行排错,最后修改cost值来进行主备区分。

采取分流互备的方式

实验规划

配置:

R1:

r1#show running-config

Building configuration…

Current configuration : 2141 bytes

!

! Last configuration change at 21:03:40 CST
Sun Jan 20 2019

version 15.2

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname r1

!

boot-start-marker

boot-end-marker

!

!

!

no aaa new-model

!

clock timezone CST 8 0

mmi polling-interval 60

no mmi auto-configure

no mmi pvc

mmi snmp-timeout 180

ip auth-proxy max-login-attempts 5

ip admission max-login-attempts 5

!

!

!

!

!

no ip domain lookup

ip cef

no ipv6 cef

!

multilink bundle-name authenticated

!

!

!

!

!

!

!

!

!

redundancy

!

!

!

!

!

!

!

!

!

!

!

!

!

!

interface Loopback0

ip
address 1.1.1.1 255.255.255.255

!

interface Loopback88

ip
address 10.88.1.1 255.255.255.255

ip
ospf network point-to-point

ip
ospf 1 area 1

!

interface Loopback99

ip
address 10.99.1.1 255.255.255.255

ip
ospf network point-to-point

ip
ospf 1 area 2

!

interface Ethernet0/0

no
ip address

!

interface Ethernet0/0.1

encapsulation dot1Q 1 native

ip
address 10.12.1.1 255.255.255.0

!

interface Ethernet0/0.2

encapsulation dot1Q 2

ip
address 10.12.2.1 255.255.255.0

!

interface Ethernet0/1

ip
address 10.13.1.1 255.255.255.0

!

interface Ethernet0/2

no
ip address

!

interface Ethernet0/2.1

encapsulation dot1Q 1 native

ip
address 10.14.1.1 255.255.255.0

!

interface Ethernet0/2.2

encapsulation dot1Q 2

ip
address 10.14.2.1 255.255.255.0

!

interface Ethernet0/3

no
ip address

shutdown

!

interface Serial1/0

no
ip address

shutdown

serial restart-delay 0

!

interface Serial1/1

no
ip address

shutdown

serial restart-delay 0

!

interface Serial1/2

no
ip address

shutdown

serial restart-delay 0

!

interface Serial1/3

no
ip address

shutdown

serial restart-delay 0

!

router ospf 1

router-id 1.1.1.1

network 1.1.1.1 0.0.0.0 area 1

network 10.12.1.0 0.0.0.255 area 1

network 10.12.2.0 0.0.0.255 area 2

network 10.13.1.0 0.0.0.255 area 1

network 10.14.1.0 0.0.0.255 area 1

network 10.14.2.0 0.0.0.255 area 2

!

ip forward-protocol nd

!

!

no ip http server

no ip http secure-server

!

!

!

!

control-plane

!

!

!

!

!

!

!

line con 0

exec-timeout 0 0</

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值