搜档网
当前位置:搜档网 › Cisco高级路由综合练习题(ccnp)参考答案

Cisco高级路由综合练习题(ccnp)参考答案

Cisco高级路由综合练习题(ccnp)参考答案
Cisco高级路由综合练习题(ccnp)参考答案

(1)按照要求配置路由器各个端口的IP地址,保证直连链路通。

(2)配置OSPF路由协议,保证OSPF各区域路由正常;

①将区域2配置成nssa区域;

R2:area 2 nssa no-sunmmary

R4:area 2 nssa

②区域0需要MD5认证,密码为cisco;区域2需要简单口令认证,密码ccna R1:

router ospf 1

area 0 authentication message-digest

int s0/0

ip ospf message-digest-key 1 md5 cisco

int e1/0

ip ospf message-digest-key 1 md5 cisco

R2:

router ospf 1

area 0 authentication message-digest

int s0/0

ip ospf message-digest-key 1 md5 cisco

int e1/0

ip ospf message-digest-key 1 md5 cisco

exit

int s0/2

ip ospf authentication

ip ospf authentication-key ccna

R4:

int s0/2

ip ospf authentication

ip ospf authentication-key ccna

③R1的s0/0的hello interval 设置为5秒,dead-interval设置为20秒

int s0/0

ip ospf hell-interval 5

ip ospf dead-interval 20

④控制DR选举,使得R2没有机会成为DR.

R2:

int e1/0

ip ospf priority 0

(3)配置RIP V2路由协议,KEYCHAIN名字为CCIE,路由器R1和R5采用MD5验证,key的ID为1,密码为cisco,路由器R4和R6采用明文验证,密码是cisco。

R1:

router rip

version 2

network 192.15.1.0

network 1.1.1.0

no auto-summary

key chain CCIE

key 1

key-string cisco

exit

int e1/1

ip rip authentication key-chain CCIE

R5:

router rip

version 2

network 5.0.0.0

network 192.15.1.0

no auto-summary

key chain CCIE

key 1

key-string cisco

exit

int e1/0

ip rip authentication key-chain CCIE

R4:

router rip

version 2

network 192.46.1.0

no auto-summary

exit

do sh ip route

key chain CCIE

key 1

key-string cisco

exit

int e1/0

ip rip authentication key-chain CCIE

R6:

router rip

version 2

network 192.46.1.0

network 6.6.6.6

no auto-summary

exit

key chain CCIE

key 1

key-string cisco

exit

int e1/0

ip rip authentication key-chain CCIE

(4)配置EIGRP路由协议,采用MD5验证,KEYCHAIN名字为EI,,key的ID为1,密码为cisco,并且关闭自动汇总。

R2:

key chain EI

key 1

key-string cisco

exit

router eigrp 1

network 192.23.1.2 0.0.0.0

no auto-summary

exit

int s0/1

ip authentication mode eigrp 1 md5

ip authentication key-chain eigrp 1 EI

R3:

router eigrp 1

no auto-summary

network 3.3.3.3 0.0.0.0

network 3.3.64.3 0.0.0.0

network 3.3.65.3 0.0.0.0

network 3.3.66.3 0.0.0.0

network 3.3.67.3 0.0.0.0

network 192.23.1.3 0.0.0.0

no auto-summary

exit

key chain EI

key 1

key-string cisco

exit

int s0/1

ip authentication mode eigrp 1 md5

ip authentication key-chain eigrp 1 EI

(5)R1和R5配置EBGP路由协议,用环回接口做更新源,通告R5的L50和L55。在路由器R1上配置BGP属性,使得:

A: L50的as-path属性追加300 400 500

B: L55的起源为EGP 600

C:L50的local-preference值为2000

R1:

Router bgp 100

bgp router-id 1.1.1.1

no synchronization

neighbor 5.5.5.5 remote-as 500

neighbor 5.5.5.5 ebgp-multihop 255

neighbor 5.5.5.5 update-source Loopback0

neighbor 5.5.5.5 route-map BGP in

exit

access-list 50 permit 50.50.50.0

access-list 55 permit 55.55.55.0

route-map BGP permit 10

match ip address 50

set local-preference 2000

set as-path prepend 300 400 500

!

route-map BGP permit 20

match ip address 55

set origin egp 600

R5:

router bgp 500

no synchronization

bgp router-id 5.5.5.5

bgp log-neighbor-changes

network 50.50.50.0 mask 255.255.255.0

network 55.55.55.0 mask 255.255.255.0

neighbor 1.1.1.1 remote-as 100

neighbor 1.1.1.1 ebgp-multihop 255

neighbor 1.1.1.1 update-source Loopback0

no auto-summary

(6)在R1上向OSPF网络注入一条默认路由,并将OSPF网络重分布到BGP中,为了确保网络的

畅通,请在R5上配置一条指向192.15.1.1的默认路由。

R1:

router ospf 1

default-information originate always

router bgp 100

redistribute ospf 1

R5:

ip route 0.0.0.0 0.0.0.0 192.15.1.1

