简介
本文档介绍在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