22.09.2013 Views

Cisco IOS Security Command Reference

Cisco IOS Security Command Reference

Cisco IOS Security Command Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Security</strong> <strong>Command</strong>s<br />

January 2008<br />

<strong>Cisco</strong> <strong>IOS</strong> <strong>Security</strong> <strong>Command</strong> <strong>Reference</strong><br />

crypto map local-address<br />

However, if you use a local-address for that crypto map set, it has multiple effects:<br />

Only one IPSec security association database will be established and shared for traffic through both<br />

interfaces.<br />

The IP address of the specified interface will be used as the local address for IPSec (and IKE) traffic<br />

originating from or destined to that interface.<br />

One suggestion is to use a loopback interface as the referenced local address interface, because the<br />

loopback interface never goes down.<br />

Examples The following example assigns crypto map set “mymap” to the S0 interface and to the S1 interface.<br />

When traffic passes through either S0 or S1, the traffic will be evaluated against the all the crypto maps<br />

in the “mymap” set. When traffic through either interface matches an access list in one of the “mymap”<br />

crypto maps, a security association will be established. This same security association will then apply to<br />

both S0 and S1 traffic that matches the originally matched IPSec access list. The local address that IPSec<br />

will use on both interfaces will be the IP address of interface loopback0.<br />

interface S0<br />

crypto map mymap<br />

interface S1<br />

crypto map mymap<br />

crypto map mymap local-address loopback0<br />

Related <strong>Command</strong>s <strong>Command</strong> Description<br />

crypto map (interface IPSec) Applies a previously defined crypto map set to an<br />

interface.<br />

SEC-565

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!