(7)在路由器R2上执行EIGRP和OSPF的双向重分布:

①将EIGRP路由重分布到OSPF时,用route-map实现,第三位为奇数的路由条目,类型为1,度量值为130,第三位为偶数的路由条目,类型为2,度量值为50,其他路由条目采用默认,不做控制。

②将OSPF路由重分布到EIGRP。

R2:

access-list 1 permit 3.3.0.0 0.0.254.0

access-list 2 permit 3.3.1.0 0.0.254.0

route-map test permit 10

match ip address 1

set metric 50

exit

route-map test permit 20

match ip address 2

set metric 130

set metric-type type-1

exit

route-map test permit 30

exit

router ospf 1

redistribute eigrp 1 subnets route-map test

exit

router eigrp 1

redistribute ospf 1 metric 100000 100 255 1 1500

exit

(8)在路由器R4上执行RIP和OSPF的双向重分布,RIP重分布到OSPF参数均采用默认,OSPF重分布到RIP中,metric为5。

R4:

router ospf 1

redistribute rip subnets

exit

router rip

redistribute ospf 1 metric 5

exit

(9)将R6配置成DHCP服务器,具体如下:DHCP:网络:172.1.1.0/24 默认网关:172.1.1.1 域名:https://www.sodocs.net/doc/117025393.html, ,地址排除:172.1.1.1-172.1.1.5(不需要测试)。

R6:

ip dhcp excluded-address 172.1.1.1 172.1.1.5

ip dhcp pool test

network 172.1.1.0 255.255.255.0

default-router 172.1.1.1

domain-name https://www.sodocs.net/doc/117025393.html,

(10)配置RIPng 或者OSPFv3协议,保证IPv6路由通。OSPF v3用MD5或者sha1的验证。

R6:

ipv6 router ospf 1

router-id 6.6.6.6

area 0 authentication ipsec spi 2346 sha1 0123456789012345678901234567890123456789

(11)在R1上配置策略路由,使从R5方向来的HTTP数据流走R1的s0/0接口,使从R5方向来的TELNET和FTP数据流走R1的F2/0接口。

R1:

access-list 110 remark HTTP

access-list 110 permit tcp any any eq www

access-list 120 remark FTP and TELNET

access-list 120 permit tcp any any eq telnet

access-list 120 permit tcp any any eq ftp-data

access-list 120 permit tcp any any eq ftp route-map ABC permit 10

match ip address 110

set interface Serial0/0

exit

route-map ABC permit 20

match ip address 120

set interface Ethernet1/0

exit

int e1/1

ip policy route-map ABC

CCNP闫辉老师讲解【递归路由】实验手册(课堂笔记)

递归路由实验手册 实验要求: ①R1能够R4的4个子网,并且实现路径的冗余备份 ②实现非对称路由:R1的ICMP echo包和R4的ICMP reply包使用不同路径 分析:如果只在R2上配置静态路由: ip route 10.0.1.0 255.255.255.0 f0/1 200.2.2.4 ip route 10.1.1.0 255.255.255.0 f0/1 200.2.2.4 ip route 10.2.1.0 255.255.255.0 f0/1 200.2.2.4 ip route 10.3.1.0 255.255.255.0 f0/1 200.2.2.4 那么如果R2路由down掉,想切换到R3这条链路,必须在R3上进行同样的配置: ip route 10.0.1.0 255.255.255.0 f0/1 200.2.2.4 ip route 10.1.1.0 255.255.255.0 f0/1 200.2.2.4 ip route 10.2.1.0 255.255.255.0 f0/1 200.2.2.4 ip route 10.3.1.0 255.255.255.0 f0/1 200.2.2.4 如果网络中有成百上千条路由条目,进行这样的配置简直能让人疯掉。 ------------------------------------------------------------------------------------------------------------------------------ 下面,我们来尝试在R1直接配置到目标网段的静态路由: ip route 10.0.1.0 255.255.255.0 f0/0 200.2.2.4 ip route 10.1.1.0 255.255.255.0 f0/0 200.2.2.4 ip route 10.2.1.0 255.255.255.0 f0/0 200.2.2.4 ip route 10.3.1.0 255.255.255.0 f0/0 200.2.2.4 此时来查看R1,R2,R3的路由表: R1(config)#do show ip route -------------------------------------------------------------------------------------- Gateway of last resort is not set 1.0.0.0/24 is subnetted, 1 subnets C 1.1.1.0 is directly connected, Loopback0 100.0.0.0/24 is subnetted, 1 subnets C 100.1.1.0 is directly connected, FastEthernet0/0 10.0.0.0/24 is subnetted, 4 subnets S 10.3.1.0 [1/0] via 200.2.2.4, FastEthernet0/0 S 10.2.1.0 [1/0] via 200.2.2.4, FastEthernet0/0 S 10.1.1.0 [1/0] via 200.2.2.4, FastEthernet0/0 S 10.0.1.0 [1/0] via 200.2.2.4, FastEthernet0/0

计算机网络交换路由综合实验报告

