Configuring a service object group

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure a service object group and enter its view.

object-group service object-group-name

The system has multiple default service object groups.

3. (Optional.) Configure a description for the service object group.

description text

By default, an object group does not have a description.

4. Configure a service object.

[ object-id ] service { protocol [ { source { { eq | lt | gt } port | range port1 port2 } | destination { { eq | lt | gt } port | range port1 port2 } } * | icmp-type icmp-code | icmpv6-type icmpv6-code ] | group-object object-group-name }

By default, no objects exist.