# ACS Port Map Configuration Mode Commands

The ACS Port Map Configuration Mode is used to define an application-port mapping in the ACS Configuration Mode. The application-port map associates a range of ports to a specific application/protocol within a rule definition (ruledef).

IMPORTANT:

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

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

All
Privilege:

Security Administrator, Administrator
Syntax

    end

Usage:

Use this command to return to the Exec mode.
exit

Exits the current mode and returns to the parent configuration mode.
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    exit

Usage:

Use this command to return to the parent configuration mode.
port

This command allows you to add/remove an individual or a range of port numbers associated with an application or protocol from the current port map.
Platform:

ASR 5000

ASR 5500
Product:

All
Privilege:

Security Administrator, Administrator
Syntax

    [ no ] port { port_number | range start_port_number to end_port_number }

no

If added previously, removes the specified port(s) from the current port map.
port_number

Specifies a port number to add to the current port map.

port_number must be a port number, and must be an integer from 1 through 65535.
range start_port_number to end_port_number

Specifies a range of port numbers to add to the current port map.

start_port_number specifies the starting port number of the range, it must be an integer from 1 through 65535, and must be less than end_port_number.

end_port_number specifies the ending port number of the range, it must be an integer from 1 through 65535, and must be greater than start_port_number.
Usage:

Use this command to add an individual or a range of port numbers to a port map. Up to 10 sets of ports can be configured in each port map.
Example:
The following command adds all port numbers from 3112 through 5000 to the port map:

    port range 3112 to 5000