781
Object group commands
description
Use
description
to configure a description for an object group.
Use
undo description
to restore the default.
Syntax
description text
undo description
Default
No description is configured for an object group.
Views
Object group view
Predefined user roles
network-admin
Parameters
text
: Specifies a description, a case-sensitive string of 1 to 127 characters.
Examples
# Configure the description as
This is an IPv4 object-group
for an IPv4 address object group.
<Sysname> system-view
[Sysname] object-group ip address ipgroup
[Sysname-obj-grp-ip-ipgroup]
description This is an IPv4 object-group
display object-group
Use
display object-group
to display information about object groups.
Syntax
display object-group
[ { {
ip
|
ipv6
}
address
|
service
|
port
} [
default
] [
name
object-group-name
] |
name
object-group-name
]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
ip address
: Specifies the IPv4 address object groups.
ipv6 address
: Specifies the IPv6 address object groups.
port
: Specifies the port object groups.
service
: Specifies the service object groups.
default
: Specifies the default object groups.