交换路由综合实验 1 交换实验 1.1交换机的基本配置 1.1.1实验目的 学会交换机的基本配置,并了解如何查看交换机的系统和配置信息。 1.1.2实验内容 使用交换机的命令行管理界面,学会交换机的全局配置、端口配置方法,察看交换机的系统和配置信息。 1.1.3技术原理 交换机的管理方式基本分两种:带内管理和带外管理。通过交换机的Console口管理交换机属于带外管理,不占用交换机的网络端口,其特点是需要使用配置线缆,近距离配置。第一次配置必须利用Console端口进行。 配置交换机的设备名称和配置交换机的描述信息必须在全局配置模式下执行。Hostname 配置交换机的设备名称,Banner motd配置每日提示信息,Banner login配置交换机的登陆提示信息。 察看交换机的系统和配置信息命令要在特权模式下进,Show ######命令可以察看对应的信息,如Show version可以察看交换机的版本信息,类似可以用Show mac-address-table、Show running-config等。 1.1.4实验功能 更改交换机的提示信息,配置交换机的端口。

1.1.5实验设备 交换机(二层)一台,交换机(二层)一台 1.1.6实验步骤 s21a1#configure terminal s21a1(config)# interface fastethernet 0/3 !进行F0/3的端口模式 s21a1(config-if)#speed 10 !配置端口速率为10M s21a1(config-if)#duplex half !配置端口为半双工模式 s21a1(config-if)#no shutdown !开启该端口,使之转发数据s21a1(config-if)#exit s21a1#show interface fastethernet 0/3 !查看端口的状态 s21a1# show version !查看交换机的版本信息 s35a1#configure terminal s35a1(config)# interface fastethernet 0/3 !进行F0/3的端口模式 s35a1(config-if)#speed 10 !配置端口速率为10M s35a1(config-if)#duplex half !配置端口为半双工模式 s35a1(config-if)#no shutdown !开启该端口,使之转发数据s35a1(config-if)#exit s35a1#show interface fastethernet 0/3 !查看端口的状态 s35a1# show version !查看交换机的版本信息 1.2虚拟局域网VLAN 1.2.1实验目的

实验八:路由综合实验与故障诊断

大连理工大学本科实验报告 课程名称:网络工程实验 学院(系):软件学院 专业:软件工程 班级: 学号: 学生姓名: 2012年05月26日

实验项目列表 序号实验项目名称学时 成绩 指导教师预习操作结果 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 总计学分:

大连理工大学实验报告 学院(系):软件学院专业:软件工程班级:软1011 姓名:学号:组: 6 ___ 实验时间:2012.05.22实验室:C310实验台: 6 指导教师签字:成绩: 实验八:路由综合实验与故障诊断 一、实验目的 在路由器上配置静态路由,RIP协议,OSPF协议,实现路由协议之间的互相引入和网络的连通;通过防火墙来控制访问;学习故障诊断技术。 二、实验原理和内容 1、路由器的基本工作原理 2、配置路由器的方法和命令 3、防火墙的基本原理及配置 4、静态路由,RIP协议,OSPF协议的基本原理及配置 三、实验环境以及设备 4台路由器、4台Pc机、双绞线若干 四、实验步骤(操作方法及思考题) {警告:路由器高速同异步串口(即S口)连接电缆时,无论插拔操作,必须在 路由器电源关闭情况下进行;严禁在路由器开机状态下插拔同/异步串口电缆, 否则容易引起设备及端口的损坏。} 1、请在用户视图下使用“reset saved-configuration”命令和“reboot”命令分别 将4台路由器的配置清空,以免以前实验留下的配置对本实验产生影响。2、在确保路由器电源关闭情况下,按图1组建实验环境。配置路由器各接口和

PC 机的IP 地址,以及配置各PC 机的缺省网关。 202.0.0.2/24202.0.1.2/24 192.0.0.1/24 202.0.0.1/24 S0E0 202.0.3.2/24 交叉线 202.0.1.1/24 E1 202.0.2.1/24E0 202.0.3.1/24E0 192.0.0.2/24 S0 192.0.1.1/24 S1 192.0.1.2/24S0 192.0.2.2/24 交叉线 交叉线 A B C D AR18 AR28 202.0.2.2/24 E1 交叉线 AR18 AR28 E0 192.0.2.1/24交叉线 图 1 3、请执行下列步骤使整个网络连通: (1) 将路由器A, B, C, D 分别命名为RA, RB, RC, RD ,以免在以后操作时 发生混淆;(15分) [Quidway]sysname RA [Quidway]sysname RB [Quidway]sysname RC [Quidway]sysname RD (2) 在RA 与RB 之间封装PPP ,RB 与RC 之间封装Frame Relay ;(20分) 缺省情况下,两台路由器的串口之间使用的就是PPP 协议,故RA 与RB 不需要进行显式配置。 RC 配置为DTE : [RC]interface serial 1/0 [RC-Serial1/0] link-protocol fr [RC-Serial1/0] fr interface-type dte [RC-Serial1/0]shutdown [RC-Serial1/0]undo shutdown RB 配置为DCE : [RB] fr switching [RB]interface serial 1 [RB-Serial1] link-protocol fr [RB-Serial1] fr interface-type dce [RB-Serial1] fr dlci 30 [RB-Serial1]shutdown [RB-Serial1]undo shutdown (3) 在RA 与RB 之间运行路由协议RIP, RB 与RC 之间使用静态路由,

