Service Modify; Service Rename - Zte ZXR10 8900 Series Command Manual

10g routing switch
Hide thumbs Also See for ZXR10 8900 Series:
Table of Contents

Advertisement

Command
Illustration
Example
Command
Function
Command Format
Parameter
Description
Example
Command
Function
Command Format
Services are classified into default services provided by system
and user customized services. As for default services, user cannot
perform add, delete, modify and some other operations.
To add one service http8080 with protocol number to be 6 and port
id to be 8080, execute the following command:
# service add name http8080 protocol 6 port 8080

service modify

This command is used to modify one customized service.
service modify name <string1>[protocol <number1>][port
<number2>][port2 <number3>][comment <string2>]
Parameter
modify
name
<string1>
protocol
<number1>
port
<number2>
port2
<number3>
comment
<string2>
To modify port id of service http8080 to 8000, execute the follow-
ing command:
# service modify name http8080 port 8000

service rename

This command is used to rename customized service.
service rename oldname <string1> newname <string2>
Confidential and Proprietary Information of ZTE CORPORATION
Description
This modifies one service.
This specifies the name of service to be
modified.
This is one string, indicating name of
customized service.
This sets L3 or L4 protocol number.
This is one number, indicating protocol
number.
This modifies the start port, from which
service is enabled. In case only one port is
available, it only needs to set start port and
doesn't need to set end port.
This is one number, indicating id of start port.
This modifies end port of service.
This is one number, indicating id of end port.
This modifies content of comment.
This s one string, indicating the content of
comment.
Chapter 4 define
55

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents