本產品的文件集力求使用無偏見用語。針對本文件集的目的,無偏見係定義為未根據年齡、身心障礙、性別、種族身分、民族身分、性別傾向、社會經濟地位及交織性表示歧視的用語。由於本產品軟體使用者介面中硬式編碼的語言、根據 RFP 文件使用的語言,或引用第三方產品的語言,因此本文件中可能會出現例外狀況。深入瞭解思科如何使用包容性用語。
思科已使用電腦和人工技術翻譯本文件,讓全世界的使用者能夠以自己的語言理解支援內容。請注意,即使是最佳機器翻譯,也不如專業譯者翻譯的內容準確。Cisco Systems, Inc. 對這些翻譯的準確度概不負責,並建議一律查看原始英文文件(提供連結)。
本文檔介紹在Ultra-M設定中更換故障主幹交換機(Nexus 9236C)所需的步驟。
此過程適用於通過NEWTON版本的Openstack環境,其中ESC不管理Cisco Prime Access Registrar(CPAR),而CPAR直接安裝在Openstack上部署的VM上。
Ultra-M是經過預打包和驗證的虛擬化移動資料包核心解決方案,旨在簡化VNF的部署。Ultra-M設定中的伺服器連線到三種不同型別的交換機:
此圖顯示Ultra-M安裝程式的網路拓撲:
附註:網路拓撲只是一個表示形式,交換機之間的連線可能略有不同,具體取決於所部署的解決方案。
本文檔面向熟悉Cisco Ultra-M設定和Catalyst交換機操作的思科人員。
VNF | 虛擬網路功能 |
骨幹 | 作為主幹的Nexus 9236C交換器 |
澳門幣 | 程式方法 |
LAN | 區域網 |
FTP | 檔案傳輸通訊協定 |
TFTP | 簡單式檔案傳輸通訊協定 |
CIMC | 思科整合式管理控制器 |
此圖顯示了替換過程的高級工作流。
在交換器更換之前,請先透過FTP/TFTP從主幹交換器備份組態檔。
AL03-N9236c-POD2-spine1# copy running-config sftp:
Enter destination filename: [AL03-N9236c-POD2-spine1-running-config] backup-spine-cfg-2
Enter vrf (If no input, current vrf 'default' is considered): management
Enter hostname for the sftp server: 10.1.1.1
Enter username: root
The authenticity of host '10.1.1.1 (10.1.1.1)' can't be established.
ECDSA key fingerprint is SHA256:dnHSXQ6fyYX5v8DU87oqVkCoA8CSPW7CpT+o2qilNI4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.1.1.1' (ECDSA) to the list of known hosts.
root@10.1.1.1's password:
Connected to 10.1.1.1.
sftp> put /var/tmp/vsh/backup-spine-cfg-2 backup-spine-cfg-2
Uploading /var/tmp/vsh/backup-spine-cfg-2 to /root/backup-spine-cfg-2
/var/tmp/vsh/backup-spine-cfg-2 0% 0 0.0KB/s --:-- ETA /var/tmp/vsh/backup-spine-cfg-2 100% 11KB 11.2KB/s 00:00
sftp> exit
Copy complete, now saving to disk (please wait)...
Copy complete.
步驟1.檢查交換器中執行的目前軟體版本,並記下它。
AL03-N9236c-POD2-spine1# show ver
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (C) 2002-2018, Cisco and/or its affiliates.
All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under their own
licenses, such as open source. This software is provided "as is," and unless
otherwise stated, there is no warranty, express or implied, including but not
limited to warranties of merchantability and fitness for a particular purpose.
Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or
GNU General Public License (GPL) version 3.0 or the GNU
Lesser General Public License (LGPL) Version 2.1 or
Lesser General Public License (LGPL) Version 2.0.
A copy of each such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://opensource.org/licenses/gpl-3.0.html and
http://www.opensource.org/licenses/lgpl-2.1.php and
http://www.gnu.org/licenses/old-licenses/library.txt.
Software
BIOS: version 07.59
NXOS: version 7.0(3)I7(3)
BIOS compile time: 08/26/2016
NXOS image file is: bootflash:///nxos.7.0.3.I7.3.bin
NXOS compile time: 2/12/2018 13:00:00 [02/12/2018 19:13:48]
Hardware
cisco Nexus9000 C9236C chassis
Intel(R) Xeon(R) CPU @ 1.80GHz with 16400560 kB of memory.
Processor Board ID FDO211613CA
Device name: AL03-N9236c-POD2-spine1
bootflash: 53298520 kB
Kernel uptime is 134 day(s), 14 hour(s), 48 minute(s), 25 second(s)
Last reset at 705173 usecs after Fri Mar 2 17:56:31 2018
Reason: Reset due to upgrade
System version: 7.0(3)I5(2)
Service:
plugin
--More-- Core Plugin, Ethernet Plugin
Active Package(s):
步驟2.檢查當前的許可證使用情況。
AL03-N9236c-POD2-spine1# show license uasgesage
Feature Ins Lic Status Expiry Date Comments
Count
--------------------------------------------------------------------------------
N9K_LIC_1G No - Unused -
VPN_FABRIC No - Unused -
FCOE_NPV_PKG No - Unused -
SECURITY_PKG No 0 Unused -
N9K_UPG_EX_10G No - Unused -
TP_SERVICES_PKG No - Unused -
NXOS_ADVANTAGE_GF No - Unused -
NXOS_ADVANTAGE_M4 No - Unused -
NXOS_ADVANTAGE_XF No - Unused -
NXOS_ESSENTIALS_GF No - Unused -
NXOS_ESSENTIALS_M4 No - Unused -
NXOS_ESSENTIALS_XF No - Unused -
SAN_ENTERPRISE_PKG No - Unused -
PORT_ACTIVATION_PKG No 0 Unused -
NETWORK_SERVICES_PKG No - Unused -
NXOS_ADVANTAGE_M8-16 No - Unused -
NXOS_ESSENTIALS_M8-16 No - Unused -
FC_PORT_ACTIVATION_PKG No 0 Unused -
LAN_ENTERPRISE_SERVICES_PKG Yes - In use Never -
--------------------------------------------------------------------------------
步驟3.確保連線到交換機埠通道、Vlan以及埠狀態的物理電纜完好無損。
AL03-N9236c-POD2-spine1# show interface status | grep connected
mgmt0 -- connected routed full 100 --
Eth1/1 Connected to leaf1 connected trunk full 100G QSFP-100G-AOC5M
Eth1/2 Connected to leaf1 connected trunk full 100G QSFP-100G-AOC5M
Eth1/4 Connected to leaf2 connected trunk full 100G QSFP-100G-AOC5M
Eth1/5 Connected to leaf2 connected trunk full 100G QSFP-100G-AOC5M
Eth1/7 Connected to Leaf3 connected trunk full 100G QSFP-100G-AOC5M
Eth1/8 Connected to Leaf3 connected trunk full 100G QSFP-100G-AOC5M
Eth1/10 connect leaf4 connected trunk full 100G QSFP-100G-AOC5M
Eth1/11 connect leaf4 connected trunk full 100G QSFP-100G-AOC5M
Eth1/21/1 Connected to NMNET connected 101 full 10G QSFP-40G-SR4
Eth1/29 Connected to AL04- connected trunk full 100G QSFP-100G-AOC5M
Eth1/30 Connected to AL04- connected trunk full 100G QSFP-100G-AOC5M
Eth1/36/1 connected to ARG | connected routed full 10G QSFP-40G-SR4
Eth1/36/2 connected to ARG | disabled routed auto auto QSFP-40G-SR4
Eth1/36/3 connected to ARG | disabled routed auto auto QSFP-40G-SR4
Eth1/36/4 connected to ARG | disabled routed auto auto QSFP-40G-SR4
Po10 -- connected routed full 10G --
Po10.3101 -- connected routed full 10G --
Po10.3109 -- connected routed full 10G --
Po18 -- connected trunk full 100G --
Po21 -- connected trunk full 100G --
Po22 -- connected trunk full 100G --
Po25 -- connected trunk full 100G --
Po26 -- connected trunk full 100G --
Lo1 -- connected routed auto auto --
Vlan101 -- connected routed auto auto --
Vlan1025 vPCRF 1 and vPCRF connected routed auto auto --
Vlan1026 Replication for vP connected routed auto auto --
Vlan1031 External Traffic v connected routed auto auto --
Vlan1032 External External connected routed auto auto --
Vlan1033 External Traffic connected routed auto auto --
Vlan1034 External Traffic v connected routed auto auto --
Vlan1035 External Traffic v connected routed auto auto --
Vlan1036 External Traffic v connected routed auto auto --
Vlan1041 External Traffic A connected routed auto auto --
Vlan1042 External Traffic A connected routed auto auto --
Vlan1043 External Traffic A connected routed auto auto --
Vlan2601 Global Interchassi connected routed auto auto --
Vlan2602 NMNET Interchassis connected routed auto auto --
步驟4.確保BGP鄰居已啟動。
AL03-N9236c-POD2-spine1# show ip bgp summary vrf all
BGP summary information for VRF NMNET, address family IPv4 Unicast
BGP router identifier 10.225.247.201, local AS number 65361
BGP table version is 2, IPv4 Unicast config peers 2, capable peers 1
0 network entries and 0 paths using 0 bytes of memory
BGP attribute entries [0/0], BGP AS path entries [0/0]
BGP community entries [0/0], BGP clusterlist entries [0/0]
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.100.6 4 65361 193834 193833 2 0 0 19w1d 0
10.250.180.185 4 65137 0 0 0 0 0 19w1d Idle
BGP summary information for VRF default, address family IPv4 Unicast
BGP router identifier 10.0.200.1, local AS number 65361
BGP table version is 161, IPv4 Unicast config peers 2, capable peers 2
18 network entries and 29 paths using 5700 bytes of memory
BGP attribute entries [3/480], BGP AS path entries [1/6]
BGP community entries [0/0], BGP clusterlist entries [0/0]
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.100.2 4 65361 3868481 3868419 161 0 0 19w1d 12
10.163.140.225 4 65137 3868521 3868365 161 0 0 19w1d 5
AL03-N9236c-POD2-spine1# show ipv6 bgp summary vrf all
步驟5.確保BFD鄰居狀態為開啟。
AL03-N9236c-POD2-spine1# show bfd neighbors vrf all
OurAddr NeighAddr LD/RD RH/RS Holdown(mult) State Int Vrf
10.163.140.226 10.163.140.225 1090519042/1090519042 Up 107(3) Up Po10.3101 default
AL03-N9236c-POD2-spine1# show bfd ipv6 neighbor vrf all
步驟1.將新交換機安裝到機架中,並將電纜連線到交換機,如前所述。交換機的安裝步驟可以在以下連結中找到: 骨幹Nexus 236C NX-OS模式交換機硬體安裝指南
步驟2.檢查Nexus主幹交換機的軟體版本,並根據給定連結升級/降級至軟體版本: Cisco Nexus 9000系列NX-OS軟體升級和降級指南7.x版
步驟3.將配置備份傳輸到新交換機,並將該配置複製到啟動配置。
server-backup$ sftp admin@10.1.1.1
The authenticity of host '10.1.1.1 (10.1.1.1)' can't be established.
RSA key fingerprint is SHA256:fnbUmd2mL5yE94zxrRoKAlvYfQbheXJfQox7m3XfpIU.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.1.1.1' (RSA) to the list of known hosts.
User Access Verification
Password:
Password:
Connected to 10.1.1.1.
sftp> ls
20170607_193430_poap_15489_1.log 20170607_193430_poap_15489_2.log 20170607_193430_poap_15489_init.log backup-spine-cfg-2 backup-spine.cfg
backup_run_02152018 bios_daemon.dbg cfg-july25th cfg-july25th-spine1 flash:
flash:cfg-aug8th-ybattina-afterNSO flash:cfg-jul28th home l3-cfg-aug10th license_FDO211406K1_16.lic
lost+found nxos.7.0.3.I4.4.bin nxos.7.0.3.I5.2.bin nxos.7.0.3.I7.3.bin platform-sdk.cmd
scripts spine-config-bkp starat virtual-instance vlan.dat 100% 33KB 21.7KB/s 00:01
sftp> put backup-spine-cfg-2
Uploading backup-spine-cfg-2 to /backup-spine-cfg-2
backup-spine-cfg-2 100% 33KB 23.5KB/s 00:01
sftp> bye
AL03-N9236c-POD2-spine1# copy bootflash:///backup-spine-cfg-2 startup-config
Copy progress 100% 33KB
Copy complete, now saving to disk (please wait)...
Copy complete.
步驟4.載入備份組態後,重新載入交換器。
AL03-N9236c-POD2-spine1#reload
交換機可供訪問後,通過主幹交換機上的這些命令執行運行狀況檢查,以驗證更換的交換機是否處於預期狀態。
AL03-N9236c-POD2-spine1# show port-channel summary
AL03-N9236c-POD2-spine1# show ip bgp summary vrf all
AL03-N9236c-POD2-spine1# show ipv6 bgp summary vrf all
AL03-N9236c-POD2-spine1# show bfd neighbor vrf all
AL03-N9236c-POD2-spine1# show bfd ipv6 neighbor vrf all