Cisco高级路由综合练习题(ccnp)参考答案

(1)按照要求配置路由器各个端口的IP地址,保证直连链路通。 (2)配置OSPF路由协议,保证OSPF各区域路由正常; ①将区域2配置成nssa区域; R2:area 2 nssa no-sunmmary R4:area 2 nssa ②区域0需要MD5认证,密码为cisco;区域2需要简单口令认证,密码ccna R1: router ospf 1 area 0 authentication message-digest int s0/0 ip ospf message-digest-key 1 md5 cisco int e1/0 ip ospf message-digest-key 1 md5 cisco R2: router ospf 1 area 0 authentication message-digest int s0/0 ip ospf message-digest-key 1 md5 cisco int e1/0 ip ospf message-digest-key 1 md5 cisco exit int s0/2 ip ospf authentication

ip ospf authentication-key ccna R4: int s0/2 ip ospf authentication ip ospf authentication-key ccna ③R1的s0/0的hello interval 设置为5秒,dead-interval设置为20秒 int s0/0 ip ospf hell-interval 5 ip ospf dead-interval 20 ④控制DR选举,使得R2没有机会成为DR. R2: int e1/0 ip ospf priority 0 (3)配置RIP V2路由协议,KEYCHAIN名字为CCIE,路由器R1和R5采用MD5验证,key的ID为1,密码为cisco,路由器R4和R6采用明文验证,密码是cisco。 R1: router rip version 2 network 192.15.1.0 network 1.1.1.0 no auto-summary key chain CCIE key 1 key-string cisco exit int e1/1 ip rip authentication key-chain CCIE R5: router rip version 2 network 5.0.0.0 network 192.15.1.0 no auto-summary key chain CCIE key 1 key-string cisco exit int e1/0 ip rip authentication key-chain CCIE R4: router rip version 2

思科基础实验(中英文对照)CCNA-CCNP实验

目录 实验一路由器基本配置............................................ 错误!未指定书签。实验二静态路由......................................................... 错误!未指定书签。实验三缺省路由......................................................... 错误!未指定书签。实验四静态路由&缺省路由&CDP协议............... 错误!未指定书签。实验五三层交换机实现VLAN间通信................. 错误!未指定书签。实验六Vtp ................................................................... 错误!未指定书签。实验七生成树STP ..................................................... 错误!未指定书签。实验八RIP路由协议1 ............................................. 错误!未指定书签。实验九RIP路由协议2 ............................................. 错误!未指定书签。实验十OSPF单区域1 .............................................. 错误!未指定书签。实验十一OSPF单区域2 ......................................... 错误!未指定书签。实验十二OSPF单区域3 ......................................... 错误!未指定书签。实验十三EIGRP ........................................................ 错误!未指定书签。实验十四ACL标准访问控制列表......................... 错误!未指定书签。

实验四:综合路由配置(1)

实验四:综合路由配置(1) (内容一):路由器RIP 动态路由配置 1. 实验目的 ●掌握RIP协议的配置方法: ●掌握查看通过动态路由协议RIP学习产生的路由; ●熟悉广域网线缆的链接方式; 2. 实验背景 假设校园网通过一台三层交换机连到校园网出口路由器上,路由器再和校园外的另一台路由器连接。现要做适当配置,实现校园网内部主机与校园网外部主机之间的相互通信。为了简化网管的管理维护工作,学校决定采用RIPV2 协议实现互通。 3. 技术原理 RIP(Routing Information Protocols,路由信息协议)是应用较早、使用较普遍的IGP内部网管协议,使用于小型同类网络,是距离矢量协议; RIP 协议跳数作为衡量路径开销的,RIP协议里规定最大跳数为15; RIP 协议有两个版本:RIPv1 和RIPv2,RIPv1 属于有类路由协议,不支持VLSM,以广播形式进行路由信息的更新,更新周期为30 秒;RIPv2属于无类路由协议,支持VLSM,以组播形式进行路由更新。 4.实验步骤 建立packet tracer 拓扑图 (1)在本实验中的三层交换机上划分VLAN10 和VLAN20,其中VLAN10 用于连接校园网主机,VLAN20 用于连接R1。 (2)路由器之间通过V.35 电缆通过串口连接,DCE端连接在R1 上,配置其时钟频率64000。 (3)主机和交换机通过直连线,主机与路由器通过交叉线连接。 (4)在S3560 上配置RIPV2 路由协议。 (5)在路由器R1、R2 上配置RIPV2 路由协议。 (6)将PC1、PC2 主机默认网关设置为与直连网路设备接口IP地址。 (7)验证PC1、PC2 主机之间可以互相同信; 5. 实验设备 PC 2 台;Switch_3560 1 台;Router-PT 2 台;直连线;交叉线;DCE 串口线

