- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
07-Service instance group commands | 35.02 KB |
Service instance group commands
display service-instance-group
Use display service-instance-group to display service instance group information.
Syntax
display service-instance-group [ service-instance-group-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
service-instance-group-name: Specifies a service instance group by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a service instance group, this command displays information about all service instance groups.
Examples
# Display information about all service instance groups.
<Sysname> display service-instance-group
Service instance group information:
Service instance group: sgrp
Failover group: test
Total service instance groups: 1
# Display information about the service instance group sgrp.
<Sysname> display service-instance-group sgrp
Service instance group: sgrp
Failover group: test
Field |
Description |
Service instance group |
Name of the service instance group. |
Failover group |
Name of the failover group associated with the service instance group. |
Total service instance groups |
Total number of service instance groups. |
failover-group
Use failover-group to associate a failover group with the service instance group.
Use undo failover-group to remove the association between the failover group and the service instance group.
Syntax
failover-group failover-group-name
undo failover-group failover-group-name
Default
A service instance group is not associated with any failover groups.
Views
Service instance group view
Predefined user roles
network-admin
Parameters
failover-group-name: Specifies a failover group by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines
A service instance group can be associated with only one failover group. A failover group can be associated with only one service instance group.
If the NAT instance with a service instance group specified has NAT entries, you are not allowed to remove the association between the service instance group and failover group.
Examples
# Associate failover group test with service instance group abc.
<Sysname> system-view
[Sysname] service-instance-group abc
[Sysname-service-instance-group-abc] failover-group test
Related commands
failover group
service-instance-group
Use service-instance-group to create a service instance group and enter its view, or enter the view of an existing service instance group.
Use undo service-instance-group to delete a service instance group.
Syntax
service-instance-group service-instance-group-name
undo service-instance-group service-instance-group-name
Default
No service instance groups exist.
Views
System view
Predefined user roles
network-admin
Parameters
service-instance-group-name: Specifies a service instance group by its name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
A service instance group can be associated with a failover.
A service instance group can be specified for multiple NAT instances.
If the NAT instance with a service instance group specified has NAT entries, you are not allowed to delete the service instance group.
Examples
# Create service instance group sgrp and enter its view.
<Sysname> system-view
[Sysname] service-instance-group sgrp
[Sysname-service-instance-group-sgrp]
Related commands
nat instance (Layer 3—IP Services Command Reference)