Service, Service -59 – Carrier Access Adit 3000 Series and Multi-Service Router (MSR) Card none User Manual

Page 185

Advertising
background image

Adit 3000 (Rel. 1.6) and MSR Card (Rel 2.0) CLI

4-59

Global Configuration Mode

Global Configuration Commands

service

Use the service command to create/modify User-Defined Services. To delete a service policy, see no
service
command on page 4-50
.

Syntax:

(config)# service id {

service-id|new} name service-name

description

text protocol {protocol-number|ah|esp|gre|icmp|tcp

|udp} [server-src-port|open-src-port]

Field

Definition

service-id

Enter a User-Defined Service number to modify. User-Defined Service ID numbers can be
displayed with the show config service command, on page 3-32

new

Will create a new User-Defined Service. Note: The system will assign an ID number. This number
will be the next available ID number in sequence (starts with 4, Note: 0-3 are configured by default).
Do not use the new option when using an Automated Provisioning System.

service-name

Enter service name, which can also be found on the show config service command, on page 3-32

description text

Enter a one word description.

protocol

Protocol to apply to this service.
protocol-number - this option allows the user to enter a protocol number to use protocols that are
not listed below.
ah - Authentication Header Protocol.
esp - Encapsulating Security Payload.
gre - Generic Routing Encapsulation.
icmp - Internet Control Message Protocol. Note: The range and a list of common settings are below.
type - Range 0-255
code - Range 0-255

Echo Reply................................................... icmp type 0 code 0
Network Unreachable .................................. icmp type 3 code 0
Host Unreachable......................................... icmp type 3 code 1
Protocol Unreachable................................... icmp type 3 code 2
Port Unreachable.......................................... icmp type 3 code 3
Destination Network Unknown ................... icmp type 3 code 6
Destination Host Unknown.......................... icmp type 3 code 7
Redirect for Network ................................... icmp type 5 code 0
Redirect for Host.......................................... icmp type 5 code 1
Echo Request ............................................... icmp type 8 code 0

tcp - Transmission Control Protocol. See source and destination port settings below.
udp - User Datagram Protocol. See source and destination port settings below.

open-src-port

Defines the open source/destination port. Syntax:
open-src-port {

port|port-port|any} open-dst-port {port|port-port|

any}

open-src-port

port - Enter the open source port to apply the service to.
port-port - Enter a range of ports to apply the service to.
any - Apply to any port.

open-dst-port

port - Enter the destination source port to apply the service to.
port-port - Enter a range of ports to apply the service to.
any - Apply to any port.

Advertising