CCNP之OSPF实验案例

CCNP之OSPF实验案例 实验要求: 1、总部和分部之间通过帧中继实现互访,协议要求采用OSPF。要求帧中继不能动态获取映射,也不能静态配置映射 2、配置好OSPF协议,验证邻居建立 3、确保整个内网全网可达 4、确保骨干区域高安全性 5、尽量减少网关路由表条目 6、R1、R3、R9性能不足,尽量减少其路由条目 7、确保总部和分部都只通过自己的ISP上网 8、不能出现主机路由 实验拓扑: 实验步骤: 1、帧中继的配置: 由于不能配置帧中继动态和静态映射,所以只能采用点对点子接口模式进行配置,在接口下声明自己的DLCI。其中R5的Route-ID是1.1.1.1,R6的Route-ID是2.2.2.2。由于是点对点连接 ,所以不存在DR和BDR。 FR-SW:

FR-SW(config)#frame-relay switching FR-SW(config)#int s0/0 FR-SW(config)#no shut FR-SW(config-if)#encapsulation frame-relay FR-SW(config-if)#clock rate 64000 FR-SW(config-if)#frame-relay intf-type dce FR-SW(config-if)#frame-relay route 102 int s0/1 201 FR-SW(config)#int s0/1 FR-SW(config)#no shut FR-SW(config-if)#encapsulation frame-relay FR-SW(config-if)#clock rate 64000 FR-SW(config-if)#frame-relay intf-type dce FR-SW(config-if)#frame-relay route 201 int s0/0 102 R5: R5(config)#int s2/1 R5(config-if)#no shut R5(config-if)#encapsulation frame-relay R5(config)#int s2/1.1 point-to-point R5(config-subif)#ip add 172.16.10.1 255.255.255.0 R5(config-subif)#frame-relay int-dlci 102 R5(config-subif)#no frame-relay inverse-arp R6: R6(config)#int s1/1 R6(config-if)#no shut R6(config-if)#encapsulation frame-relay R6(config-if)#ip add 172.16.10.2 255.255.255.0 R6(config-if)# frame-relay int-dlci 201 R6(config-if)#no frame-relay inverse-arp 测试帧中继连接情况: FR-SW#show frame-relay rou Input Intf Input Dlci Output Intf Output Dlci Status Serial0/0 102 Serial0/1 201 active Serial0/1 201 Serial0/0 102 active R6#show ip ospf int Serial1/1.1 is up, line protocol is up Internet Address 172.16.10.2/24, Area 0 Process ID 1, Router ID 2.2.2.2, Network Type POINT_TO_POINT, Cost: 64 Transmit Delay is 1 sec, State POINT_TO_POINT, Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 oob-resync timeout 40 Hello due in 00:00:09 Supports Link-local Signaling (LLS) Index 1/1, flood queue length 0

CCNP交换综合实验

CCNP 交换综合实验 要求: 1、SW1、SW 2、SW3 创建 VTP,SW1、SW2 为 Server,SW3 为 Client 且 domain 为 CCNP,password为cisco 2、SW1为vlan10的根桥,SW2为vlan20的根桥,并创建以太通道 3、R4做为DHCP服务器为vlan10、vlan20分配地址,SW1、SW2做DHCP中继 4、Vrrp 实行网关冗余,vlan10:172.16.10.254 ,vlan20:172.16.20.254, 且SW1要求对vlan10使用ip sla追踪上行链路,抢夺时要少丢包 5、C1连接本地网卡做ISATAP访问R5后的IPV6 网络, R6模拟PC, C2桥接vpcs 6、SW1开启syslog日志服务器 配置: 首先SW3: SW3(config)#interface range f0/2 -3 SW3(config-if-range)#switchport trunk encapsulation dot1q SW3(config-if-range)#switchport mode trunk (封装Trunk) SW3(config-if-range)#no shutdown

SW3(config)#vtp domain CCNP SW3(config)#vtp mode client (VTP配置) SW3(config)#vtp password cisco SW3(config)#interface f0/0 SW3(config-if)#switchport mode access SW3(config-if)#switchport access vlan 10 SW3(config-if)#spanning-tree portfast SW3(config-if)#no shutdown SW3(config)#interface f0/1 SW3(config-if)#switchport mode access SW3(config-if)#switchport access vlan 20 SW3(config-if)#spanning-tree portfast SW3(config-if)#no shutdown SW1: SW1(config)#interface f0/0 SW1(config-if)#switchport trunk encapsulation dot1q SW1(config-if)#switchport mode trunk SW1(config-if)#no shutdown SW1(config)#interface range f0/9 -10 SW1(config-if-range)#shutdown SW1(config-if-range)#switchport trunk encapsulation dot1q SW1(config-if-range)#switchport mode trunk SW1(config-if-range)#channel-group 1 mode on (创建以太通道) SW1(config-if-range)#no shutdown SW1(config)#vtp domain CCNP SW1(config)#vtp mode server SW1(config)#vtp password cisco (VTP) SW1(config)#vlan 10 SW1(config)#vlan 20 SW1(config)#spanning-tree vlan 10 root primary(设置此交换机为 vlan10的根桥) SW1(config)#interface f0/1 SW1(config-if)#no switchport SW1(config-if)#ip address 172.16.0.1 255.255.255.252 SW1(config-if)#no shutdown SW1(config)#ip routing SW1(config)#interface vlan 10 SW1(config-if)#ip address 172.16.10.253 255.255.255.0 SW1(config-if)#no shutdown SW1(config-if)#ip helper-address 172.16.0.2 (DHCP中继) SW1(config-if)#vrrp 1 ip 172.16.10.254 (虚拟网关为172.16.10.254) SW1(config-if)#vrrp 1 priority 120(默认为100, 设置为120是让此端成为Master) SW1(config-if)#vrrp 1 preempt (默认开启)

