The display service-template configuration command displays information about the default and user-defined service templates.
Usage Scenario
The display service-template configuration command can be used to check whether the configured network header length for packet adjustment is correct. If the name of a service profile is specified, the command displays the details of the service profile. If no service profile name is specified, the command displays the details of all service profiles.
Prerequisites
Service profiles have been configured.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display service-template configuration
[service-template brief information]
total number :38
slot all :38
service-template-name slot is-used
ip-inbound all no
ip-inbound1 all no
ip-inbound2 all no
l3vpn-inbound all no
l3vpn-inbound1 all no
l3vpn-inbound2 all no
pbt-inbound all no
vlan-mapping-inbound all no
vll-inbound all no
vll-inbound1 all no
vll-inbound2 all no
vpls-inbound all no
vpls-inbound1 all no
bridge-inbound all no
bridge-outbound all no
ip-outbound all no
ip-outbound1 all no
ip-outbound2 all no
ip-outbound3 all no
l3vpn-outbound all no
l3vpn-outbound1 all no
l3vpn-outbound2 all no
pbt-outbound all no
vlan-mapping-outbound all no
vll-outbound all no
vll-outbound1 all no
vpls-outbound all no
vpls-outbound1 all no
template-default0 all no
template-default1 all no
template-default2 all no
template-default3 all no
template-default4 all no
qos_om_service_tmp all no
test all no
qos_om_st8 all no
gjz all no
st0 all no
<HUAWEI> display service-template configuration verbose
[service-template detail information]
total number :33
slot all :33
service-template-name : ip-inbound
slot : all
[current configuration]
inbound network-header-length: 18
outbound network-header-length: 18
[reference relationship]
NULL
service-template-name : ip-inbound1
slot : all
[current configuration]
inbound network-header-length: 26
outbound network-header-length: 22
[reference relationship]
NULL
service-template-name : ip-inbound2
slot : all
[current configuration]
inbound network-header-length: 2
outbound network-header-length: 2
[reference relationship]
NULL
service-template-name : l3vpn-inbound
slot : all
[current configuration]
inbound network-header-length: 18
outbound network-header-length: 18
[reference relationship]
NULL
service-template-name : l3vpn-inbound1
slot : all
[current configuration]
inbound network-header-length: 26
outbound network-header-length: 22
[reference relationship]
NULL
service-template-name : l3vpn-inbound2
slot : all
[current configuration]
inbound network-header-length: 2
outbound network-header-length: 2
[reference relationship]
NULL
service-template-name : pbt-inbound
slot : all
[current configuration]
inbound network-header-length: 0
outbound network-header-length: -16
[reference relationship]
NULL
service-template-name : vlan-mapping-inbound
slot : all
[current configuration]
inbound network-header-length: 0
outbound network-header-length: -16
[reference relationship]
NULL
service-template-name : vll-inbound
slot : all
[current configuration]
inbound network-header-length: 2
outbound network-header-length: 2
[reference relationship]
NULL
service-template-name : vll-inbound1
slot : all
[current configuration]
inbound network-header-length: 2
outbound network-header-length: 2
[reference relationship]
NULL
service-template-name : vll-inbound2
slot : all
[current configuration]
inbound network-header-length: 2
outbound network-header-length: 2
[reference relationship]
NULL
service-template-name : vpls-inbound
slot : all
[current configuration]
inbound network-header-length: 2
outbound network-header-length: 2
[reference relationship]
NULL
service-template-name : vpls-inbound1
slot : all
[current configuration]
inbound network-header-length: 8
outbound network-header-length: 8
[reference relationship]
NULL
service-template-name : bridge-inbound
slot : all
[current configuration]
inbound network-header-length: 0
outbound network-header-length: -16
[reference relationship]
NULL
service-template-name : bridge-outbound
slot : all
[current configuration]
inbound network-header-length: 2
outbound network-header-length: 4
[reference relationship]
NULL
service-template-name : ip-outbound
slot : all
[current configuration]
inbound network-header-length: 18
outbound network-header-length: 22
[reference relationship]
NULL
service-template-name : ip-outbound1
slot : all
[current configuration]
inbound network-header-length: 26
outbound network-header-length: 26
[reference relationship]
NULL
service-template-name : ip-outbound2
slot : all
[current configuration]
inbound network-header-length: 8
outbound network-header-length: 8
[reference relationship]
NULL
service-template-name : ip-outbound3
slot : all
[current configuration]
inbound network-header-length: 8
outbound network-header-length: 8
[reference relationship]
NULL
service-template-name : l3vpn-outbound
slot : all
[current configuration]
inbound network-header-length: 18
outbound network-header-length: 22
[reference relationship]
NULL
service-template-name : l3vpn-outbound1
slot : all
[current configuration]
inbound network-header-length: 26
outbound network-header-length: 26
[reference relationship]
NULL
service-template-name : l3vpn-outbound2
slot : all
[current configuration]
inbound network-header-length: 8
outbound network-header-length: 8
[reference relationship]
NULL
service-template-name : pbt-outbound
slot : all
[current configuration]
inbound network-header-length: 18
outbound network-header-length: 18
[reference relationship]
NULL
service-template-name : vlan-mapping-outbound
slot : all
[current configuration]
inbound network-header-length: 18
outbound network-header-length: 18
[reference relationship]
NULL
service-template-name : vll-outbound
slot : all
[current configuration]
inbound network-header-length: 2
outbound network-header-length: 4
[reference relationship]
NULL
service-template-name : vll-outbound1
slot : all
[current configuration]
inbound network-header-length: 2
outbound network-header-length: 4
[reference relationship]
NULL
service-template-name : vpls-outbound
slot : all
[current configuration]
inbound network-header-length: 8
outbound network-header-length: 8
[reference relationship]
NULL
service-template-name : vpls-outbound1
slot : all
[current configuration]
inbound network-header-length: 8
outbound network-header-length: 8
[reference relationship]
NULL
service-template-name : template-default0
slot : all
[current configuration]
inbound network-header-length: 18
outbound network-header-length: 18
[reference relationship]
NULL
service-template-name : template-default1
slot : all
[current configuration]
inbound network-header-length: 0
outbound network-header-length: 0
[reference relationship]
NULL
service-template-name : template-default2
slot : all
[current configuration]
inbound network-header-length: 0
outbound network-header-length: 0
[reference relationship]
NULL
service-template-name : template-default3
slot : all
[current configuration]
inbound network-header-length: 0
outbound network-header-length: 0
[reference relationship]
NULL
service-template-name : template-default4
slot : all
[current configuration]
inbound network-header-length: 0
outbound network-header-length: 0
[reference relationship]
NULL
Item | Description |
---|---|
total number | Number of service profiles. |
slot all | Number of service profiles. |
service-template-name | Name of a service profile. |
is-used | Whether a service profile is used. |
inbound network-header-length | Network header length in the inbound direction. |
outbound network-header-length | Network header length in the outbound direction. |