更改 TDF 网关上的 AMS 接口参数
此过程说明如何在层次结构级别使用 [edit interfaces] 维护模式更改 TDF 网关上的聚合多服务 (AMS) 接口的参数。如果在网关的会话 PIC 或服务 PIC 下配置了 AMS 接口,并且您更改了任何负载均衡选项,如 AMS 接口成员资格 (MAM),则 AMS 接口必须处于维护模式。
使用维护模式更改 AMS 参数之前:
请确保此更改已与受影响的组和用户协调。
要配置维护模式和 AMS 参数更改:
- 验证 AMS 维护模式的当前状态。
[edit] 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 - 在配置模式下,显示 AMS 接口的当前配置。
user@host# show interfaces interface-name load-balancing-options { member-interface mams-4/1/0; member-interface mams-5/1/0; member-failure-options { redistribute-all-traffic { enable-rejoin; } } high-availability-options { many-to-one { preferred-backup mams-5/1/0; } } } unit 1 { family inet; } unit 2 { family inet; } - 在网关上,将接口置于维护模式。
[edit] user@host# set unified-edge tdf gateway-name system interface interface-name service-mode maintenance user@host# commit
- 验证 AMS 接口是否处于活动维护模式,在您提交配置后,可以接受此对象及其所有子层次结构的配置更改。
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 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 Maintenance - Active Phase注意:AMS 接口服务的所有用户都必须归零。您可以等待满足这些条件,也可以使用接口(或网关)的命令强制
clear执行这些条件。 - 删除或更改 AMS 成员接口和参数。
user@host> show unified-edge tdf gateway-name system interfaces service-mode [edit unified-edge] user@host# delete unified-edge tdf gateway-name system interface interface-name load-balancing-options member-interface mams-interface-name [edit interfaces] user@host# set interfaces interface-name load-balancing-options member-interface mams-interface-name user@host# delete interfaces interface-name load-balancing-options high-availability-options many-to-one preferred-backup mams-interface-name user@host# set interfaces interface-name load-balancing-options high-availability-options many-to-one preferred-backup mams-interface-name
- 退出维护模式并提交更改。
user@host# delete unified-edge tdf gateway-name system interface interface-name service-mode maintenance user@host# commit