IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    【ospf区域加密认证以及接口加密认证】

    建伟发表于 2015-05-18 16:25:10
    love 0

    老师题目要求:

    1

    花了点时间配置了一下

    R1:

    R1#show run

    Building configuration...

    Current configuration : 1225 bytes

    !

    version 12.4

    service timestamps debug datetime msec

    service timestamps log datetime msec

    service password-encryption

    !

    hostname R1

    !

    boot-start-marker

    boot-end-marker

    !

    !

    no aaa new-model

    memory-size iomem 5

    no ip icmp rate-limit unreachable

    !

    !

    ip cef

    no ip domain lookup

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    ip tcp synwait-time 5

    !

    !

    !

    !

    !

    interface Loopback0

    ip address 1.1.1.1 255.255.255.0

    ip ospf network point-to-point

    !

    interface Serial0/0

    ip address 12.1.1.1 255.255.255.0

    ip ospf message-digest-key 1 md5 7 00071A150754

    serial restart-delay 0

    !

    interface Serial0/1

    no ip address

    shutdown

    serial restart-delay 0

    !

    interface Serial0/2

    no ip address

    shutdown

    serial restart-delay 0

    !

    interface Serial0/3

    no ip address

    shutdown

    serial restart-delay 0

    !

    router ospf 110

    router-id 1.1.1.1

    log-adjacency-changes

    area 0 authentication message-digest

    network 1.1.1.1 0.0.0.0 area 0

    network 12.1.1.1 0.0.0.0 area 0

    !

    no ip http server

    no ip http secure-server

    !

    !

    !

    no cdp log mismatch duplex

    !

    !

    !

    control-plane

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    line con 0

    exec-timeout 0 0

    privilege level 15

    logging synchronous

    line aux 0

    exec-timeout 0 0

    privilege level 15

    logging synchronous

    line vty 0 4

    login

    !

    !

    end

    R1#

    r2

    R2#show run

    Building configuration...

    Current configuration : 1315 bytes

    !

    version 12.4

    service timestamps debug datetime msec

    service timestamps log datetime msec

    service password-encryption

    !

    hostname R2

    !

    boot-start-marker

    boot-end-marker

    !

    !

    no aaa new-model

    memory-size iomem 5

    no ip icmp rate-limit unreachable

    !

    !

    ip cef

    no ip domain lookup

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    ip tcp synwait-time 5

    !

    !

    !

    !

    !

    interface Loopback0

    ip address 2.2.2.2 255.255.255.0

    ip ospf network point-to-point

    !

    interface Serial0/0

    ip address 12.1.1.2 255.255.255.0

    ip ospf message-digest-key 1 md5 7 094F471A1A0A

    serial restart-delay 0

    !

    interface Serial0/1

    ip address 23.1.1.2 255.255.255.0

    ip ospf message-digest-key 1 md5 7 0007100814

    serial restart-delay 0

    !

    interface Serial0/2

    no ip address

    shutdown

    serial restart-delay 0

    !

    interface Serial0/3

    no ip address

    shutdown

    serial restart-delay 0

    !

    router ospf 110

    router-id 2.2.2.2

    log-adjacency-changes

    area 0 authentication message-digest

    network 2.2.2.2 0.0.0.0 area 0

    network 12.1.1.2 0.0.0.0 area 0

    network 23.1.1.2 0.0.0.0 area 0

    !

    no ip http server

    no ip http secure-server

    !

    !

    !

    no cdp log mismatch duplex

    !

    !

    !

    control-plane

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    line con 0

    exec-timeout 0 0

    privilege level 15

    logging synchronous

    line aux 0

    exec-timeout 0 0

    privilege level 15

    logging synchronous

    line vty 0 4

    login

    !

    !

    end

    R2#

    r3

    R3#show run

    Building configuration...

    Current configuration : 1273 bytes

    !

    version 12.4

    service timestamps debug datetime msec

    service timestamps log datetime msec

    service password-encryption

    !

    hostname R3

    !

    boot-start-marker

    boot-end-marker

    !

    enable password 7 03134C1C

    !

    no aaa new-model

    memory-size iomem 5

    no ip icmp rate-limit unreachable

    !

    !

    ip cef

    no ip domain lookup

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    ip tcp synwait-time 5

    !

    !

    !

    !

    !

    interface Loopback0

    ip address 3.3.3.3 255.255.255.0

    ip ospf network point-to-point

    !

    interface Serial0/0

    ip address 23.1.1.3 255.255.255.0

    ip ospf message-digest-key 1 md5 7 08224F4019

    serial restart-delay 0

    !

    interface Serial0/1

    no ip address

    shutdown

    serial restart-delay 0

    !

    interface Serial0/2

    no ip address

    shutdown

    serial restart-delay 0

    !

    interface Serial0/3

    no ip address

    shutdown

    serial restart-delay 0

    !

    router ospf 110

    router-id 3.3.3.3

    log-adjacency-changes

    area 0 authentication message-digest

    network 3.3.3.3 0.0.0.0 area 0

    network 23.1.1.3 0.0.0.0 area 0

    !

    no ip http server

    no ip http secure-server

    !

    !

    !

    no cdp log mismatch duplex

    !

    !

    !

    control-plane

    !

    !

    !

    !

    !

    !

    !

    !

    !

    !

    line con 0

    exec-timeout 0 0

    privilege level 15

    logging synchronous

    line aux 0

    exec-timeout 0 0

    privilege level 15

    logging synchronous

    line vty 0 4

    password 7 104D0A1704

    login

    !

    !

    end

    R3#

    配置r1的时候使用的是区域认真应该为接口认证

    R1ping r3 s0/0口 以及用R1lo0ping r3 lo0

    2

    【ospf区域加密认证以及接口加密认证】,首发于顾建伟个人博客。



沪ICP备19023445号-2号
友情链接