Network Service Header - Format Configuration Mode Commands

The Network Service Header (NSH) - format configuration mode is a sub-mode of the Global Configuration mode. This sub-mode defines nsh-format for encoding or decoding NSH header.

Mode

Exec > Global Configuration > Network Service Header > Network Service Header - Format Configuration

configure > nsh > nsh-format

Entering the above command sequence results in the following prompt:

[local]host_name(nsh-nshformat)# 

Important

The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).


decode

This command decodes the NSH fields to be associated with the NSH format.

Product

P-GW

SAEGW

Privilege

Security Administrator, Administrator

Mode

Exec > Global Configuration > NSH Configuration > NSH-Format Configuration

configure > nsh > nsh-format

Entering the above command sequence results in the following prompt:

[local]host_name(config-nshformats)# 

Syntax

[ no ] decode nsh-fields <nsh_fields_name> 

no

Deletes the nsh-format type.

nsh-fields

Decodes the nsh-fields to be associated with the nsh-format.

Usage Guidelines

Use this command to associate a tag value to a field.

Example

The following commands decodes the nsh-fields to be associated with the nsh-format:
decode nsh-fields F1 
The following commands deletes the nsh-format:
no decode nsh-fields F1 

encode

This command encodes the NSH fields to be associated with the NSH format.

Product

P-GW

SAEGW

Privilege

Security Administrator, Administrator

Mode

Exec > Global Configuration > NSH Configuration > NSH-Format Configuration

configure > nsh > nsh-format

Entering the above command sequence results in the following prompt:

[local]host_name(config-nshformats)# 

Syntax

[ no ] encode nsh-fields <nsh_fields_name> 

no

Deletes the nsh-format type.

nsh-fields

Encodes the nsh-fields to be associated with the nsh-format.

Usage Guidelines

Use this command to associate a tag value to a field.

Example

The following commands encodes the nsh-fields to be associated with the nsh-format:
encode nsh-fields F1 
The following commands deletes the nsh-format:
no encode nsh-fields F1 

encoding-frequency

This command defines frequency of encoding the NSH fields to be associated with the NSH format.

Product

P-GW

SAEGW

Privilege

Security Administrator, Administrator

Mode

Exec > Global Configuration > NSH Configuration > NSH-Format Configuration

configure > nsh > nsh-format

Entering the above command sequence results in the following prompt:

[local]host_name(config-nshformats)# 

Syntax

encoding-frequency { always | once-per-flow } 

encoding-frequency

Defines frequency of encoding nsh-fields.

always

Encodes nsh fields on every hit.

once-per-flow

Encodes nsh fields once per flow.

Usage Guidelines

Use this command to define the frequency of encoding the nsh fields.

Example

The following commands defines the frequency of encoding the nsh-fields to be associated with the nsh-format:
encoding-frequency always 

end

Exits the current configuration mode and returns to the Exec mode.

Product

SGSN

Privilege

Security Administrator, Administrator

Syntax

end 

Usage Guidelines

Return to the Exec mode.

exit

Exits the current configuration mode and returns to the global configuration mode.

Product

SGSN

Privilege

Security Administrator, Administrator

Syntax

exit 

Usage Guidelines

Returns to the global configuration mode.