< Home

service (SACG interworking policy rule view)

Function

The service command sets a service in a SACG interworking policy rule.

The undo service command deletes a service from a SACG interworking policy rule.

Format

service { service-name &<1-6> | any }

undo service { service-name &<1-6> | all }

Parameters

Parameter Description Value
service-name &<1-6> Specifies the name of a service or service group. The value must be the name of an existing service or service group. You can add or delete a maximum of six services or service groups at a time.
any Indicates any service. -
all Deletes all services from a SACG interworking policy rule. -

Views

SACG interworking policy rule view

Default Level

2: Configuration level

Usage Guidelines

The service or service group referenced in a SACG interworking policy rule can be either a predefined or user-defined service or service group. You can use the ip service-set command to configure user-defined services and service groups. The system provides predefined services. You can run the display predefined-service command to view details on predefined services.

SACG interworking policy rules cannot reference the predefined services with dynamic ports, namely, the predefined services whose ports are identified as dynamic port.

Example

# Set the service in SACG interworking policy rule rule1 to ssh.

<sysname> system-view
[sysname] rightm-policy
[sysname-policy-rightm] rule name rule1
[sysname-policy-rightm-rule-rule1] service ssh
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >