主頁 > 前端設計 > 銳捷網路技能大賽-2019年國賽真題[2019年全國職業技能大賽高職組計算機網路應用賽項真題-H卷]路由交換部分答案詳解

銳捷網路技能大賽-2019年國賽真題[2019年全國職業技能大賽高職組計算機網路應用賽項真題-H卷]路由交換部分答案詳解

2020-10-11 02:55:18 前端設計

銳捷網路技能大賽-2019年國賽真題[2019年全國職業技能大賽高職組計算機網路應用賽項真題-H卷]路由交換部分答案詳解

這是銳捷網路技能大賽-2019年國賽真題[2019年全國職業技能大賽高職組計算機網路應用賽項真題-H卷]路由交換部分答案

相關連接:
銳捷網路技能大賽-2018年國賽真題[2018年全國職業技能大賽高職組計算機網路應用賽項真題-I卷]路由交換部分答案詳解

各網路設備均開啟SSH服務,用戶名密碼分別為admin、ruijie123,特權密碼為ruijie123;
R1:

FZ2-RSR20-R1(config)#username admin password ruijie123
FZ2-RSR20-R1(config)#enable service ssh-server 
FZ2-RSR20-R1(config)#enable password ruijie123
FZ2-RSR20-R1(config)#line vty 0 4
FZ2-RSR20-R1(config-line)#login local 
FZ2-RSR20-R1(config-line)#transport in ssh 
FZ2-RSR20-R1(config-line)#exit

管理員計劃增設網管平臺,平臺IP規劃為172.16.0.254,為了網管平臺后期上線后可用,需要在每臺設備上部署SNMP功能,配置所有設備SNMP訊息,向主機172.16.0.254發送Trap訊息版本采用V2C,讀寫的Community為“ruijie”,只讀的Community為“public”,開啟Trap訊息,
R1:

FZ2-RSR20-R1(config)#snmp-server host 172.16.0.254 traps version 2c ruijie
FZ2-RSR20-R1(config)#snmp-server host 172.16.0.254 traps version 2c public
FZ2-RSR20-R1(config)#snmp-server enable traps
FZ2-RSR20-R1(config)#snmp-server community ruijie rw
FZ2-RSR20-R1(config)#snmp-server community public ro

1.MSTP及VRRP部署
在交換機S1、S2、S3、S4上配置MSTP防止二層環路;要求VLAN10、VLAN20資料流經過S3轉發,S3失效時經過S4轉發;VLAN50、VLAN60、VLAN100資料流經過S4轉發,S4失效時經過S3轉發,所配置的引數要求如下:
region-name為ruijie;
revision版本為1;
實體1包含VLAN10,VLAN20;
實體2包含VLAN50,VLAN60,VLAN100;
S3作為實體1的主根、實體2的從根, S4作為實體2的主根、實體1的從根;
主根優先級為4096,從根優先級為8192;

例S4配置:

FZ1-S5750-S4(config)#spanning-tree mst configuration
FZ1-S5750-S4(config-mst)# revision 1
FZ1-S5750-S4(config-mst)# name ruijie     
FZ1-S5750-S4(config-mst)# instance 1 vlan 10, 20
%Warning:you must create vlans before configuring instance-vlan relationship.
FZ1-S5750-S4(config-mst)# instance 2 vlan 50, 60, 100
%Warning:you must create vlans before configuring instance-vlan relationship.
FZ1-S5750-S4(config)#spanning-tree mst 1 priority 8192
FZ1-S5750-S4(config)#spanning-tree mst 2 priority 4096
FZ1-S5750-S4(config)#spanning-tree
Enable spanning-tree.

S3、S4連接接入交換機S1、S2的介面啟用TC-IGNORE功能,規避接入設備頻繁的網路震蕩;

FZ1-S5750-S4(config)#interface GigabitEthernet 0/1
FZ1-S5750-S4(config-if-GigabitEthernet 0/1)# spanning-tree ignore tc
FZ1-S5750-S4(config-if-GigabitEthernet 0/1)#interface GigabitEthernet 0/2
FZ1-S5750-S4(config-if-GigabitEthernet 0/2)# spanning-tree ignore tc:
FZ1-S5750-S4(config-if-GigabitEthernet 0/2)#exi

在S3和S4上配置VRRP,實作主機的網關冗余,所配置的引數要求如表11;
S3、S4各VRRP組中高優先級設定為150,低優先級設定為120,

FZ1-S5750-S4(config)#int vlan 10
FZ1-S5750-S4(config-if-VLAN 10)# vrrp 10 ip 192.1.10.254
FZ1-S5750-S4(config-if-VLAN 10)# vrrp 10 priority 120
FZ1-S5750-S4(config-if-VLAN 10)#int vlan 20
FZ1-S5750-S4(config-if-VLAN 20)# vrrp 20 ip 192.1.20.254
FZ1-S5750-S4(config-if-VLAN 20)# vrrp 20 priority 120
FZ1-S5750-S4(config-if-VLAN 20)#int vlan 50
FZ1-S5750-S4(config-if-VLAN 50)# vrrp 50 ip 192.1.50.254
FZ1-S5750-S4(config-if-VLAN 50)# vrrp 50 priority 150
FZ1-S5750-S4(config-if-VLAN 50)#int vlan 60
FZ1-S5750-S4(config-if-VLAN 60)# vrrp 60 ip 192.1.60.254
FZ1-S5750-S4(config-if-VLAN 60)# vrrp 60 priority 150
FZ1-S5750-S4(config-if-VLAN 60)#int vlan 100
FZ1-S5750-S4(config-if-VLAN 100)# vrrp 100 ip 192.1.100.254
FZ1-S5750-S4(config-if-VLAN 100)# vrrp 100 priority 150
FZ1-S5750-S4(config-if-VLAN 100)#exi

為提升冗余性,交換機S3與S4之間的2潭訓聯鏈路(Gi0/22、Gi0/23)配置二層鏈路聚合,采取LACP動態聚合模式,

