active-charging service ruledef ip dst-address

Configures rule expressions to match IP destination address field within IP headers.

Command Mode

Exec > Global Configuration (config) > ACS Configuration (config-service-acs_name ) > Ruledef Configuration (config-ruledef-ruledef_name )

Syntax

ip dst-address operator { ip_address | ip_prefix_length | address-group ipv6_address | host-pool host_pool_name } 

address-group ipv6_address_group_name

Specify a group of IPv6 addresses configured with wildcard input and/or specialized range input. Input is accepted as a string and parsed. Multiple wildcard characters can be accepted as input and only one 2-byte range input will be accepted. Both wildcard character input and 2-byte range input can be configured together within an IPv6 address. For example, 2607:7700:*:[2020-3040]::ce1d:b083/128. * is a wildcard input. [2020-3040] is a 2-byte specialized range input.

Must be a string of 1-56 characters.

host-pool host_pool_name

Specify name of the host pool.

Must be a string of 1-63 characters.

ip-address-prefix prefix

Specify the IP address prefix.

Must be a string in the ipv4-prefix pattern. For information on the ipv4-prefix pattern, see the Input Pattern Types chapter.

-Or-

Must be a string in the ipv6-prefix pattern. For information on the ipv6-prefix pattern, see the Input Pattern Types chapter.

-Or-

Must be a string in the ipv4-address pattern. For information on the ipv4-address pattern, see the Input Pattern Types chapter.

-Or-

Must be a string in the ipv6-address pattern. For information on the ipv6-address pattern, see the Input Pattern Types chapter.

ip_address

Specify the destination IP address.

Must be one of the following:

  • dst-address : DST address.

operator

Specify how to match.

Must be one of the following:

  • != : Does not equal.

  • !range : Not in the range.

  • >= : Greater than or equal to.

  • <= : Lesser than or equal to.

  • = : Equals.

  • range : In the range.

Usage Guidelines

Use this command to define rule expressions to match the IP destination address field within IP headers.

Example

The following command defines a rule expression to match user traffic based on the IPv4 destination address 10.1.1.1:
ip dst-address = 10.1.1.1