(整理)cisco实训项目案例(路由交换篇)_CCNA_CCNP_CCIE_实验项目.

精品文档 精品文档实验1 路由器基础命令回顾 一、实验目的 通过本节的练习回顾、熟悉一期课程中涉及到的路由器的相关指令。掌握路由器的基础配置。 二、实验需要的知识点 一期路由器的基础知识。 三、实验步骤 1、改写主机名。把路由器的主机名改成:RouterA.。 在全局模式下使用指令的关键字:hostname name 2、配置密码。进入特权模式的密码为cisco。配置控制台的密码:cisco 配置远程登录的密码:cisco 在全局模式下使用指令的关键字:enable password password 在全局模式下使用指令的关键字:line vty 0 4 login password password 在全局模式下使用指令的关键字:line console 0 login password password 3、配置时钟。在全局模式下使用指令的关键字:clock set hh::mm::ss mm:dd:yy 4、配置接口ip地址。在路由器的环回接口配置ip地址:1.1.1.1/24。在e0 接口上配置ip地址:192.1.1.1/24 在全局模式下使用指令的关键字:interface interface 在接口模式下使用指令的关键字:ip address ip address mask 5、退出,有三种方法。end exit logout 6、保存配置,有两种方法。copy running-config stratup-config write 7、停止域名解析查询。在全局模式下使用指令的关键字:no ip domain lookup 四、检测 在特权模式下使用:show version 2、在特权模式下使用:show interface {interface}

3个路由下的ospf简单实验(适合初学)

Router0(config-router)#network 192.168.1.0 255.255.255.0 area 1 Router0(config-router)#network 192.168.2.0 255.255.255.0 area 1 Router0# %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up 00:19:52: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.3.1 on FastEthernet0/0 from LOADING to FULL, Loading Done ------------------------------------------------------------------------------- Router1(config-router)#network 192.168.3.0 255.255.255.0 area 1 Router1(config-router)#network 192.168.2.0 255.255.255.0 area 1 Router# %SYS-5-CONFIG_I: Configured from console by console 00:19:50: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.2.1 on FastEthernet0/0 from LOADING to FULL, Loading Done %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up 00:40:43: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.4.1 on FastEthernet0/1 from LOADING to FULL, Loading Done --------------------------------------------------------------------------------

最新CCNP实验手册_完整版

新版CCNP实验手册 根据新版CCNP(路由,交换,排错)教材编写作者:罗洋CCIE NO.25318

目录 第01章EIGRP (7) 1.1 EIGRP回顾 (7) 1.1.1 实验目的 (7) 1.1.2 实验拓扑 (7) 1.1.3 实验步骤 (7) 1.1.4 实验验证 (9) 1.2 EIGRP邻居关系 (12) 1.2.1实验目的 (12) 1.2.2 实验拓扑 (12) 1.2.3 实验步骤 (12) 1.3 EIGRP拓扑,路由以及汇聚 (17) 1.3.1实验目的 (17) 1.3.2 实验拓扑 (17) 1.3.3 实验步骤 (17) 1.4 EIGRP路由过滤和汇总,以及默认路由 (25) 1.4.1 实验目的 (25) 1.4.2 实验拓扑 (25) 1.4.3 实验步骤 (25) 第02章OSPF (33) 2.1 OSPF回顾 (33) 2.1.1 实验目的 (33) 2.1.2 实验拓扑 (33) 2.1.3 实验步骤 (33) 2.2 OSPF邻居关系 (39) 2.2.1 实验目的 (39) 2.2.2 实验拓扑 (39) 2.2.3 实验步骤 (39) 2.3 OSPF的LSA和路由选择 (49) 2.3.1 实验目的 (49) 2.3.2 实验拓扑 (49) 2.3.3 实验步骤 (49) 2.4 OSPF路由过滤,路由汇总,默认路由及末节区域 (59) 2.4.1 实验目的 (59) 2.4.2 实验拓扑 (59) 2.4.3 实验步骤 (59) 2.5 OSPF虚拟链路 (71) 2.5.1 实验目的 (71) 2.5.2 实验拓扑 (71) 2.5.3 实验步骤 (71) 第03章路由控制 (76) 3.1 路由重分布 (76) 3.1.1 实验目的 (76)

