




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、1. Nexus產(chǎn)品介紹2. Nexus 基本系統(tǒng)管理3. Nexus 7K 配置VDC4. Nexus L2 L3配置介紹5. FEX技術(shù)介紹與配置6. Port Channel與vPC 7.FabricPatch8. OTV9. 組 播 與 QoS 10.Nexus安全技術(shù) Yeslab數(shù)據(jù)中心課程N(yùn)exus 交換機(jī)系列 作者:馬海波 現(xiàn)任明教教主北京Yeslab數(shù)據(jù)中心實驗室出品現(xiàn)任明教教主馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹內(nèi)容簡介 內(nèi)容簡介第一部分:基本接口配置 第二部分:配置動態(tài)路由協(xié)議第三部分:配置VTP與STP第四部分:配置HSRP與VRRP
2、馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置第一部分 基本接口配置馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置端口的默認(rèn)模式 所有端口默認(rèn)處于“Shutdown”狀態(tài) F1端口默認(rèn)為二層的“Switchport”端口M1端口默認(rèn)為三層“routed”路由端口 系統(tǒng)默認(rèn)命令(sh run all | in system default) no system default switchport system default switchport shudown默認(rèn)的端口模式可以通過如下的命令修
3、改 system default switchportn 修改所有的M口為二層switchport no system default switchport shutdown修改所有二層switchport為管理打開狀態(tài)Nexus 5K端口默認(rèn)為二層Switchport和管理打開狀態(tài)。馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置基本接口配置實驗馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置N7K基本接口配置(1) DC1-N7K-3(config)# feature interface-vla
4、n DC1-N7K-3(config)# vlan 10DC1-N7K-3(config-vlan)# no shutdown DC1-N7K-3(config)# interface vlan 10DC1-N7K-3(config-if)# ip address 10.1.1.254/24 DC1-N7K-3(config-if)# no shutdown馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置N7K基本接口配置(2) 查看E3/17插的SFP:DC1-N7K-3# show interface ethernet 3/17 transc
5、eiver Ethernet3/17transceiver is present type is 1000base-T name is CISCO-AVAGOpart number is QBCU-5798R revision isserial number is AGM1051Q1R5 nominal bitrate is 1300 MBit/secLink length supported for copper is 100 m cisco id is -cisco extended id number is 4馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一
6、部分:基本接口配置N7K基本接口配置(3)查看E3/17的能力:DC1-N7K-3# show interface capabilities Ethernet3/17Model:Type (SFP capable): Speed:Duplex:Trunk encap. type: FabricPath capable: Channel:N7K-F132XP-151000base-T 1000,10000full 802.1Qyes yes忽略馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置N7K基本接口配置(4) 配置E3/17為訪問端口:DC1
7、-N7K-3(config)# interface e3/17 DC1-N7K-3(config-if)# speed 1000DC1-N7K-3(config-if)# switchport mode access DC1-N7K-3(config-if)# switchport access vlan 10 DC1-N7K-3(config-if)# no shutdown配置E3/21為Trunk,并且只允許VLAN10:DC1-N7K-3(config)# interface e3/21DC1-N7K-3(config-if)# switchport mode trunkDC1-N7K
8、-3(config-if)# switchport trunk allowed vlan 10 DC1-N7K-3(config-if)# no shutdown馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置N5K基本接口配置N5K-1(config)# vlan 10N5K-1(config-vlan)# no shutdownN5K-1(config)# interface e1/21N5K-1(config-if)# switchport mode trunkN5K-1(config-if)# switchport trunk allow
9、ed vlan 10N5K-1(config)# interface e1/5 N5K-1(config-if)# shutdown N5K-1(config-if)# speed 1000N5K-1(config-if)# switchport access vlan 10 N5K-1(config-if)# no shutdown馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置接口描述與beaconDC1-N7K-3(config)# interface e3/21DC1-N7K-3(config-if)# description Link-
10、to-N5K1 DC1-N7K-3(config-if)# beaconBeacon技術(shù)通過閃爍的LED燈,快速定位物理接口馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置MTU配置介紹 For Layer 3 interfaces, you can configure an MTU size that is between 576 and 9216 bytes.For Layer 2 interfaces, you can configure all Layer 2 interfaces to use either the default MT
11、U size (1500 bytes) or the system jumbo MTU size (default size of 9216 bytes).馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置配置MTU為三層口配置MTU:DC1-N7K-3(config)# interface e4/20DC1-N7K-3(config-if)# mtu 2346為二層口配置MTU:DC1-N7K-3(config)# interface e3/21DC1-N7K-3(config-if)# mtu 9216DC1-N7K-3(config-if)#
12、 mtu 1500DC1-N7K-3(config-if)# mtu 2346ERROR: Ethernet3/21: MTU on L2 interfaces can only be set to default or system-jumboMTU馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置修改系統(tǒng)默認(rèn)MTU修改系統(tǒng)默認(rèn)MTU:DC1-N7K-3(config)# system jumbomtu 9000配置非系統(tǒng)默認(rèn)jumbomtu會產(chǎn)生報錯:DC1-N7K-3(config)# interface e3/21DC1-N7K-3(con
13、fig-if)# mtu 9216% Invalid number, range is (1500:9000) at marker. DC1-N7K-3(config-if)# mtu 9000馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置理解UDLD技術(shù) UDLD技術(shù)使交換機(jī)檢查單向鏈路故障 當(dāng)一個單向鏈路被發(fā)現(xiàn),這個端口會被關(guān)閉 UDLD aggression模式使用主動的探針,快速的檢查故障馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置配置UDLDDC1-N7K-3(config)# fe
14、ature udld DC1-N7K-3(config)# interface e3/21 DC1-N7K-3(config-if)# udld enableDC1-N7K-3(config-if)# udld aggressive DC1-N7K-3(config-if)# no udld aggressive DC1-N7K-3(config-if)# no udld enable馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置查看UDLD狀態(tài) DC1-N7K-3# show udld ethernet 3/21DC1-N7K-3# show
15、 udld neighborsDC1-N7K-3# show udld global馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置Rate Mode(速率模式)On a 32-port 10-Gigabit Ethernet module, each set of four ports can handle 10 gigabits per second (Gb/s) of bandwidth. You can use the rate-mode parameter to dedicate that bandwidth to the first
16、port in the set of four ports or share the bandwidth across all four ports.馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置Rate Mode示意圖馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置配置Rate Mode為Dedicated關(guān)閉所有Port-Group內(nèi)的端口:DC1-N7K-1(config)# interface e4/1,e4/3,e4/5,e4/7 DC1-N7K-1(config-if-range)#
17、shutdown配置E4/1的速率模式為Dedicated:DC1-N7K-1(config)# interface e4/1DC1-N7K-1(config-if)# rate-mode dedicated DC1-N7K-1(config-if)# no shutdown馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置配置Rate Mode為Share關(guān)閉E4/1端口:DC1-N7K-1(config)# interface e4/1 DC1-N7K-1(config-if)# shutdown配置整個Port-Group的所有端口速率模式為
18、SharedDC1-N7K-1(config)# interface e4/1,e4/3,e4/5,e4/7DC1-N7K-1(config-if-range)# rate-mode shared DC1-N7K-1(config-if-range)# no shutdown)馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置Port profiles介紹Port Profiles技術(shù)能夠為一組端口配置一些普通命令 一個Port Profile能夠從其它Port Profile繼承屬性(嵌套的Profiles 修改一個Port Profile的配置
19、,會自動更新所有成員端口的配置。任何Cisco Nexus 7K上的接口配置命令,都可以成為Port Profile 的一部分,例如:ACL,L3, Netflow,VLAN等等。 馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置Port Profiles類型 有如下四種Port Profile類型Ethernet Interface-VLAN Port-Channel Tunnel馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置配置基本Port Profiles配置Port Profile:DC1
20、-N7K-1(config)# port-profile type ethernet MingJiao-Ethernet DC1-N7K-1(config-port-prof)# switchportDC1-N7K-1(config-port-prof)# switchport mode access DC1-N7K-1(config-port-prof)# switchport access vlan 10 DC1-N7K-1(config-port-prof)# state enabled配置接口繼承Port Profile:DC1-N7K-1(config)# interface e4/
21、1-4DC1-N7K-1(config-if-range)# inherit port-profile MingJiao-Ethernet馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第一部分:基本接口配置配置嵌套Port Profiles配置Port Profile:DC1-N7K-1(config)#port-profile type ethernet PORT-TYPE-EDGEDC1-N7K-1(config-port-prof)# DC1-N7K-1(config-port-prof)# DC1-N7K-1(config-port-prof)# DC1-N
22、7K-1(config-port-prof)#switchportspanning-tree port type edge no shutdownstate enabled配置嵌套的Port Profile:DC1-N7K-1(config-port-prof)# port-profile type ethernet MODE-ACCESSDC1-N7K-1(config-port-prof)# DC1-N7K-1(config-port-prof)# DC1-N7K-1(config-port-prof)# DC1-N7K-1(config-port-prof)# DC1-N7K-1(con
23、fig-port-prof)#inherit port-profile PORT-TYPE-EDGE switchportswitchport mode access switchport access vlan 10 state enabled馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議第二部分 配置動態(tài)路由協(xié)議馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議拓?fù)鋱D介紹馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議在N7K-1上配置
24、OSPFDC1-N7K-1(config)# feature ospf DC1-N7K-1(config)# router ospf 1 DC1-N7K-1(config-router)# exitDC1-N7K-1(config)# interface loopback 0DC1-N7K-1(config-if)# ip address 61.128.1.1/24 DC1-N7K-1(config-if)# ip router ospf 1 area 0 DC1-N7K-1(config-if)# exitDC1-N7K-1(config)# interface e4/5DC1-N7K-1(
25、config-if)# ip address 172.16.13.1/24 DC1-N7K-1(config-if)# ip router ospf 1 area 0 DC1-N7K-1(config-if)# no shutdownDC1-N7K-1(config-if)# exitDC1-N7K-1(config)# interface e4/1DC1-N7K-1(config-if)# ip address 172.16.14.1/24 DC1-N7K-1(config-if)# ip router ospf 1 area 0 DC1-N7K-1(config-if)# no shutd
26、own馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議在N7K-3上配置OSPF(1)DC1-N7K-3(config)# feature ospf DC1-N7K-3(config)# router ospf 1 DC1-N7K-3(config-router)# exit DC1-N7K-3(config)# interface e4/20DC1-N7K-3(config-if)# ip address 172.16.13.3/24 DC1-N7K-3(config-if)# ip router ospf 1 area 0 DC1-N7K
27、-3(config-if)# no shutdownDC1-N7K-3(config)# vlan 34 DC1-N7K-3(config-vlan)# exitDC1-N7K-3(config)# interface e4/22 DC1-N7K-3(config-if)# switchportDC1-N7K-3(config-if)# switchport mode access DC1-N7K-3(config-if)# switchport access vlan 34 DC1-N7K-3(config-if)# no shutdown馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus
28、 L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議在N7K-3上配置OSPF(2)DC1-N7K-3(config)# interface e3/17 DC1-N7K-3(config-if)# speed 1000DC1-N7K-3(config-if)# switchport mode access DC1-N7K-3(config-if)# switchport access vlan 34 DC1-N7K-3(config-if)# no shutdownDC1-N7K-3(config)# feature interface-vlan DC1-N7K-3(config)# interf
29、ace vlan 34DC1-N7K-3(config-if)# ip address 172.16.34.3/24 DC1-N7K-3(config-if)# ip router ospf 1 area 0 DC1-N7K-3(config-if)# no shutdown馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議在N7K-4上配置OSPF(1)DC1-N7K-4(config)# feature ospf DC1-N7K-4(config)# router ospf 1 DC1-N7K-4(config-router)# exit
30、DC1-N7K-4(config)# interface e4/29DC1-N7K-4(config-if)# ip address 172.16.14.4/24 DC1-N7K-4(config-if)# ip router ospf 1 area 0 DC1-N7K-4(config-if)# no shutdownDC1-N7K-4(config)# vlan 34 DC1-N7K-4(config-vlan)# exitDC1-N7K-4(config)# interface e4/28 DC1-N7K-4(config-if)# switchportDC1-N7K-4(config-
31、if)# switchport mode access DC1-N7K-4(config-if)# switchport access vlan 34 DC1-N7K-4(config-if)# no shutdown馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議在N7K-4上配置OSPF(2)DC1-N7K-4(config)# feature interface-vlan DC1-N7K-4(config)# interface vlan 34DC1-N7K-4(config-if)# ip address 172.16.34.4/24
32、 DC1-N7K-4(config-if)# ip router ospf 1 area 0 DC1-N7K-4(config-if)# no shutdown馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議測試shutdown E4/22在N7K-3上Shutdown E4/22測試OSPF探測故障對等體的時間馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議為OSPF配置BFD技術(shù)Bidirectional Forwarding Detection(BFD) DC1-N7K-1(confi
33、g)# feature bfd DC1-N7K-1(config)# router ospf 1 DC1-N7K-1(config-router)# bfdDC1-N7K-3(config)# feature bfd DC1-N7K-3(config)# router ospf 1 DC1-N7K-3(config-router)# bfdDC1-N7K-4(config)# feature bfd DC1-N7K-4(config)# router ospf 1 DC1-N7K-4(config-router)# bfd馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹
34、 第二部分:配置動態(tài)路由協(xié)議BFD鄰居關(guān)系的建立(1).When OSPF discovers a neighbor.(2).It sends a request to the local BFD process to initiate a BFD neighbor session with the OSPF neighbor router. (3).The BFD neighbor session with the OSPF neighbor router is now established.馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)
35、議BFD鄰居關(guān)系失效檢查(1). The BFD neighbor session with the OSPF neighbor router is torn down (2). BFD notifies the local OSPF process that the BFD neighbor is no longer reachable(3). The local OSPF process tears down the OSPF neighbor relationship(4). If an alternative path is available, the routers immedia
36、tely start converging on it.Note:The BFD failure detection occurs in less than a second, which is much faster than OSPF Hello messages could detect the same failure.馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議查看BFD鄰居關(guān)系Shutdown E4/22測試,OSPF鄰居關(guān)系會立即消失:DC1-N7K-3(config)# interface e4/22 DC1-N7K-3(
37、config-if)# shutdownDC1-N7K-3# sh ip ospf neighbors OSPF Process ID 1 VRF default Total number of neighbors: 1Neighbor ID 61.128.1.1Pri State1 FULL/BDRUp Time AddressInterface00:55:37 172.16.13.1Eth4/20馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議PSS簡介 Cisco NX-OS services use the persistent st
38、orage service (PSS) to store and manage the operational run-time information. The PSS component works with system services to recover states in the event of a service restart. PSS functions as a database of state and run- time information, which allows services to make a checkpoint of their state in
39、formation whenever needed. A restarting service can recover the last known operating state that preceded a failure, which allows for a stateful restart.(Cisco NX-OS服務(wù)使用持續(xù)存儲服務(wù)(PSS)來存儲和管理操作的實時信息。PSS組件與系統(tǒng)服務(wù)一起工作,在出現(xiàn)服務(wù)重啟時,恢復(fù)這個服務(wù)的狀態(tài)。PSS的功能就像一個存儲實時信息和狀態(tài)的數(shù)據(jù)庫, 它允許服務(wù)在任何時候,制造一個它自身信息的一個檢查點。一次服 務(wù)的重啟,可以恢復(fù)到故障前的最后一
40、個已知的操作狀態(tài),它允許一次狀態(tài)話的重啟。) 馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議測試PSS(1)啟用OSPF的Debug:DC1-N7K-1# terminal monitorDC1-N7K-1# debug ip ospf adjacencyDC1-N7K-3# terminal monitorDC1-N7K-3# debug ip ospf adjacencyDC1-N7K-4# terminal monitorDC1-N7K-4# debug ip ospf adjacencyN7K-4持續(xù)Ping測試網(wǎng)絡(luò)的通訊狀況:DC
41、1-N7K-4# ping 172.16.13.1 count 100000復(fù)制殺進(jìn)程文件:DC1-N7K-1# copy bootflash:n7000-s2-debug-sh.6.1.1.gbin kill.gbin馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議測試PSS(2)查看OSPF進(jìn)程號:馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議測試PSS(3)殺掉OSPF進(jìn)程:馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議測試PSS
42、(4)查看新的OSPF進(jìn)程:在整個殺掉進(jìn)程并重新啟動進(jìn)程的過程中,OSPF鄰居關(guān)系沒有任何異常,ping測試也能完全通過。 馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議Graceful Restart介紹(1) A graceful restart, or nonstop forwarding (NSF), allows OSPFv2 to remain in the data forwarding path through a process restart. When OSPFv2 needs to perform a gracefu
43、l restart, it sends a link-local opaque (type 9) LSA, called a grace LSA (see the Opaque LSAs section). This restarting OSPFv2 platform is called NSF capable.(一個完美重啟(Graceful restart),或者不停歇發(fā)送 (NSF),允許OSPFv2在一次進(jìn)程重啟的過程中,維持?jǐn)?shù)據(jù)層面的發(fā)送。當(dāng)OSPFv2需要執(zhí)行一次完美重啟時, LSA(第九類)。 他發(fā)送一個鏈路本地馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配
44、置介紹 第二部分:配置動態(tài)路由協(xié)議Graceful Restart介紹(2) The grace LSA includes a grace period, which is a specified time that the neighbor OSPFv2 interfaces hold onto the LSAs from the restarting OSPFv2 interface. (Typically, OSPFv2 tears down the adjacency and discards all LSAs from a down or restarting OSPFv2 inte
45、rface.) The participating neighbors, which are called NSF helpers, keep all LSAs that originate from the restarting OSPFv2 interface as if the interface was still adjacent.(這種Grace LSA包括一個寬限周期,在這個時間內(nèi),鄰居OSPFv2接口保持從重啟OSPFv2接口收到的LSA。參與的鄰居, 也叫做NSF helpers。他們保持所有源自于重啟OSPFv2接口的LSA,就像這個接口依然有比鄰一樣。) 馬海波/現(xiàn)任明教
46、教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議Graceful Restart介紹(3) When the restarting OSPFv2 interface is operational again, it rediscovers its neighbors, establishes adjacency, and starts sending its LSA updates again. At this point, the NSF helpers recognize that the graceful restart has finished.(當(dāng)
47、重啟的OSPFv2接口恢復(fù)工作,他重新發(fā)現(xiàn)他的鄰 居,建立比鄰,和開始再次發(fā)送它的LSA更新。此時, NSF Helpers認(rèn)為到這一次的完美重啟已經(jīng)結(jié)束了) 馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由協(xié)議Graceful Restart介紹(4) Graceful restart is used in the following scenarios: (完美重啟用于如下環(huán)境) Second recovery attempt after the process experiences problems within a 4-minute i
48、nterval(第二個恢復(fù)的嘗試,當(dāng)一個進(jìn)程在4分鐘的間隔內(nèi)經(jīng)歷故障) Manual restart of the process using the restart ospf command(手動重啟進(jìn)程)Active supervisor removal(Active引擎被移除)Active supervisor reload using the reload module active-sup command(Active引擎重啟,使用“reload module active-sup”命令)馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第二部分:配置動態(tài)路由
49、協(xié)議測試Graceful Restart介紹N7K-4持續(xù)Ping測試網(wǎng)絡(luò)的通訊狀況:DC1-N7K-4# ping 172.16.13.1 count 100000查看重啟進(jìn)程前的進(jìn)程ID:DC1-N7K-1# show processes | in ospf15094S455fa9f09-VLospf重啟N7K-1的OSPF進(jìn)程:DC1-N7K-1# restart ospf 1查看重啟進(jìn)程后的進(jìn)程ID:DC1-N7K-1# show processes | in ospf15332S455fa9f010-VLospf斷(Ping測試),能夠看到OSPF整個重啟過程中數(shù)據(jù)層面的流量沒有鄰居
50、重新交換信息的過程。 馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第三部分:配置VTP與STP第三部分 配置VTP與STP馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第三部分:配置VTP與STPN7K-3上配置Trunk,VLAN和VTPDC1-N7K-3(config)# interface e3/21DC1-N7K-3(config-if)# switchport mode trunk DC1-N7K-3(config-if)# no shutdownDC1-N7K-3(config)# vlan 10DC1-N7K-3(conf
51、ig-vlan)# no shutdown DC1-N7K-3(config-vlan)# vlan 20DC1-N7K-3(config-vlan)# no shutdown DC1-N7K-3(config-vlan)# exitDC1-N7K-3(config)# feature vtpDC1-N7K-3(config)# vtp domain mingjiao DC1-N7K-3(config)# vtp password cisco DC1-N7K-3(config)# vtp mode server馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第三部分:
52、配置VTP與STPN5K-1上配置Trunk和VTPN5K-1(config)# interface e1/21,e1/31N5K-1(config-if-range)# switchport mode trunk N5K-1(config-if-range)# exitN5K-1(config)# feature vtpN5K-1(config)# vtp domain mingjiao N5K-1(config)# vtp password cisco N5K-1(config)# vtp mode client馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第三
53、部分:配置VTP與STPN7K-4上配置Trunk和VTPDC1-N7K-4(config)# interface e3/31DC1-N7K-4(config-if)# switchport mode trunk DC1-N7K-4(config-if)# no shutdownDC1-N7K-4(config-if)# exitDC1-N7K-4(config)# feature vtpDC1-N7K-4(config)# vtp domain mingjiao DC1-N7K-4(config)# vtp password cisco DC1-N7K-4(config)# vtp mode
54、 client馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第三部分:配置VTP與STP調(diào)整STPNX-OS支持MST和rapid-pvst兩種STP模式,默認(rèn)模式為rapid-pvstDC1-N7K-3(config)# spanning-tree vlan 10 root primary DC1-N7K-3(config)# spanning-tree vlan 20 root secondaryDC1-N7K-4(config)# spanning-tree vlan 10 root secondary DC1-N7K-4(config)# spanning-
55、tree vlan 20 root primary馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第三部分:配置VTP與STPN7K-3查看STP馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第三部分:配置VTP與STPN7K-4查看STP馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第三部分:配置VTP與STPN5K-1查看STP馬海波/現(xiàn)任明教教主Nexus交換機(jī)系列 Nexus L2 L3配置介紹 第三部分:配置VTP與STPN7K-3配置MSTDC1-N7K-3(config)# no spanning-tree vlan 10 root DC1-N7K-3(config)# no spanning-tree vlan 20 rootDC1-N7K-3(config)# spanning-tree mode mstDC1-N7K-3(config)# spanning-tree mst configuration DC1-N7K-3(config-ms
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 指標(biāo)介紹課件培訓(xùn)
- 地區(qū)社會矛盾糾紛的主要表現(xiàn)及如何做好矛盾糾紛調(diào)解工作
- 敬畏自然班會課件
- 敬畏法律的課件圖片
- 【福州】2025年福建福州市臺江區(qū)衛(wèi)健系統(tǒng)事業(yè)單位招聘工作人員22人筆試歷年典型考題及考點剖析附帶答案詳解
- 制作教學(xué)課件討論
- 【運城】2025年山西運城市稷山縣事業(yè)單位招聘工作人員38人(第一號)筆試歷年典型考題及考點剖析附帶答案詳解
- 旅游景區(qū)返利活動方案
- 文史委活動方案
- 早教課集體活動方案
- 2025年全國普通話水平測試15套復(fù)習(xí)題庫及答案
- 2025年江蘇防雷考試試題及答案
- 青年干部座談會演講稿
- 快速精確-細(xì)節(jié)畢現(xiàn)-Carto3標(biāo)測策略
- 2024年上海中考英語考綱詞匯 (一)
- 應(yīng)用文寫作(第二版)課件全套 韋濟(jì)木 第1-6章 應(yīng)用文概述-政務(wù)微博與政務(wù)微信
- 《心源性猝死》課件
- 《GMP基礎(chǔ)培訓(xùn)》課件
- 《兒童青少年體能訓(xùn)練課程指南》
- 煙氣CEMS在線比對驗收調(diào)試報告附表D.1-12計算公式(HJ-75-2017)
- 《汽車機(jī)械基礎(chǔ)》期末考試復(fù)習(xí)題庫(含答案)
評論
0/150
提交評論