FZ1-S5750-S4(config)#int aggregatePort 1
FZ1-S5750-S4(config-if-AggregatePort 1)#switchport mode trunk 
FZ1-S5750-S4(config-if-AggregatePort 1)#switchport trunk allowed vlan 10,20,50,60,100
FZ1-S5750-S4(config-if-AggregatePort 1)#exi
FZ1-S5750-S4(config)#int r gi0/22 -23
FZ1-S5750-S4(config-if-range)#port-group 1 mode active

1.DHCP中繼與服務安全部署
在交換機S3、S4上配置DHCP中繼,對局域網的終端進行地址中繼,使得終端用戶使用DHCP Relay方式獲取IP地址,具體要求如下:
DHCP服務器搭建于EG1上,DHCP對外服務使用loopback 0地址;

EG1配置:

FZ1-EG2000-EG1(config)#ip dhcp excluded-address 192.1.60.252 192.1.60.254
FZ1-EG2000-EG1(config)#ip dhcp excluded-address 192.1.50.252 192.1.50.254
FZ1-EG2000-EG1(config)#ip dhcp pool AP
FZ1-EG2000-EG1(dhcp-config)#option 138 ip 10.2.1.6
FZ1-EG2000-EG1(dhcp-config)#network 192.1.50.0 255.255.255.0
FZ1-EG2000-EG1(dhcp-config)#default-router 192.1.50.254
FZ1-EG2000-EG1(dhcp-config)#exi
FZ1-EG2000-EG1(config)#ip dhcp pool yonghu
FZ1-EG2000-EG1(dhcp-config)#network 192.1.60.0 255.255.255.0
FZ1-EG2000-EG1(dhcp-config)#default-router 192.1.60.254     
FZ1-EG2000-EG1(dhcp-config)#exi

S3/S4配置:

FZ1-S5750-S4(config)#service dhcp 
FZ1-S5750-S4(config)#ip helper-address 10.1.0.1

為了減少網路廣播,需要規劃和配置VLAN,要求如下:
配置合理,Trunk鏈路上不允許不必要VLAN的資料流通過;
為隔離終端間的二層互訪,在交換機S1、S2的Gi0/1-Gi0/22埠啟用埠保護;

S1:

FZ1-S2910-S1(config)#int r gi0/1-22
FZ1-S2910-S1(config-if-range)#switchport protected
interface GigabitEthernet 0/21
 switchport protected
 switchport mode trunk
 switchport trunk native vlan 50
 switchport trunk allowed vlan only 50,60
!
interface GigabitEthernet 0/22
 switchport protected
 switchport mode trunk
 switchport trunk allowed vlan only 60,100
!
interface GigabitEthernet 0/23
 switchport mode trunk
 switchport trunk allowed vlan only 10,20,50,60,100
!
interface GigabitEthernet 0/24
 switchport mode trunk
 switchport trunk allowed vlan only 10,20,50,60,100

S2:

FZ1-S2910-S2(config)#int r gi0/1-22
FZ1-S2910-S2(config-if-range)#switchport protected
interface GigabitEthernet 0/21
 switchport protected
 switchport mode trunk
 switchport trunk native vlan 50
 switchport trunk allowed vlan only 50,60
!
interface GigabitEthernet 0/22
 switchport protected
 switchport mode trunk
 switchport trunk allowed vlan only 60,100
!
interface GigabitEthernet 0/23
 switchport mode trunk
 switchport trunk allowed vlan only 10,20,50,60,100
!
interface GigabitEthernet 0/24
 switchport mode trunk
 switchport trunk allowed vlan only 10,20,50,60,100

局域網環路規避方案部署
為規避網路末端接入設備上出現環路影響全網,要求在接入設備S1、S2進行防環處理,具體要求如下:
連接PC埠開啟Portfast和BPDUguard防護功能;
為防止接入交換機下聯埠私接HUB設備引起環路,需要啟用RLDP協議;
終端介面檢測到環路后處理方式為 Shutdown-Port;
埠檢測進入 Err-Disabled狀態,設定 300 秒自動恢復機制(基于介面部署策略)

S1:

FZ1-S2910-S1(config)#int r gi0/1-20
FZ1-S2910-S1(config-if-range)#spanning-tree bpduguard enable
FZ1-S2910-S1(config-if-range)# ip verify source port-security
FZ1-S2910-S1(config-if-range)# spanning-tree portfast 
FZ1-S2910-S1(config-if-range)#rldp port loop-detect shutdown-port
FZ1-S2910-S1(config-if-range)#errdisable recovery interval 300
FZ1-S2910-S1(config-if-range)#exit
FZ1-S2910-S1(config)#rldp enable

S2:

FZ1-S2910-S2(config)#int r gi0/1-20
FZ1-S2910-S2(config-if-range)#spanning-tree bpduguard enable
FZ1-S2910-S2(config-if-range)#rldp port loop-detect shutdown-port
FZ1-S2910-S2(config-if-range)#errdisable recovery interval 300
FZ1-S2910-S1(config-if-range)# ip verify source port-security
FZ1-S2910-S1(config-if-range)# spanning-tree portfast 
FZ1-S2910-S2(config-if-range)#exit
FZ1-S2910-S2(config)#rldp enable

為了防御局域網偽造DHCP服務器與ARP欺騙,在S1、S2交換機部署DHCP Snooping+DAI功能,DAI針對VLAN10與VLAN20啟用ARP防御;
S1:

FZ1-S2910-S1(config)# ip dhcp snooping
FZ1-S2910-S1(config)#ip arp inspection vlan 10
FZ1-S2910-S1(config)#ip arp inspection vlan 20
FZ1-S2910-S1(config)#int r gi0/23-24
FZ1-S2910-S1(config-if-range)#ip dhcp snooping trust
FZ1-S2910-S1(config-if-range)#ip arp inspection trust

S2:

FZ1-S2910-S2(config)#service dhcp
FZ1-S2910-S2(config)#ip arp inspection vlan 10
FZ1-S2910-S2(config)#ip arp inspection vlan 20
FZ1-S2910-S2(config)#int r gi0/23-24
FZ1-S2910-S2(config-if-range)#ip dhcp snooping trust
FZ1-S2910-S2(config-if-range)#ip arp inspection trust