路由交换综合实验

第6章实验(五)综合组网实验 6.1 实验目的 1. 进一步掌握交换机的配制方法。 2. 进一步掌握路由器的基本配置方法。 3. 了解服务器的配置方法,掌握包含交换机、路由器、服务器和一般PC的网络配置方法。 6.2实验内容 1. 使用Packet Tracer模拟器规划、设计及搭建一个小型单位的网络,其中包含8台PC(至少)、一台Web和FTP服务器和两个路由、两个交换(至少)组成,并且划分为4个VLAN(至少)。 2. 综合利用所学知识了解以上网络进行IP地址规划、网络拓扑规划、相关设备的配置方法。 3. 对上述网络进行配置并验证,总结实验过程。 6.3 实验要求 使用Packet Tracer模拟器搭建实验拓扑,并对交换机、路由器、PC和服务器进行相应配置,配置最后结果,能实现PC之间的ping互通,能通过PC的浏览器访问服务器网站。

1.上图是给出的示例拓扑,同学们也可以自己构建 2.注意PC机的网关地址按照:PC1:172.15.15.1、PC2:172.16.16.1………… 3.本拓扑是对前两次实验的综合,主要包括: 3.1:R1、SW1:路由器子接口、交换机TRUNK、VLAN建立 3.2:R2、SW2:路由器接口设置、VLAN建立 3.3:SW3、SW4:交换机TRUNK、VLAN建立 3.4:SW5:三层交换机端口IP设置、VLAN接口地址配置 6.4 实验步骤 Step1:完成网络规划设计,给出两种不同的规划设计方案和测试方案 Step2:Packet Tracer模拟器搭建实验拓扑,并完成相关设备的IP地址分配Step3:路由器及交换机基本配置 Step4:VLAN配置 Step5:路由器动态路由协议配置 Step6:服务器配置 Step7:按测试方案完成测试,给出测试评价

实验8:路由综合实验及故障诊断

实验项目列表 实验八:路由综合实验与故障诊断 一、实验目的 在路由器上配置静态路由,RIP协议,OSPF协议,实现路由协议之间的互相引入和网络的连通;通过防火墙来控制访问;学习故障诊断技术。

二、实验原理和内容 1、路由器的基本工作原理 2、配置路由器的方法和命令 3、防火墙的基本原理及配置 4、静态路由,RIP协议,OSPF协议的基本原理及配置 三、实验环境以及设备 4台路由器、4台Pc机、双绞线若干 四、实验步骤(操作方法及思考题) {警告:路由器高速同异步串口(即S口)连接电缆时,无论插拔操作,必须在路由器电源关闭情况下进行;严禁在路由器开机状态下插拔同/异步串口电缆,否则容易引起设备及端口的损坏。} 1、请在用户视图下使用“reset saved-configuration”命令和“reboot”命令分别 将4台路由器的配置清空,以免以前实验留下的配置对本实验产生影响。2、在确保路由器电源关闭情况下,按图1组建实验环境。配置路由器各接口和 PC机的IP地址,以及配置各PC机的缺省网关。 图 1 3、请执行下列步骤使整个网络连通: (1)将路由器A, B, C, D分别命名为RA, RB, RC, RD,以免在以后操作时发生混淆;(15分) [H3C]sysname RA [H3C]sysname RB [H3C]sysname RC(我) [H3C]sysname RD (2)在RA与RB之间封装PPP,RB与RC之间封装Frame Relay;(20分)因为缺省情况下,两台路由器的串口之间使用的就是PPP协议,所 以RA和RB之间不需要设置 RB与RC之间封装Frame Relay: 在此我们将RC设为DTE,将RB设为DCE: RC配置命令: [RC]interface serial2/0 [RC-Serial2/0] link-protocol fr [RC-Serial2/0] fr interface-type dte [RC-Serial2/0]shutdown [RC-Serial2/0]undo shutdown RB配置命令: [RB] fr switching [RB]interface serial1/0

ccnp交换综合实验(有图有配置) 精

实验要求: 在交换机上面配置VLAN,TRUNK,VTP,STP,SPANNING TREE PORTFAST(速端口)和UPLINKFAST(上行速链路). 在路由器上面配置单臂路由实现不同VLAN 之间通讯,配置双向HSRP 热备份组,实现负载均衡. 配置部分: 1.SW1 配置: SW1#vlan database SW1(vlan)#vlan 2 SW1(vlan)#vlan 3 SW1(vlan)#vtp server SW1(vlan)#vtp domain sy SW1(vlan)#vtp password cisco SW1(vlan)#vtp pruning SW1(vlan)#exit

