此过程说明如何在层次结构级别使用 [edit unified-edge gateways tdf gateway-name system session-pics interface] 维护模式删除服务 PIC。服务 PIC 可以是聚合多服务 (AMS) 接口。服务 PIC 在宽带网关上执行与数据包相关的服务。
- 验证此服务 PIC 的维护模式当前状态。
user@host> show unified-edge tdf gateway-name system interfaces service-mode
该 service-mode 选项显示有关维护模式和状态的信息详细信息。
Maintenance Mode
MM Active Phase - System is ready to accept configuration changes for all
attributes of this object and its sub-hierarchies.
MM In/Out Phase - System is ready to accept configuration changes only for
non-maintenance mode attributes of this object and
its sub-hierarchies.
Interface Name Gateway Name Service Mode
ms-1/0/0 SCG1 Operational
ms-1/1/0 SCG1 Operational
ms-2/0/0 SCG1 Operational
ms-2/1/0 SCG1 Operational
pfe-0/0/0 SCG1 Operational
pfe-0/1/0 SCG1 Operational
pfe-0/2/0 SCG1 Operational
pfe-0/3/0 SCG1 Operational
ams1 SCG1 Operational
- 在配置模式下,将接口置于维护模式。
[edit]
user@host# set unified-edge gateways tdf gateway-name system session-pics interface interface-name service-mode maintenance
user@host# commit
- 验证服务 PIC 是否处于活动维护模式,接受此对象及其所有子层级的配置更改。
[edit]
user@host> show unified-edge tdf gateway-name system interfaces service-mode
Maintenance Mode
MM Active Phase - System is ready to accept configuration changes for all
attributes of this object and its sub-hierarchies.
MM In/Out Phase - System is ready to accept configuration changes only for
non-maintenance mode attributes of this object and
its sub-hierarchies.
Interface Name Gateway Name Service Mode
ms-1/0/0 SCG1 Operational
ms-1/1/0 SCG1 Operational
ms-2/0/0 SCG1 Maintenance - Active Phase
ms-2/1/0 SCG1 Operational
pfe-0/0/0 SCG1 Operational
pfe-0/1/0 SCG1 Operational
pfe-0/2/0 SCG1 Operational
pfe-0/3/0 SCG1 Operational
ams1 SCG1 Operational
注意:
由服务 PIC 提供服务的所有订阅者必须归零。您可以等待满足这些条件,也可以使用接口(或网关)的命令强制 clear 执行这些条件。
- 删除服务 PIC,退出维护模式,然后提交更改。
注意:
删除服务 PIC 会自动退出已删除 PIC 的维护模式。
[edit]
user@host# delete unified-edge gateways tdf gateway-name system interface interface-name
user@host# commit