為了防止大量網關發送的正常的相關報文被接入交換機誤認為是攻擊被丟棄,從而導致下聯用戶無法獲取網關的ARP資訊而無法上網,要求關閉S1/S2上聯口的NFPP arp-guard功能;
S1:

FZ1-S2910-S1(config)#int r gi0/23-24
FZ1-S2910-S1(config-if-range)#no nfpp nd-guard enable

S2:

FZ1-S2910-S2(config)#int r gi0/23-24
FZ1-S2910-S2(config-if-range)#no nfpp nd-guard enable

調整S1、S2設備CPU保護機制中ARP帶寬為1000pps,
S1:

FZ1-S2910-S1(config)#cpu-protect type arp bandwidth 1000

S2:

FZ1-S2910-S2(config)#cpu-protect type arp bandwidth 1000

規劃S6和S7間的Te0/49-50埠作為VSL鏈路,使用VSU技術實作網路設備虛擬化,其中S6為主,S7為備;
規劃S6和S7間的Gi0/47埠作為雙主機檢測鏈路,配置基于BFD的雙主機檢測,當VSL的所有物理鏈路都例外斷開時,備機會切換成主機,從而保障網路正常;
主設備:Domain id:1,switch id:1,priority 150, description: S6000-1;
備設備:Domain id:1,switch id:2,priority 120, description: S6000-2,

主設備:

Ruijie(config)#switch virtual domain 1
Ruijie(config-vs-domain)#switch 1 priority 150
Ruijie(config-vs-domain)#switch 1 description S6000-1
Ruijie(config-vs-domain)#exi
Ruijie(config)#vsl-port 
Ruijie(config-vsl-port)#port-member interface tenGigabitEthernet 0/49
Ruijie(config-vsl-port)#port-member interface tenGigabitEthernet 0/50
Ruijie(config-vsl-port)#end
*Jun 22 09:53:29: %SYS-5-CONFIG_I: Configured from console by console
Ruijie#
Ruijie#wr
Ruijie#switch convert mode virtual
Convert mode will backup and delete config file, and reload the switch. Are you sure to continue[yes/no]:y

備設備:

Ruijie(config)#switch virtual domain 1
Ruijie(config-vs-domain)#switch 2 priority 120
Ruijie(config-vs-domain)#switch 2 description S6000-2
Ruijie(config-vs-domain)#exi
Ruijie(config)#vsl-port 
Ruijie(config-vsl-port)#port-member interface tenGigabitEthernet 0/49
Ruijie(config-vsl-port)#port-member interface tenGigabitEthernet 0/50
Ruijie(config-vsl-port)#end
*Jun 22 09:53:29: %SYS-5-CONFIG_I: Configured from console by console
Ruijie#
Ruijie#wr
Ruijie#switch convert mode virtual
Convert mode will backup and delete config file, and reload the switch. Are you sure to continue[yes/no]:y

BFD檢測:

Ruijie (config)#int r gi1/0/47 , 2/0/47
Ruijie (config-if-range)#no switchport 
Ruijie (config-if-range)#exi
Ruijie (config)#switch virtual domain 1
Ruijie (config-vs-domain)#dual-active detection bfd 
Ruijie (config-vs-domain)# dual-active bfd interface gigabitEthernet 1/0/47             
Ruijie (config-vs-domain)# dual-active bfd interface gigabitEthernet 2/0/47

1.AC冗余部署
為了提升冗余性,兩臺AC使用虛擬化方案VAC技術組合成1臺虛擬AC;
規劃AC1和AC2間的Gi0/4-5埠作為VSL鏈路,其中AC1為主,AC2為備;
規劃AC1和AC2間的Gi0/3埠作為雙主機檢測鏈路,配置基于BFD的雙主機檢測,當VSL的所有物理鏈路都例外斷開時,備機會切換成主機,從而保障網路正常;
主設備:Domain id:1,device id:1,priority 150, description: AC-1;
備設備:Domain id:1,device id:2,priority 120, description: AC-2;

主設備:

Ruijie(config)#virtual-ac domain 1
Ruijie(config-vac-domain)#device 1 priority 150
Ruijie(config-vac-domain)#device 1 description AC-1
Ruijie(config-vac-domain)#exi
Ruijie(config)#vac-port 
Ruijie(config-vac-port)#port-member interface gigabitEthernet 0/4
Ruijie(config-vac-port)#port-member interface gigabitEthernet 0/5
Ruijie(config-vac-port)#exi
Ruijie(config)#end
*Jun 23 10:48:10: %SYS-5-CONFIG_I: Configured from console by console
Ruijie#wr
Ruijie#device convert mode virtual 
Convert mode will backup and delete config file, and reload the switch. Are you sure to continue[yes/no]:y

備設備:

Ruijie(config)#virtual-ac domain 1
Ruijie(config-vac-domain)#device 2 priority 120
Ruijie(config-vac-domain)#device 2 description AC-2
Ruijie(config-vac-domain)#exi
Ruijie(config)#vac-port 
Ruijie(config-vac-port)#port-member interface gigabitEthernet 0/4
Ruijie(config-vac-port)#port-member interface gigabitEthernet 0/5
Ruijie(config-vac-port)#end
*Jun 23 10:51:45: %SYS-5-CONFIG_I: Configured from console by console
Ruijie#wr
Ruijie#device convert mode virtual 
Convert mode will backup and delete config file, and reload the switch. Are you sure to continue[yes/no]:y

BFD檢測:

Ruijie(config)#int r gi1/0/3 , 2/0/3
Ruijie(config-if-range)#no switchport 
Ruijie(config-if-range)#exi
Ruijie(config)#virtual-ac domain 1
Ruijie(config-vac-domain)#dual-active detection bfd
Ruijie(config-vac-domain)#dual-active bfd interface gigabitEthernet 1/0/3
Ruijie(config-vac-domain)#dual-active bfd interface gigabitEthernet 2/0/3

2.胖AP部署
無線設備AP3使用胖模式進行部署,具體要求如下:
AP3使用透明模式,管理地址為192.XX.100.3/24(XX現場提供);

