簡介
本文檔介紹在StarOS上停止服務功能(SF)/控制功能(CF)卡的步驟。
必要條件
需求
思科建議您瞭解虛擬資料包核心解決方案元件。
採用元件
本檔案中的資訊是根據思科虛擬封包資料網路閘道(VPGW)。
本文中的資訊是根據特定實驗室環境內的裝置所建立。文中使用到的所有裝置皆從已清除(預設)的組態來啟動。如果您的網路運作中,請確保您瞭解任何指令可能造成的影響。
背景資訊
卡停止導致操作功能限制。在從系統中卸下任何活動卡之前,建議將其設定為備用或停止。卸下任何活動卡都會對系統造成負面影響。卡暫停使卡處於離線狀態,然後可以輕鬆地將其從系統中刪除。
在虛擬分組核心節點中停止SF/CF卡的過程
1. 使用show card table命令確定要停止的卡。
舉例來說:
[ABCD]XYZ# show card table
Tuesday July 14 05:17:03 UTC 2020
Slot Card Type Oper State SPOF Attach
----------- -------------------------------------- ------------- ---- ------
1: CFC Control Function Virtual Card Active Yes
2: CFC Control Function Virtual Card Standby -
3: FC 2-Port Service Function Virtual Card Active No
4: FC 2-Port Service Function Virtual Card Active No
5: FC 2-Port Service Function Virtual Card Active No
6: FC 2-Port Service Function Virtual Card Standby -
7: FC 2-Port Service Function Virtual Card Active No
8: FC 2-Port Service Function Virtual Card Active No
2. 停牌5號卡。
[ABCD]XYZ# card halt 5
Thursday August 05 05:44:35 UTC 2021
Are you sure? [Yes|No]: yes
Thursday August 05 05:44:39 UTC 2021
3. 檢查卡是否已開始從暫停的卡遷移到備用卡。
[ABCD]XYZ# show card table
Thursday August 05 05:44:46 UTC 2021
Slot Card Type Oper State SPOF Attach
----------- -------------------------------------- ------------- ---- ------
1: CFC Control Function Virtual Card Active No
2: CFC Control Function Virtual Card Standby -
3: FC 2-Port Service Function Virtual Card Active Yes
4: FC 2-Port Service Function Virtual Card Active Yes
5: FC 2-Port Service Function Virtual Card Migrate From -
6: FC 2-Port Service Function Virtual Card Migrate To -
7: FC 2-Port Service Function Virtual Card Active Yes
8: FC 2-Port Service Function Virtual Card Active Yes
4. 停用的卡變為離線。
[ABCD]XYZ# show card table
Thursday August 05 05:45:08 UTC 2021
Slot Card Type Oper State SPOF Attach
----------- -------------------------------------- ------------- ---- ------
1: CFC Control Function Virtual Card Active No
2: CFC Control Function Virtual Card Standby -
3: FC 2-Port Service Function Virtual Card Active Yes
4: FC 2-Port Service Function Virtual Card Active Yes
5: FC 2-Port Service Function Virtual Card Offline -
6: FC 2-Port Service Function Virtual Card Active Yes
7: FC 2-Port Service Function Virtual Card Active Yes
8: FC 2-Port Service Function Virtual Card Active Yes
5. 如果要將此卡帶回系統,需要將其重新啟動。
[ABCD]XYZ# card reboot 5
Thursday August 05 05:45:27 UTC 2021
6. 重新啟動後進入待機狀態。
[ABCD]XYZ# show card table
Thursday August 05 05:47:48 UTC 2021
Slot Card Type Oper State SPOF Attach
----------- -------------------------------------- ------------- ---- ------
1: CFC Control Function Virtual Card Active No
2: CFC Control Function Virtual Card Standby -
3: FC 2-Port Service Function Virtual Card Active No
4: FC 2-Port Service Function Virtual Card Active No
5: FC 2-Port Service Function Virtual Card Standby -
6: FC 2-Port Service Function Virtual Card Active No
7: FC 2-Port Service Function Virtual Card Active No
8: FC 2-Port Service Function Virtual Card Active No
其他資訊
1. 系統無法選擇停止「控制功能」卡。
[ABCD]XYZ# card halt
3..8
>> System gives options from card 3, as card 1 & 2 is reserved for CF cards
2. 如果強制嘗試停止控制功能卡,則會出現此錯誤消息。
[ABCD]XYZ# card halt 2
Unknown command - "2?", card not present or unrecognized keyword