2018屆華爲網絡技術大賽複賽組網(B)試題

時間:2018.5.6
下面附上覆賽組網B卷及配置
這裏寫圖片描述
總體來說,組網沒有難度,需要極高的熟練度和細心。
1.基本配置要求:
1.1 各設備sysname命名請按照拓撲圖描述進行配置;例如R1命令爲R1,命名爲大寫;
1.2 各設備接口下配置物理接口互聯的描述信息。接口的描述規則爲:TO-對端設備名-對端端口號(大寫簡寫即可),例如:TO-R1-G0/0/1(與路由器R1設備的千兆接口互聯)或TO-SW1-E0/0/0(與交換機SW1設備的百兆接口互聯),描述信息只需要在路由器的交換機互聯接口上配置,與終端相連的接口無需配置;配置完成後採用display interface description命令檢查;
1.3 按照拓撲正確配置接口的IP地址並確保所有所有直連鏈路的可達性。“地址規劃示意圖”一給出各網段的信息,設備之間互聯均爲30位掩碼,配置IP是原則是“左小右大,上小下大”,例如:R1和R2的互聯網段爲12.1.1.0/30;R1和SW1互聯的網段爲12.1.1.4/30,則R1端接口地址配置爲12.1.1.5/30,SW1端接口配置爲12.1.1.6/30;其他互聯地址均遵守該原則。配置完成後採用PING命令來檢測鏈路的可用性。
2.二層交換網絡配置
2.1 在交換機SW3上劃分與pc1所連得接口到vlan 10,在交換機SW4上劃分與pc2所連接的接口到vlan 20,在交換機SW2上劃分與pc3所連的接口到vlan 30,vlanif 10、vlanif20、vlanif30分別爲pc1 、pc2、 pc3的網關,vlanif接口地址信息見“地址規劃圖”。
2.2 在交換機SW3、 SW4和SW1 分別通過Eth-Trunk接口互聯,SW3和SW4在用戶上與SW1之間形成二層透傳,配置完成後請採用display vlan命令檢查正確性。
3.三層路由配置
3.1 配置OSPF作爲數據中心的內部網關協議,各路由器和交換機使用Lopback0作爲OSPF的全局router id,並宣告到area 0,各接口的OSPF區域劃分請見“地址規劃示意圖”。
3.2 所有OSPF域間地址都要求以網段地址宣告出來,配置完成後請採用display current-configuration configuration ospf 命令檢查正確性。
3.3 在SW1和SW2上,配置指定下一跳的靜態路由,作爲財務一組和財務二組互通的備份路由,當OSPF路由down掉時,保證財務部的互通。配置完成後請採用display ip routing-table 命令檢查正確性。
4.結果檢查
大致意思就是全網互通。

賽題講究熟練度(比賽要求一小時之內完成組網)無複雜技術點,無超綱雲平臺內容。但是不友好的地方是拓撲,接口描述,端口信息分別在三張圖上……需要反覆切換界面。注意事項,OSPF的進程號(100),端口描述,另外在pc上的網關是一個陷阱,和對應的vlanif地址不符合,開始在pc上的配置是做好的,你需要手動更改,這是一般人想不到的。

主要配置如下:(需要注意我省略了端口描述)
R1:
#
sysname R1
#
interface Ethernet0/0/0
ip address 12.1.1.1 255.255.255.252
#
interface GigabitEthernet0/0/1
ip address 12.1.1.5 255.255.255.252
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
router-id 1.1.1.1
ospf 100
area 0.0.0.0
network 12.1.1.0 0.0.0.3
network 1.1.1.1 0.0.0.0
network 12.1.1.4 0.0.0.3
#
R2:

#
sysname R2
#
interface Ethernet0/0/0
ip address 12.1.1.2 255.255.255.252
#
interface GigabitEthernet0/0/1
ip address 12.1.1.9 255.255.255.252
#
interface GigabitEthernet0/0/2
ip address 180.1.1.1 255.255.255.252
#
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
#
router-id 2.2.2.2
ospf 100
area 0.0.0.0
network 12.1.1.0 0.0.0.3
network 2.2.2.2 0.0.0.0
network 12.1.1.8 0.0.0.3
area 0.0.0.3
network 180.1.1.0 0.0.0.3
SW1:

#
sysname SW1
#
vlan batch 10 20 30 40 50 60
#
interface Vlanif10
ip address 10.1.1.126 255.255.255.128
#
interface Vlanif20
ip address 10.1.2.254 255.255.255.0
#
interface Vlanif40
ip address 12.1.1.13 255.255.255.252
#
interface Vlanif50
ip address 12.1.1.6 255.255.255.252
#
interface Eth-Trunk1
port link-type trunk
port trunk pvid vlan 10
port trunk allow-pass vlan 2 to 4094
#
interface Eth-Trunk2
port link-type trunk
port trunk pvid vlan 20
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk pvid vlan 50
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/2
eth-trunk 1
#
interface GigabitEthernet0/0/3
eth-trunk 2
#
interface GigabitEthernet0/0/4
port link-type trunk
port trunk pvid vlan 40
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/5
eth-trunk 1
#
interface GigabitEthernet0/0/6
eth-trunk 2
#
interface LoopBack0
ip address 3.3.3.3 255.255.255.255
#
router-id 3.3.3.3
ospf 100
area 0.0.0.0
network 12.1.1.4 0.0.0.3
network 3.3.3.3 0.0.0.0
network 12.1.1.12 0.0.0.3
area 0.0.0.1
network 10.1.1.0 0.0.0.127
network 10.1.2.0 0.0.0.255
#
ip route-static 10.1.1.0 255.255.255.0 12.1.1.14
SW2:

#
sysname SW2
#
vlan batch 10 20 30 40 50 60
#
interface Vlanif30
ip address 10.1.1.254 255.255.255.128
#
interface Vlanif40
ip address 12.1.1.14 255.255.255.252
#
interface Vlanif60
ip address 12.1.1.10 255.255.255.252
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk pvid vlan 60
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 30
#
interface GigabitEthernet0/0/4
port link-type trunk
port trunk pvid vlan 40
port trunk allow-pass vlan 2 to 4094
#
interface LoopBack0
ip address 4.4.4.4 255.255.255.255
#
router-id 4.4.4.4
ospf 100
area 0.0.0.0
network 12.1.1.8 0.0.0.3
network 12.1.1.12 0.0.0.3
network 4.4.4.4 0.0.0.0
area 0.0.0.2
network 10.1.1.0 0.0.0.127
#
ip route-static 10.1.1.0 255.255.255.0 12.1.1.13
SW3:

#
sysname SW3
#
interface Eth-Trunk1
port link-type trunk
port trunk pvid vlan 10
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/2
eth-trunk 1
#
interface GigabitEthernet0/0/5
eth-trunk 1
SW4:

#
sysname SW4
#
vlan batch 20
#
interface Eth-Trunk2
port link-type trunk
port trunk pvid vlan 20
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 20
#
interface GigabitEthernet0/0/3
eth-trunk 2
#
interface GigabitEthernet0/0/6
eth-trunk 2

(pc、server的配合省略,需要更改財務部pc網關爲vlanif地址纔可通)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章