FZ1-AP720-AP3(config)#vlan 100
FZ1-AP720-AP3(config-vlan)#name Manage
FZ1-AP720-AP3(config-vlan)#exi
FZ1-AP720-AP3(config)#int bvI 100
FZ1-AP720-AP3(config-if-BVI 100)#ip address 192.1.100.3 24
FZ1-AP720-AP3(config)#int gi0/1.100
FZ1-AP720-AP3(config-subif-GigabitEthernet 0/1.100)#encapsulation dot1Q 100

AP3創建 SSID(WLAN-ID 2) 為 Ruijie-Fat_XX(XX現場提供), 內網無線用戶關聯SSID后可自動獲取VLAN60網段地址,

FZ1-AP720-AP3(config)#dot11 wlan 2
FZ1-AP720-AP3(dot11-wlan-config)#vlan 60
FZ1-AP720-AP3(dot11-wlan-config)#ssid Ruijie-Fat_1
FZ1-AP720-AP3(dot11-wlan-config)#exi
FZ1-AP720-AP3(config)#int gi0/1.60
FZ1-AP720-AP3(config-subif-GigabitEthernet 0/1.60)#encapsulation dot1Q 60
FZ1-AP720-AP3(config-subif-GigabitEthernet 0/1.60)#exi
FZ1-AP720-AP3(config)#int dot11radio 1/0.6
FZ1-AP720-AP3(config-subif-Dot11radio 1/0.6)#encapsulation dot1Q 60
FZ1-AP720-AP3(config-subif-Dot11radio 1/0.6)#wlan-id 2
FZ1-AP720-AP3(config-subif-Dot11radio 1/0.6)#exi

連接Fat AP的無線用戶接入無線網路時采用WEB認證方式,認證用戶名、密碼為XX(現場提供),

FZ1-AP720-AP3(config)#aaa new-model 
FZ1-AP720-AP3(config)#aaa authentication iportal default local 
FZ1-AP720-AP3(config)#aaa accounting network default start-stop none 
FZ1-AP720-AP3(config)#http redirect direct-arp 192.1.60.254
FZ1-AP720-AP3(config)#http redirect port 8081
FZ1-AP720-AP3(config)#username user1 web-auth password user1
FZ1-AP720-AP3(config)#web-auth template iportal 
FZ1-AP720-AP3(config.tmplt.iportal)#
FZ1-AP720-AP3(config.tmplt.iportal)#exi
FZ1-AP720-AP3(config)#wlansec 2
FZ1-AP720-AP3(config-wlansec)#web-auth portal iportal 
FZ1-AP720-AP3(config-wlansec)#webauth

為了保障總部每個用戶的無線體驗,針對WLAN ID 2下的每個用戶的下行平均速率為 800KB/s ,突發速率為1600KB/s;
FZ1-AP720-AP3(config)#wlan-qos wlan-based 2 per-user-limit down-streams average-data-rate 800 burst-data-rate 1600
關閉低速率(11b/g 1M、2M、5M,11a 6M、9M)應用接入,

FZ1-AP720-AP3(config)#int dot11radio 1/0 
FZ1-AP720-AP3(config-if-Dot11radio 1/0)#rate-set 11b disable 1
FZ1-AP720-AP3(config-if-Dot11radio 1/0)#rate-set 11b disable 2
FZ1-AP720-AP3(config-if-Dot11radio 1/0)#rate-set 11b disable 5
FZ1-AP720-AP3(config-if-Dot11radio 1/0)#rate-set 11g disable 5
FZ1-AP720-AP3(config-if-Dot11radio 1/0)#rate-set 11g disable 2
FZ1-AP720-AP3(config-if-Dot11radio 1/0)#rate-set 11g disable 1
FZ1-AP720-AP3(config-if-Dot11radio 1/0)#exi
FZ1-AP720-AP3(config)#int dot11radio 2/0
FZ1-AP720-AP3(config-if-Dot11radio 2/0)#rate-set 11a disable 6
FZ1-AP720-AP3(config-if-Dot11radio 2/0)#rate-set 11a disable 9

2.分支機構間IPV6部署
分支機構間部署IPV6網路實作機構內網IPV6終端可自動從網關處獲取地址;
IPV6地址規劃如下:
表-12 IPV6地址規劃表
設備 介面 IPV6地址
R1 VLAN10 2001:194:1:10::254/64
VLAN20 2001:194:1:20::254/64
Tunnel0 2001:11:1:3::1/64
VSU VLAN10 2001:195:1:10::254/64
VLAN20 2001:195:1:20::254/64
Tunnel0 2001:11:1:3::2/64

例:R1配置:

FZ2-RSR20-R1(config)#int vlan 10
FZ2-RSR20-R1(config-if-VLAN 10)#ipv6 enable 
FZ2-RSR20-R1(config-if-VLAN 10)#ipv6 address 2001:194:1:10::254/64
FZ2-RSR20-R1(config-if-VLAN 10)#no ipv6 nd suppress-ra 
FZ2-RSR20-R1(config-if-VLAN 10)#exi
FZ2-RSR20-R1(config)#int vlan 20
FZ2-RSR20-R1(config-if-VLAN 20)#ipv6 enable                       
FZ2-RSR20-R1(config-if-VLAN 20)#ipv6 address 2001:194:1:20::254/64
FZ2-RSR20-R1(config-if-VLAN 20)#no ipv6 nd suppress-ra            
FZ2-RSR20-R1(config-if-VLAN 20)#exi
FZ2-RSR20-R1(config)#int tunnel 0
FZ2-RSR20-R1(config-if-Tunnel 0)#ipv6 enable 
FZ2-RSR20-R1(config-if-Tunnel 0)#ipv6 address 2001:11:1:3::1/64
FZ2-RSR20-R1(config-if-Tunnel 0)#tunnel source 11.1.0.1
FZ2-RSR20-R1(config-if-Tunnel 0)#tunnel destination 11.1.0.67
FZ2-RSR20-R1(config)#ipv6 router ospf 10
FZ2-RSR20-R1(config-router)#passive-interface vlan 10
FZ2-RSR20-R1(config-router)#passive-interface vlan 20
FZ2-RSR20-R1(config-router)#exi
FZ2-RSR20-R1(config)#int vlan 10
FZ2-RSR20-R1(config-if-VLAN 10)#ipv6 ospf 10 area 0
FZ2-RSR20-R1(config-if-VLAN 10)#exi
FZ2-RSR20-R1(config)#int vlan 20
FZ2-RSR20-R1(config-if-VLAN 20)#ipv6 ospf 10 area 0
FZ2-RSR20-R1(config-if-VLAN 20)#exi
FZ2-RSR20-R1(config)#int tunnel 0
FZ2-RSR20-R1(config-if-Tunnel 0)#ipv6 ospf 10 area 0

