- Table of Contents
-
- 14-High Availability Command Reference
- 00-Preface
- 01-Ethernet OAM commands
- 02-CFD commands
- 03-DLDP commands
- 04-Monitor Link commands
- 05-S-Trunk commands
- 06-Error code detection commands
- 07-VRRP commands
- 08-VSRP commands
- 09-Failover group commands
- 10-Service instance group commands
- 11-BFD commands
- 12-Track commands
- 13-Process placement commands
- Related Documents
-
Title | Size | Download |
---|---|---|
10-Service instance group commands | 52.29 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
For inter-system service backup, you can associate a service instance group with only one failover group. The nodes in the failover group must belong to different systems.
For intra-system service backup, you can associate a service instance group with one or multiple failover groups. The nodes in the failover groups must belong to the same system.
· If you associate a service instance group with one failover group, the nodes in the failover group perform NAT service backup globally.
· If you associate a service instance group with multiple failover groups, NAT service backup loads are distributed among the failover groups. Each failover group also backs up services between its nodes. You can associate a service instance group with a maximum of four failover groups.
For more information about failover groups, see High Availability Configuration Guide.
You cannot use a service instance group for both inter-system and intra-system service backup.
You cannot associate a service instance group with multiple failover groups if the service instance group has been associated with a NAT instance that has one of the following settings:
· Address ranges configured by using the address command for a NAT address group that provides the outbound dynamic NAT service.
· NO-PAT.
· Static NAT.
· Global NAT address group that has multiple NAT instance associations.
· NAT server mapping that maps one public IP address to multiple private IP addresses.
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
# Associate failover groups test1 and test2 with service instance group abc.
<Sysname> system-view
[Sysname] service-instance-group abc
[Sysname-service-instance-group-abc] failover-group test1
[Sysname-service-instance-group-abc] failover-group test2
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 failover groups.
A service instance group can be specified for only one NAT instance.
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)