SW1(config)#int rang f0/1 - 5 SW1(config-if-range)#switchport mode trunk SW1(config-if-range)#exit SW1(config)#int range f0/3 - 4 SW1(config-if-range)#channel-group 1 mode on // 配置以太通道SW1(config-if-range)#end 2.SW2 配置: SW2#vlan database SW2(vlan)#vtp server SW2(vlan)#vtp domain sy SW2(vlan)#vtp password cisco SW2(vlan)#exit SW2#conf t SW2(config)#int range f0/1 - 5 SW2(config-if-range)#switchport mode trunk SW2(config-if-range)#exit SW2(config)#int range f0/3 - 4 SW2(config-if-range)#channel-group 1 mode on // 配置以太通道SW2(config-if-range)#end 3.SW3 配置: SW3#vlan database SW3(vlan)#vtp client SW3(vlan)#vtp domain sy SW3(vlan)#vtp password cisco SW3(vlan)#exit SW3#conf t SW3(config)#int rang f0/1 -2 SW3(config-if-range)#int rang f0/1 - 2 SW3(config-if-range)#switchport mode trunk SW3(config-if-range)#end 4.SW4 配置: SW4#vlan database SW4(vlan)#vtp client SW4(vlan)#vtp domain sy SW4(vlan)#vtp password cisco SW4(vlan)#exit SW4#conf t

路由交换综合配置实验

路由交换综合基本实验 实验名称:路由交换综合配置实验 实验目的:掌握路由器和交换机的基本配置、交换机上VLAN的划分、单臂路由协议实现VLAN间通信、动态路由协议配置、路由重分发的 配置、DHCP中继代理配置、服务器配置等。 实验环境:构建如下网络拓扑结构图。 实验步骤: 按要求配置好后全网所有PC机、服务器之间均可相互通信。 1、按下图的拓朴结构选择设备并连接,对各设备的参数(IP地址等)进行 规划并标注。这一步非常关键!要做到所有的IP地址心中有数! 2、配置各PC机和服务器的IP地址。 (略)这一步非常关键!要做到所有的IP地址心中有数! 3、配置各服务器的服务配置,配置DHCP服务器IP地址池分配地址范围为 192.168.110.50/24~192.168.110.100/24,默认网关为192.168.110.254,DNS

服务器为192.168.100.2。 4、交换机VLAN的配置将交换机SW0和交换机SW1的端口Fa0/1~Fa0/10 分别划分到VLAN 10;将交换机SW0和交换机SW1的端口Fa0/11~Fa0/20分别划分到VLAN 20,并配置两个交换机之间的端口类型为trunk。 1)交换机SW0的配置如下:

2)交换机SW1上的配置相类似。略! 5、路由器R1上配置单臂路由,使得VLAN 10和VLAN 20的PC机能互相 通信,配置命令如下: 注:在配置之前要将交换机SW0的F0/24端口设置为TRUNK模式 6、R1和R0之间配置RIP路由协议;在R2和R0之间配置OSPF路由协议, 配置好后显示路由协议信息。 1)路由器R0的配置: 2)路由器R1上的配置:

ROUTE Path Control综合实验

CCNP ROUTE Path Control综合实验 一、实验拓扑: 二、IP地址规划: 1、拓扑中的IP地址段采用:172.8.AB.X/24: 其中AB为两台路由器编号组合,例如:R3-R6之间的AB为36,X为路由器编号,例如R3的X=3 2、所有路由器都有一个loopback 0接口,地址格式为:X.X.X.X/24,其中X的含义同1 描述。 3、各区网段为XX.XX.XX.0/24,A1网段为55.55.55.0/24和A2网段为55.55.66.0/24。 4、如无明确说明,可以按照规定范围的IP配置IP地址。 三、实验需求: 所有区均用loopback 10模拟(其中A1区采用loopback 1,A2区采用loopback 2);地址写法遵守实验规则写法;如无明确说明,禁止使用静态路由,禁止出现主机路由,禁止直接使用ACL过滤数据:

1 、连通:R2、R4做双向重分布,R6把RIP重分布到EIGRP,在重分布到EIGRP时metric 值一致;关闭所有自动汇总,OSPF指明RID为loopback0,要求全网ping通。 R1(config)#router ospf 100 R1(config-router)#router-id 1.1.1.1 R1(config-router)#network 11.11.11.0 0.0.0.255 area 1 R1(config-router)#network 172.8.12.0 0.0.0.255 area 0 R1(config-router)#network 172.8.14.0 0.0.0.255 area 3 R2(config)#router ospf 100 R2(config-router)#router-id 2.2.2.2 R2(config-router)#network 172.8.12.0 0.0.0.255 area 0 R2(config-router)#network 22.22.22.0 0.0.0.255 area 0 R2(config-router)#redistribute rip subnets R2(config)#router rip R2(config-router)#version 2 R2(config-router)#network 172.8.23.0 R2(config-router)#no auto-summary R2(config-router)#redistribute ospf 100 metric 3 R3(config)#router rip R3(config-router)#version 2 R3(config-router)#network 172.8.23.0 R3(config-router)#network 172.8.36.0 R3(config-router)#network 33.33.33.0 R3(config-router)#no auto-summary

相关主题