各機構內網均使用OSPF協議組網,運營商不維護EG1/EG2局域網內部網段,具體要求如下:
VAC、S5、EG2間運行OSPF,行程號10,規劃單區域:區域0;
R1、R2、R3間運行OSPF,行程號20,規劃單區域:區域0;
VSU、R2、R3間運行OSPF,行程號21,規劃單區域:區域0;
S3、S4、EG1間運行OSPF,行程號為30;
要求業務網段中不出現協議報文;
R1、VSU始發的終端網段及各設備Loopback管理地址均以重分發直連的方式注入;
R2/EG2、R3/EG1間互聯段均以重發布直連的方式注入R2、R3 OSPF雙行程中;
R2、R3間啟用OSPF與BFD聯動以達到迅速檢測運營商網路中斷,快速地切換到其他備份線路,提高用戶網路體驗,
優化OSPF相關配置,以盡量加快OSPF收斂;
重發布路由進OSPF中使用型別1,
注意:S5需要重發布云平臺(172.16.0.0/22)靜態路由至服務區內網

VAC:

FW-WS6008-VAC(config)#rou ospf 10
FW-WS6008-VAC(config-router)#netw 10.2.1.6 0.0.0.3 a 0
FW-WS6008-VAC(config-router)#redistribute connected subnets metric-type 1 FW-WS6008-VAC(config-router)#int agg 1
FW-WS6008-VAC(config-if-AggregatePort 1)#ip ospf ne point-to-point

S5:

FW-S5750-S5(config)#rou ospf 10
FW-S5750-S5(config-router)#network 10.2.1.2 0.0.0.3 a 0
FW-S5750-S5(config-router)#network 10.2.1.5 0.0.0.3 a 0
FW-S5750-S5(config-router)#redistribute connected subnets metric-type 1
FW-S5750-S5(config-router)#redistribute static metric-type 1 subnets
FW-S5750-S5(config)#ip rou 172.16.0.0 255.255.252.0 193.1.0.2
FW-S5750-S5(config)#int gi0/24
FW-S5750-S5(config-if-GigabitEthernet 0/24)#ip ospf ne point-to-point
FW-S5750-S5(config-if-GigabitEthernet 0/24)#int agg 1
FW-S5750-S5(config-if-AggregatePort 1)#ip ospf ne point-to-point

EG2:

FW-EG2000-EG2(config)#rou ospf 10
FW-EG2000-EG2(config-router)#network 10.2.1.1 0.0.0.3 a 0
FW-EG2000-EG2(config-router)#redistribute con metric-type 1 subnets
FW-EG2000-EG2(config-router)#default-information originate metric-type 1  
FW-EG2000-EG2(config-router)#exit
FW-EG2000-EG2(config)#ip rou 0.0.0.0 0.0.0.0 11.1.1.9
FW-EG2000-EG2(config) #int gi0/1
FW-EG2000-EG2(config) # ip ospf ne point-to-point

R1:

FZ2-RSR20-R1(config)#rou ospf 20
FZ2-RSR20-R1(config-router)#network 11.1.1.1 0.0.0.3 a 0
FZ2-RSR20-R1(config-router)#network 11.1.2.1 0.0.0.3 a 0
FZ2-RSR20-R1(config-router)#int gi0/0
FZ2-RSR20-R1(config-if-GigabitEthernet 0/0)#ip ospf ne point-to-point 
FZ2-RSR20-R1(config-if-GigabitEthernet 0/0)#int gi0/1
FZ2-RSR20-R1(config-if-GigabitEthernet 0/1)#ip ospf ne point-to-point

R2:

R3:

VSU:

FZ3-S6000C-VSU(config)#rou ospf 21
FZ3-S6000C-VSU(config-router)#netw 11.1.1.6 0.0.0.3 a 0
FZ3-S6000C-VSU(config-router)#netw 11.1.2.6 0.0.0.3 a 0
FZ3-S6000C-VSU(config-router)#int gi1/0/48
FZ3-S6000C-VSU(config-if-GigabitEthernet 1/0/48)#ip ospf ne point-to-p
FZ3-S6000C-VSU(config-if-GigabitEthernet 1/0/48)#int gi2/0/48         
FZ3-S6000C-VSU(config-if-GigabitEthernet 2/0/48)#ip ospf ne point-to-p

S3:

FZ1-S5750-S3(config)#rou ospf 30
FZ1-S5750-S3(config-router)#network 10.1.1.2 0.0.0.3 a 0
FZ1-S5750-S3(config-router)#network 192.1.10.0 0.0.0.255 a 0
FZ1-S5750-S3(config-router)#network 192.1.20.0 0.0.0.255 a 0
FZ1-S5750-S3(config-router)#network 192.1.50.0 0.0.0.255 a 0   
FZ1-S5750-S3(config-router)#network 192.1.60.0 0.0.0.255 a 0
FZ1-S5750-S3(config-router)#network 192.1.100.0 0.0.0.255 a 0
FZ1-S5750-S3(config-router)#passive-interface vlan 10
FZ1-S5750-S3(config-router)#passive-interface vlan 20
FZ1-S5750-S3(config-router)#passive-interface vlan 50
FZ1-S5750-S3(config-router)#passive-interface vlan 60
FZ1-S5750-S3(config-router)#redistribute connected metric-type 1 subnets
FZ1-S5750-S3(config-router)#int gi0/24
FZ1-S5750-S3(config-if-GigabitEthernet 0/24)#ip ospf ne point-to-point 
FZ1-S5750-S3(config-if-GigabitEthernet 0/24)#int vlan 100
FZ1-S5750-S3(config-if-VLAN 100)#ip ospf ne point-to-point

S4:

