local-address

Last Updated : Oct 26, 2015 |

Sets the local IP address for the IPSec tunnels derived from the crypto-list. Use no local-address to delete the local IP address.

Note:

Configure a local address before activating a list.

You cannot change or delete the local address of an active list.

Syntax

[no] local-address {ip-interface-address | ip-interface-name-id}

Parameters

Parameter

Description

Possible Values

Default Value

ip-interface-address

The IP address of an IP interface of the device

ip-interface-name-id

The name of an IP interface of the device

User level

read-write

Context

ip crypto-list

Examples

To set the local IP address for the IPSec tunnels to 192.168.49.1:

Gxxx-001(crypto 901)# local-address 192.168.49.1

To set the local IP address for the IPSec tunnels to that of the FastEthernet :

Gxxx-001(crypto 901)# local-address FastEthernet