R01_01_Better-Bootstrapping-for-Approximate-Homomorphic-Encryption【密码学2020】
- 格式:pdf
- 大小:1.45 MB
- 文档页数:29


RGNOSv10.3(3)BGP和OSPF在路由重分发时的注意点2008-5-15福建星网锐捷网络有限公司版权所有侵权必究前言本文档介绍了RGNOS V10.3(3)中BGP和OSPF路由重发布时的一些实现特点。
由于这些特点区别于友商CISCO的BGP功能实现,在具体的项目实施过程中需要注意。
1.☹本文档仅限公司内部使用,严禁外传。
1.☺如果您在阅读中产生疑问,请与文档维护人联系。
目录1. 1OSPF重分发BGP路由1. 1.1注意点1. 这里Cisco验证的版本为c7200-adventerprisek9-mz.124-9.T1.bin2. 1.2应用实例1. 1.2.1网络拓扑四台设备之间建立EBGP/IBGP/EBGP连接。
C1为CISCO 3550、C2、C3是Cisco模拟器,R1是我司设备,实验设备为RG-S5750。
C1和R1建立EBGP连接,R1和C2建立IBGP连接,C2和C3建立EBGP连接。
其中C1和C3主要是发送路由,具体的操作在R1和C2。
2. 1.2.2配置文件C1 简化配置C1#sho running-configBuilding configuration...Current configuration : 2557 bytes!version 12.2no service padservice timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname C1!!no aaa new-modelip subnet-zeroip routing!!!!!!no file verify autospanning-tree mode pvstspanning-tree extend system-id!vlan internal allocation policy ascending!!interface Loopback0ip address 1.1.1.1 255.255.255.255!interface FastEthernet0/1no switchportip address 192.168.16.1 255.255.255.248!interface FastEthernet0/2switchport mode dynamic desirable!interface FastEthernet0/3switchport mode dynamic desirable!...!router bgp 1no synchronizationbgp log-neighbor-changesredistribute staticneighbor 192.168.16.2 remote-as 23no auto-summary!ip classlessip route 192.168.111.0 255.255.255.0 Loopback0ip route 192.168.112.0 255.255.255.0 Loopback0ip http serverip http secure-server!!!control-plane!!line con 0line vty 0 4privilege level 15password wlogin!!endC1#C2简化配置C2#sho runnBuilding configuration...Current configuration : 1450 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname C2!boot-start-markerwarm-rebootboot-end-marker!!no aaa new-model!resource policy!ip cef!!!!interface Loopback0ip address 192.168.125.1 255.255.255.0 secondary ip address 192.168.126.1 255.255.255.0 secondary ip address 2.2.2.2 255.255.255.255!interface FastEthernet0/0ip address 192.168.26.2 255.255.255.248duplex full!interface Ethernet1/0no ip addressshutdownduplex half!interface Ethernet1/1no ip addressshutdownduplex half!interface Ethernet1/2no ip addressshutdownduplex half!interface Ethernet1/3ip address 192.168.23.1 255.255.255.248duplex full!router ospf 1log-adjacency-changesnetwork 2.2.2.2 0.0.0.0 area 0network 192.168.26.0 0.0.0.7 area 0!router bgp 23no synchronizationbgp log-neighbor-changesnetwork 192.168.125.0network 192.168.126.0neighbor 6.6.6.6 remote-as 23neighbor 6.6.6.6 update-source Loopback0neighbor 6.6.6.6 next-hop-selfneighbor 192.168.23.2 remote-as 3no auto-summary!no ip http serverno ip http secure-server!!...!line con 0stopbits 1line aux 0line vty 0 4privilege level 15password wlogin!!endC2#C3简化配置C3#sho runnBuilding configuration...Current configuration : 1178 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname C3!boot-start-markerboot-end-marker!!no aaa new-model!resource policy!ip cef!!!!!!interface Loopback0ip address 3.3.3.3 255.255.255.255!interface FastEthernet0/0no ip addressshutdownduplex full!interface Ethernet1/0no ip addressshutdownduplex half!interface Ethernet1/1no ip addressshutdownduplex half!interface Ethernet1/2no ip addressshutdownduplex half!interface Ethernet1/3ip address 192.168.23.2 255.255.255.248duplex full!router bgp 3no synchronizationbgp log-neighbor-changesredistribute staticneighbor 192.168.23.1 remote-as 23no auto-summary!ip route 192.168.131.0 255.255.255.0 Loopback0ip route 192.168.132.0 255.255.255.0 Loopback0no ip http serverno ip http secure-server!!!logging alarm informational!...!line con 0stopbits 1line aux 0line vty 0 4privilege level 15password wlogin!!endC2#R1简化配置R1#show runnBuilding configuration...Current configuration : 2080 bytes!version RGNOS 10.3.00(3), Release(38105)(Fri Apr 25 15:29:44 CST 2008 -ngcf31)hostname R1co-operate enable!!!!route-map ospf_redist permit 10match route-type external!vlan 1!!!!!interface GigabitEthernet 0/1no switchportno ip proxy-arpip address 192.168.26.1 255.255.255.248!interface GigabitEthernet 0/2!...!interface GigabitEthernet 0/23!interface GigabitEthernet 0/24no switchportno ip proxy-arpip address 192.168.16.2 255.255.255.248!interface Loopback 0ip address 6.6.6.6 255.255.255.255ip address 192.168.165.1 255.255.255.0 secondaryip address 192.168.166.1 255.255.255.0 secondary!!!!!!!!router bgp 23neighbor 2.2.2.2 remote-as 23neighbor 2.2.2.2 update-source Loopback 0neighbor 192.168.16.1 remote-as 1!address-family ipv4network 192.168.165.0network 192.168.166.0neighbor 2.2.2.2 activateneighbor 2.2.2.2 next-hop-selfneighbor 192.168.16.1 activateexit-address-family!!router ospf 1router-id 6.6.6.6network 6.6.6.6 0.0.0.0 area 0network 192.168.26.0 0.0.0.7 area 0!!!ip route 192.168.161.0 255.255.255.0 Loopback 0ip route 192.168.162.0 255.255.255.0 Loopback 0!!line con 0line vty 0 10privilege level 15loginpassword w!!end3. 1.2.3检验配置效果C2使用show ip bgp可以看到125.0/126.0是源发路由,111.0/112.0/165.0/166.0是IBGP路由,131.0/132.0是EBGP路由。
第1章实验拓扑、终端服务器配置 5 1.1 访问Cisco路由器的方法 61.1.1 通过Console口访问路由器 61.1.2 通过Telnet访问路由器 61.1.3 终端访问服务器71.1.4 本书实验拓扑7 1.2 实验1:通过Console口访问路由器8 1.3实验2:通过Telnet访问路由器13 1.4 实验3:配置终端访问服务器15 1.5 终端访问服务器配置命令汇总21第2章路由器基本配置222.1路由器及IOS简介222.1.1 路由器简介222.1.2 IOS简介222.1.3 CDP协议介绍25 2.2 实验1:CLI的使用与IOS基本命令25 2.3 实验2:配置文件的备份和IOS的备份33 2.4实验3:密码恢复和IOS的恢复36 2.5实验4:CDP 39 2.6路由器基本配置命令汇总42第3章静态路由433.1静态路由与默认路由433.1.1 静态路由介绍433.1.2 默认路由介绍453.1.3 ip classless 45 3.2 实验1:静态路由46 3.3 实验2:默认路由50 3.3 实验3:ip classless 51 3.5静态路由命令汇总52第4章RIP 534.1RIP概述53 4.2 RIPv1 544.2.1 实验1:RIPv1基本配置544.2.2 实验2:被动接口与单播更新584.2.3 实验3:使用子网地址60 4.3 RIPv2 624.3.1 实验4:RIPv2基本配置624.3.2 实验5:RIPv2手工汇总654.3.3实验6:RIPv2认证和触发更新684.3.4 实验7:浮动静态路由744.3.5 实验8:ip default-network 77 4.4 RIP命令汇总79第5章EIGRP 805.1 EIGRP概述80 5.2 实验1:EIGRP基本配置80 5.3 EIGRP负载均衡、汇总和认证885.3.1 实验2:EIGRP负载均衡885.3.2 实验3:EIGRP路由汇总925.3.3 实验4:EIGRP认证96 5.4EIGRP 命令汇总97第6章单区域OSPF 986.1 OSPF概述986.2 实验1:点到点链路上的OSP 996.3 实验2:广播多路访问链路上的OSPF 105 6.4 OSPF认证1126.4.1 实验3:基于区域的OSPF简单口令认证1126.4.2 实验4:基于区域的OSPF MD5认证1146.4.3 实验5:基于链路的OSPF简单口令认证1166.4.4 实验6:基于链路的OSPF MD5认证1186.5 实验7:default-informtion originate 120 6.6 OSPF命令汇总122第7章HDLC和PPP 1247.1 HDLC和PPP简介1247.1.1 HDLC介绍124 7.1.2 PPP介绍124 7.2 实验1:HDLC和PPP封装125 7.3 实验2:PAP认证127 7.4实验3:CHAP认证129 7.5 HDLC、PPP命令汇总130第8章帧中继1328.1 帧中继简介1328.1.1 什么是帧中继1328.1.2帧中继的合理性1328.1.3 DLCI 1338.1.4 帧中继术语1348.1.5 LMI 1348.1.6 帧中继映射1348.1.7 子接口135 8.2 实验1:把一台Cisco路由器配置为帧中继交换机136 8.3 实验2:帧中继基本配置和帧中继映射138 8.4 实验3:帧中继上的RIP 142 8.5实验4:帧中继点到多点子接口146 8.6 实验5:帧中继点到点子接口149 8.7 帧中继命令汇总151第9章ACL 1539.1 ACL概述153 9.2 实验1:标准ACL 154 9.3 实验2:扩展ACL 156 9.4 实验3:命名ACL 158 9.5 实验4:基于时间ACL 160 9.6 实验5 动态ACL 161 9.7 实验6:自反ACL 163 9.8 ACL命令汇总165第10章DHCP 16610.1 DHCP概述166 10.2 实验1:DHCP基本配置167 10.3实验2:DHCP中继170 10.4 DHCP命令汇总173第11章NAT 17411.2 实验1:静态NAT配置17411.3 实验2:动态NAT 177 11.4 实验3:PAT配置17911.5 NAT命令汇总180第12章交换机基本配置18212.1 交换机简介18212.2 实验1:交换机基本配置18312.3 实验2:交换机端口安全18412.4 实验3:交换机的密码恢复18712.5 实验4:交换的IOS恢复189 12.6 交换机基本配置命令汇总190第13章VLAN,Trunk和VTP 19113.1 VLAN,Trunk和VTP简介19113.1.1 VLAN 19113.1.2 Trunk 19213.1.3 VTP 19213.1.4 EtherChannel 193 13.2 实验1:划分VLAN 193 13.3 实验2:Trunk配置196 13.4 实验3:VTP配置199 13.5 实验4:EtherChannel配置202 13.6 VLAN、Trunk和VTP命令汇总205第14章STP 20614.1 STP简介20614.1.1 基本STP 20614.1.2 PVST 20714.1.3 Portfast、Uplinkfast、Backbonefast 20714.1.4 RSTP 20714.1.5 MST 20714.1.6 STP防护207 14.2 实验1:STP和PVST 208 14.3 实验2:Portfast,Uplinkfast,Backbonefast 213 14.4 实验3:RSTP 215 14.5 实验4:MST 217 14.6 实验5:STP保护221 14.7 STP命令汇总223第15章VLAN间路由22415.1 VLAN间路由简介22415.1.1 单臂路由22415.1.2 3层交换224 15.2 实验1:单臂路由实现VLAN间路由225 15.3实验2:3层交换实现VLAN间路由227 15.4 VLAN间路由命令汇总228第16章网关冗余和负载平衡23016.1 网关冗余和负载平衡简介23016.1.1 HSRPHSRP是Cisco的专有协议。
1出于维护目的,已将路由器从网络中移除。
并已将新的 Cisco IOS 软件映 像成功下载到效劳器并复制到路由器的闪存中。
应该在进行什么操作后再 将路由器放回网络中运行?备份新的映像。
将运行配置复制到NVRAM 。
从闪存中删除之前版本的 Cisco IOS 软件。
重新启动路由器并检验新的映像是否成功启动。
答案 说明 最高分值correctness of response Option 422请参见图示。
管理员尝试在路由器上配置 IPv6 的 EIGRP ,但收到如下图 的错误消息。
配置 IPv6 的 EIGRP 之前,管理员必须发出什么命令? no shutdownipv6 unicast-routingipv6 eigrp 100ipv6 cef答案 说明 最高分值correctness of response Option 323IPv6 EIGRP 路由器使用哪个地址作为 hello 消息的来源?32 位路由器ID接口上配置的 IPv6 全局单播地址所有 EIGRP 路由器组播地址接口 IPv6 本地链路地址答案 说明 最高分值correctness of response Option 424以下关于 EIGRP 确认数据包的说法,哪两项是正确的?〔请选择两项。
〕发送该数据包是为了响应 hello 数据包。
该数据包用于发现接口上连接的邻居。
该数据包作为单播发送。
该数据包需要确认。
该数据包不可靠。
答案 说明 最高分值correctness of response Option 3 and Option 5 are correct.25何时发送 EIGRP 更新数据包?仅在必要时当获取的路由过期时每 5 秒通过组播发送每 30 秒通过播送发送答案 说明 最高分值correctness of response Option 126请参见图示。
从输出中可以得出哪两条结论?〔请选择两项。
〕有一个通向网络 192.168.1.8/30 的可行后继路由器。
双核心交换机+双核心路由器(HSRP+OSPF)具体配置R3不做配置R0配置!version 12.1service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname R0!!!!!memory-size iomem 15ip subnet-zero!!!!interface FastEthernet0/0ip address 192.168.0.1 255.255.255.0 duplex autospeed auto!interface FastEthernet0/1ip address 172.16.0.1 255.255.0.0duplex autospeed auto!router ospf 1log-adjacency-changesnetwork 172.16.0.0 0.0.255.255 area 0 network 192.168.0.0 0.0.0.255 area 0 !ip classlessno ip http server!!line con 0transport input noneline aux 0line vty 0 4login!no scheduler allocateendR1配置!version 12.1service timestamps debug uptime service timestamps log uptimeno service password-encryptionhostname R1!!!!!!memory-size iomem 15ip subnet-zero!!!!interface FastEthernet0/0ip address 192.168.0.2 255.255.255.0 duplex autospeed auto!interface FastEthernet0/1ip address 10.0.0.1 255.0.0.0duplex autospeed autostandby 1 priority 150 preemptstandby 1 ip 10.0.0.3standby 1 track Fa0/0 51!interface FastEthernet1/0ip address 172.17.0.2 255.255.0.0ip ospf cost 2duplex autospeed auto!router ospf 1log-adjacency-changesnetwork 10.0.0.0 0.255.255.255 area 0 network 172.17.0.0 0.0.255.255 area 0 network 192.168.0.0 0.0.0.255 area 0 !ip classlessno ip http server!!line con 0transport input noneline aux 0line vty 0 4login!endR2配置!version 12.1service timestamps debug uptime service timestamps log uptimeno service password-encryption!hostname R2!!!!!!memory-size iomem 15ip subnet-zero!!!!interface FastEthernet0/0ip address 172.16.0.2 255.255.0.0duplex autospeed auto!interface FastEthernet0/1ip address 10.0.0.2 255.0.0.0duplex autospeed autostandby 1 preemptstandby 1 ip 10.0.0.3!interface FastEthernet1/0ip address 192.168.1.2 255.255.255.0ip ospf cost 2duplex autospeed auto!router ospf 1log-adjacency-changesnetwork 10.0.0.0 0.255.255.255 area 0 network 172.16.0.0 0.0.255.255 area 0 network 192.168.1.0 0.0.0.255 area 0 !ip classlessno ip http server!!line con 0transport input noneline aux 0line vty 0 4login!endR4配置!version 12.1service timestamps debug uptime service timestamps log uptimeno service password-encryption!hostname R4!!!!!!memory-size iomem 15ip subnet-zero!!!!interface FastEthernet0/0ip address 172.17.0.1 255.255.0.0ip ospf cost 2duplex autospeed auto!interface FastEthernet0/1ip address 192.168.1.1 255.255.255.0 ip ospf cost 2duplex autospeed auto!router ospf 1log-adjacency-changesnetwork 172.17.0.0 0.0.255.255 area 0 network 192.168.1.0 0.0.0.255 area 0 !ip classlessno ip http server!!line con 0transport input noneline aux 0line vty 0 4login!end。