FZ1-S5750-S4(config)#rou ospf 30
FZ1-S5750-S4(config-router)#network 10.1.1.6 0.0.0.3 a 0
FZ1-S5750-S4(config-router)#network 192.1.10.0 0.0.0.255 a 0
FZ1-S5750-S4(config-router)#network 192.1.20.0 0.0.0.255 a 0
FZ1-S5750-S4(config-router)#network 192.1.50.0 0.0.0.255 a 0
FZ1-S5750-S4(config-router)#network 192.1.60.0 0.0.0.255 a 0
FZ1-S5750-S4(config-router)#network 192.1.100.0 0.0.0.255 a 0
FZ1-S5750-S4(config-router)#passive-interface vlan 10
FZ1-S5750-S4(config-router)#passive-interface vlan 20
FZ1-S5750-S4(config-router)#passive-interface vlan 50
FZ1-S5750-S4(config-router)#passive-interface vlan 60
FZ1-S5750-S4(config-router)#redistribute connected metric-type 1 subnets
FZ1-S5750-S4(config-router)#int gi0/24
FZ1-S5750-S4(config-if-GigabitEthernet 0/24)#ip ospf ne point-to-point 
FZ1-S5750-S4(config-if-GigabitEthernet 0/24)#int vlan 100
FZ1-S5750-S4(config-if-VLAN 100)#ip ospf ne point-to-point

EG1:

FZ1-EG2000-EG1(config)#rou ospf 30
FZ1-EG2000-EG1(config-router)#network 10.1.1.1 0.0.0.3 a 0
FZ1-EG2000-EG1(config-router)#network 10.1.1.5 0.0.0.3 a 0
FZ1-EG2000-EG1(config-router)#re con metric-type 1 subnets
FZ1-EG2000-EG1(config-router)#default-information originate metric-type 1
FZ1-EG2000-EG1(config-router)#int gi0/1
FZ1-EG2000-EG1(config-if-GigabitEthernet 0/1)#ip ospf ne point-to-point
FZ1-EG2000-EG1(config-router)#int gi0/2
FZ1-EG2000-EG1(config-if-GigabitEthernet 0/1)#ip ospf ne point-to-point

考慮到資料分流及負載均衡的目的進行路由策略部署,具體要求如下:
R1引入路由時進行路由標記,生產網段標記為10,辦公網段標記為20,loopback地址標記為30,路由圖定義為SET_TAG;

R1:

FZ2-RSR20-R1(config)#route-map SET_TAG permit 10
FZ2-RSR20-R1(config-route-map)#match interface vlan 10
FZ2-RSR20-R1(config-route-map)#set tag 10
FZ2-RSR20-R1(config-route-map)#exit
FZ2-RSR20-R1(config)#route-map SET_TAG permit 20
FZ2-RSR20-R1(config-route-map)#match interface vlan 20
FZ2-RSR20-R1(config-route-map)#set tag 20             
FZ2-RSR20-R1(config-route-map)#exit                   
FZ2-RSR20-R1(config)#route-map SET_TAG permit 30
FZ2-RSR20-R1(config-route-map)#match interface loop 0 
FZ2-RSR20-R1(config-route-map)#set tag 30            
FZ2-RSR20-R1(config-route-map)#exit
FZ2-RSR20-R1(config-router)#redistribute connected subnets metric-type 1 route -map SET_TAG

VSU引入路由時進行路由標記,生產網段標記為100,辦公網段標記為200,loopback地址標記為300,路由圖定義為SET_TAG;
VSU:

FZ3-S6000C-VSU(config)#route-map SET_TAG permit 10
FZ3-S6000C-VSU(config-route-map)#match interface vlan 10
FZ3-S6000C-VSU(config-route-map)#set tag 100
FZ3-S6000C-VSU(config-route-map)#exit
FZ3-S6000C-VSU(config)#route-map SET_TAG permit 20
FZ3-S6000C-VSU(config-route-map)#match interface vlan 20
FZ3-S6000C-VSU(config-route-map)#set tag 200
FZ3-S6000C-VSU(config-route-map)#exit
FZ3-S6000C-VSU(config)#route-map SET_TAG permit 30
FZ3-S6000C-VSU(config-route-map)#match interface loop 0
FZ3-S6000C-VSU(config-route-map)#set tag 300
FZ3-S6000C-VSU(config-route-map)#exit
FZ3-S6000C-VSU(config)#rou ospf 21
FZ3-S6000C-VSU(config-router)#redistribute connected subnets metric-type 1 route-map SET_TAG

R2、R3要求OSPF雙行程重發布,OSPF20行程發布至OSPF21行程時關聯路由圖定義為OSPF20_TO_OSPF21,OSPF21行程發布至OSPF20行程時關聯路由圖定義為OSPF21_TO_OSPF20;
R2、R3要求OSPF路由標記過濾規避路由環路與次優路徑風險,OSPF20行程內路由過濾關聯路由圖定義為FILTER_OSPF21_TAG,OSPF21行程內路由過濾關聯路由圖定義為FILTER_OSPF20_TAG;
路由圖中涉及COST值的調整,要求其值必須為5或10;
通過策略部署,使得生產業務的主路徑為R1—R2—VSU,辦公業務的主路徑為R1—R3—VSU,且要求來回路徑一致,Loopback介面互訪路徑與辦公業務一致;
主鏈路或R2、R3故障時可無縫切換到備用鏈路上,

R3:

R3(config)#route-map OSPF20_TO_OSPF21 permit 10
R3(config-route-map)#match tag 10
R3(config-route-map)#set metric 10
R3(config-route-map)#exit
R3(config)#route-map OSPF20_TO_OSPF21 permit 20
R3(config-route-map)#match tag 20 
R3(config-route-map)#exit
R3(config)#route-map OSPF20_TO_OSPF21 permit 30
R3(config-route-map)#match tag 30
R3(config-route-map)#exit

R3(config)#route-map OSPF21_TO_OSPF20 permit 10
R3(config-route-map)#match tag 100
R3(config-route-map)#set metric 10
R3(config-route-map)#route-map OSPF21_TO_OSPF20 permit 20
R3(config-route-map)#match tag 200
R3(config-route-map)#route-map OSPF21_TO_OSPF20 permit 30
R3(config-route-map)#match tag 300

