netdestination host |position | network

Syntax

netdestination <NAME-STR> [host <IP-ADDR>
 [position <NUM>] network <IP-ADDR/MASK-LENGTH>
 [position <NUM>]]
no netdestination <NAME-STR> [host <IP-ADDR>
 [position <NUM>] network <IP-ADDR/MASK-LENGTH>
 [position <NUM>]]

Description

Net-destination is a list of hosts, networks, or subnets that are used to configure an ACL or classifier rule.

Parameters

host

Configures a single IPv4 host.

network

An IPv4 subnet consisting of an IP address and netmask.

position

Specifies the position of a host, network, or range in the net-destination. This optional parameter is specific to a net-destination and is used to sort entries in a list. Position is required to remove a host entry.

Example
netdestination "src-ip"
   host 10.0.100.12 position 218
   host 10.91.1.1 position 219
   host 10.120.0.1 position 220
   exit
 netdestination "destn-ip"
   host 10.93.24.1 position 219
   host 16.90.51.12 position 220
   exit