
C613-50186-01 Rev B
Command Reference for AR2050V
2735
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
IP
SEC
C
OMMANDS
TUNNEL
REMOTE
SELECTOR
tunnel remote selector
Overview
Use this command to specify a destination subnet for a traffic selector pair.
Use the
no
variant of this command to unset the remote subnet for a traffic
selector pair so that it matches all destinations, i.e. 0.0.0.0/0 or ::/0 for IPv4 and IPv6,
respectively. When local and remote subnets for a traffic selector pair are both
unset, the traffic selector pair is removed.
Syntax
tunnel remote selector [<
traffic-selector-ID
>]
{<
IPv4-subnet
>|<
IPv6-subnet
>}
no tunnel remote selector [<
traffic-selector-ID
>]
Default
When no traffic selector pairs are configured there is an implicit traffic selector pair,
where the local and remote subnets are 0.0.0.0/0 or ::/0 depending on the tunnel
IPsec mode.
Mode
Interface configuration
Usage
A traffic selector pair is an agreement between IKE peers to permit trafic through a
tunnel if the traffic matches a specified pair of local and remote subnets. When the
remote selector is specified but the local selector is not, the selector pair implicitly
matches all sources.
Examples
To specify an IPv4 destination address as the traffic selector for the traffic to match
for
tunnel0
, use the commands below:
awplus#
configure terminal
awplus(config)#
interface tunnel0
awplus(config-if)#
tunnel source eth1
awplus(config-if)#
tunnel destination 10.0.0.2
awplus(config-if)#
tunnel local name office
awplus(config-if)#
tunnel mode ipsec ipv4
awplus(config-if)#
tunnel local selector 192.168.1.0/24
awplus(config-if)#
tunnel remote selector 192.168.2.0/24
When no traffic selector ID is specified the default ID value is used. By specifying a
traffic selector ID, additional selector pairs can be configured.
Parameter
Description
<traffic-selector-ID>
Traffic selector ID from 1 through 65535. If not specified the default value 1 is
used.
<ipv4-subnet>
IPv4 subnet in the format A.B.C.D/M.
<ipv6-subnet>
IPv6 subnet in the format of X:X::X:X/M