R3(config)#rou ospf 20
R3(config-router)#redistribute ospf 21 metric-type 1 subnets route-map OSPF21_TO_OSPF20
R3(config-router)#rou ospf 21
R3(config-router)#redistribute ospf 20 metric-type 1 subnets route-map OSPF20_TO_OSPF21

R2:

R2(config)#route-map OSPF21_TO_OSPF20 permit 10
R2(config-route-map)#match tag 100
R2(config-route-map)#
R2(config-route-map)#route-map OSPF21_TO_OSPF20 permit 20
R2(config-route-map)#match tag 200
R2(config-route-map)#set metric 10
R2(config-route-map)#route-map OSPF21_TO_OSPF20 permit 30
R2(config-route-map)#match tag 300
R2(config-route-map)#
R2(config-route-map)#route-map OSPF20_TO_OSPF21 permit 10
R2(config-route-map)#match tag 10
R2(config-route-map)#
R2(config-route-map)#route-map OSPF20_TO_OSPF21 permit 20
R2(config-route-map)#match tag 20
R2(config-route-map)#set metric 10
R2(config-route-map)#route-map OSPF20_TO_OSPF21 permit 30
R2(config-route-map)#match tag 30

R2(config)#rou ospf 20
R2(config-router)#redistribute ospf 21 metric-type 1 subnets route-map OSPF21_TO_OSPF20
R2(config-router)#rou ospf 21
R2(config-router)#redistribute ospf 20 metric-type 1 subnets route-map OSPF20_TO_OSPF21

相關鏈接
銳捷“2019年全國職業院校技能大賽”高職組計算機網路應用競賽競賽樣題A卷(軟體定義網路部分答案參考)
銳捷“2019年全國職業院校技能大賽”高職組計算機網路應用競賽競賽樣題B卷(軟體定義網路部分答案參考)
銳捷“2019年全國職業院校技能大賽”高職組計算機網路應用競賽競賽樣題C卷(軟體定義網路部分答案參考)
銳捷“2019年全國職業院校技能大賽”高職組計算機網路應用競賽競賽樣題D卷(軟體定義網路部分答案參考)
銳捷“2019年全國職業院校技能大賽”高職組計算機網路應用競賽競賽樣題E~J卷(軟體定義網路部分答案參考)
關于銳捷網路技能大賽軟體定義網路部分題目分析與探討

下面三個都開源在Github上 對參加網路技能大賽的同學幫助較大
希望看到的人能給我點個star 給予更多同學幫助 謝謝大家

銳捷網路技能大賽使用到的公共資料

全國各省市網路技能大賽比賽樣題/評分標準/解題程序

課程設計與畢業設計

轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/167141.html

標籤:其他

上一篇:校園網資訊收集

下一篇:計算機作業系統-死鎖詳解

標籤雲
其他(157675) Python(38076) JavaScript(25376) Java(17977) C(15215) 區塊鏈(8255) C#(7972) AI(7469) 爪哇(7425) MySQL(7132) html(6777) 基礎類(6313) sql(6102) 熊猫(6058) PHP(5869) 数组(5741) R(5409) Linux(5327) 反应(5209) 腳本語言(PerlPython)(5129) 非技術區(4971) Android(4554) 数据框(4311) css(4259) 节点.js(4032) C語言(3288) json(3245) 列表(3129) 扑(3119) C++語言(3117) 安卓(2998) 打字稿(2995) VBA(2789) Java相關(2746) 疑難問題(2699) 细绳(2522) 單片機工控(2479) iOS(2429) ASP.NET(2402) MongoDB(2323) 麻木的(2285) 正则表达式(2254) 字典(2211) 循环(2198) 迅速(2185) 擅长(2169) 镖(2155) 功能(1967) .NET技术(1958) Web開發(1951) python-3.x(1918) HtmlCss(1915) 弹簧靴(1913) C++(1909) xml(1889) PostgreSQL(1872) .NETCore(1853) 谷歌表格(1846) Unity3D(1843) for循环(1842)

熱門瀏覽
  • vue移動端上拉加載

    可能做得過于簡單或者比較low,請各位大佬留情,一起探討技術 ......

    uj5u.com 2020-09-10 04:38:07 more
  • 優美網站首頁,頂部多層導航

    一個個人用的瀏覽器首頁,可以把一下常用的網站放在這里,平常打開會比較方便。 第一步,HTML代碼 <script src=https://www.cnblogs.com/szharf/p/"js/jquery-3.4.1.min.js"></script> <div id="navigate"> <ul> <li class="labels labels_1"> ......

    uj5u.com 2020-09-10 04:38:47 more
  • 頁面為要加<!DOCTYPE html>

    最近因為寫一個js函式,需要用到$(window).height(); 由于手寫demo的時候,過于自信,其實對前端方面的認識也不夠體系,用文本檔案直接敲出來的html代碼,第一行沒有加上<!DOCTYPE html> 導致了$(window).height();的結果直接是整個document的高 ......

    uj5u.com 2020-09-10 04:38:52 more
  • WordPress網站程式手動升級要做好資料備份

    WordPress博客網站程式在進行升級前,必須要做好網站資料的備份,這個問題良家佐言是遇見過的;在剛開始接觸WordPress博客程式的時候,因為升級問題和博客網站的修改的一些嘗試,良家佐言是吃盡了苦頭。因為購買的是西部數碼的空間和域名,每當佐言把自己的WordPress博客網站搞到一塌糊涂的時候 ......

    uj5u.com 2020-09-10 04:39:30 more
  • WordPress程式不能升級為5.4.2版本的原因

    WordPress是一款個人博客系統,受到英文博客愛好者和中文博客愛好者的追捧,并逐步演化成一款內容管理系統軟體;它是使用PHP語言和MySQL資料庫開發的,用戶可以在支持PHP和MySQL資料庫的服務器上使用自己的博客。每一次WordPress程式的更新,就會牽動無數WordPress愛好者的心, ......

    uj5u.com 2020-09-10 04:39:49 more
  • 使用CSS3的偽元素進行首字母下沉和首行改變樣式

    網頁中常見的一種效果,首字改變樣式或者首行改變樣式,效果如下圖。 代碼: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, ......

    uj5u.com 2020-09-10 04:40:09 more
  • 關于a標簽的講解

    什么是a標簽? <a> 標簽定義超鏈接,用于從一個頁面鏈接到另一個頁面。 <a> 元素最重要的屬性是 href 屬性,它指定鏈接的目標。 a標簽的語法格式:<a href=https://www.cnblogs.com/summerxbc/p/"指定要跳轉的目標界面的鏈接">需要展示給用戶看見的內容</a> a標簽 在所有瀏覽器中,鏈接的默認外觀如下: 未被訪問的鏈接帶 ......

    uj5u.com 2020-09-10 04:40:11 more
  • 前端輪播圖

    在需要輪播的頁面是引入swiper.min.js和swiper.min.css swiper.min.js地址: 鏈接:https://pan.baidu.com/s/15Uh516YHa4CV3X-RyjEIWw 提取碼:4aks swiper.min.css地址 鏈接:https://pan.b ......

    uj5u.com 2020-09-10 04:40:13 more
  • 如何設定html中的背景圖片(全屏顯示,且不拉伸)

    1 <style>2 body{background-image:url(https://uploadbeta.com/api/pictures/random/?key=BingEverydayWallpaperPicture); 3 background-size:cover;background ......

    uj5u.com 2020-09-10 04:40:16 more
  • Java學習——HTML詳解(上)

    HTML詳解 初識HTML Hyper Text Markup Language(超文本標記語言) 1 <!--DOCTYPE:告訴瀏覽器我們要使用什么規范--> 2 <!DOCTYPE html> 3 <html lang="en"> 4 <head> 5 <!--meta 描述性的標簽,描述一些 ......

    uj5u.com 2020-09-10 04:40:33 more
最新发布
  • 我的第一個NPM包:panghu-planebattle-esm(胖虎飛機大戰)使用說明

    好家伙,我的包終于開發完啦 歡迎使用胖虎的飛機大戰包!! 為你的主頁添加色彩 這是一個有趣的網頁小游戲包,使用canvas和js開發 使用ES6模塊化開發 效果圖如下: (覺得圖片太sb的可以自己改) 代碼已開源!! Git: https://gitee.com/tang-and-han-dynas ......

    uj5u.com 2023-04-20 07:59:23 more
  • 生產事故-走近科學之消失的JWT

    入職多年,面對生產環境,盡管都是小心翼翼,慎之又慎,還是難免捅出簍子。輕則滿頭大汗,面紅耳赤。重則系統停擺,損失資金。每一個生產事故的背后,都是寶貴的經驗和教訓,都是專案成員的血淚史。為了更好地防范和遏制今后的各類事故,特開此專題,長期更新和記錄大大小小的各類事故。有些是親身經歷,有些是經人耳傳口授 ......

    uj5u.com 2023-04-18 07:55:04 more
  • 記錄--Canvas實作打飛字游戲

    這里給大家分享我在網上總結出來的一些知識,希望對大家有所幫助 打開游戲界面,看到一個畫面簡潔、卻又富有挑戰性的游戲。螢屏上,有一個白色的矩形框,里面不斷下落著各種單詞,而我需要迅速地輸入這些單詞。如果我輸入的單詞與螢屏上的單詞匹配,那么我就可以獲得得分;如果我輸入的單詞錯誤或者時間過長,那么我就會輸 ......

    uj5u.com 2023-04-04 08:35:30 more
  • 了解 HTTP 看這一篇就夠

    在學習網路之前,了解它的歷史能夠幫助我們明白為何它會發展為如今這個樣子,引發探究網路的興趣。下面的這張圖片就展示了“互聯網”誕生至今的發展歷程。 ......

    uj5u.com 2023-03-16 11:00:15 more
  • 藍牙-低功耗中心設備

    //11.開啟藍牙配接器 openBluetoothAdapter //21.開始搜索藍牙設備 startBluetoothDevicesDiscovery //31.開啟監聽搜索藍牙設備 onBluetoothDeviceFound //30.停止監聽搜索藍牙設備 offBluetoothDevi ......

    uj5u.com 2023-03-15 09:06:45 more
  • canvas畫板(滑鼠和觸摸)

    <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>canves</title> <style> #canvas { cursor:url(../images/pen.png),crosshair; } #canvasdiv{ bo ......

    uj5u.com 2023-02-15 08:56:31 more
  • 手機端H5 實作自定義拍照界面

    手機端 H5 實作自定義拍照界面也可以使用 MediaDevices API 和 <video> 標簽來實作,和在桌面端做法基本一致。 首先,使用 MediaDevices.getUserMedia() 方法獲取攝像頭媒體流,并將其傳遞給 <video> 標簽進行渲染。 接著,使用 HTML 的 < ......

    uj5u.com 2023-01-12 07:58:22 more
  • 記錄--短視頻滑動播放在 H5 下的實作

    這里給大家分享我在網上總結出來的一些知識,希望對大家有所幫助 短視頻已經無數不在了,但是主體還是使用 app 來承載的。本文講述 H5 如何實作 app 的視頻滑動體驗。 無聲勝有聲,一圖頂百辯,且看下圖: 網址鏈接(需在微信或者手Q中瀏覽) 從上圖可以看到,我們主要實作的功能也是本文要講解的有: ......

    uj5u.com 2023-01-04 07:29:05 more
  • 一文讀懂 HTTP/1 HTTP/2 HTTP/3

    從 1989 年萬維網(www)誕生,HTTP(HyperText Transfer Protocol)經歷了眾多版本迭代,WebSocket 也在期間萌芽。1991 年 HTTP0.9 被發明。1996 年出現了 HTTP1.0。2015 年 HTTP2 正式發布。2020 年 HTTP3 或能正... ......

    uj5u.com 2022-12-24 06:56:02 more
  • 【HTML基礎篇002】HTML之form表單超詳解

    ??一、form表單是什么

    ??二、form表單的屬性

    ??三、input中的各種Type屬性值

    ??四、標簽 ......

    uj5u.com 2022-12-18 07:17:06 more