Crypto Map Mode Commands
14-110 Configuring the VPN
Sample Output
Thefollowingoutputdisplayswhenamasterkeyisgenerated:
XSR(config)#crypto key master generate
New key is 8573 4583 3994 2ff5
183b 4bdf fe92 dbc1
1132 ffe0 f8d9 3759
Ascriptdisplayswhenamasterkeyisspecified,promptingyouforthefollowinginformation:
XSR(config)#crypto key master specify
Specify first encryption key in hex digits: []: 8573 4583 3994 2ff5
Specify second encryption key in hex digits: []: 183b 4bdf fe92 dbc1
Specify third encryption key in hex digits: []: 1132 ffe0 f9d9 3759
Are you sure? [y]:

Crypto Map Mode Commands

crypto map (Global IPSec)

Thiscommandcreatesormodifiesacryptomapentry.ItalsoacquiresCryptoMapmode.Along
withthesettingofatransformset,thisconstitutesIPSecPhase2configuration.
InCryptoMapmode,thefollowingsubcommandsareavailable:
match address ‐CorrelatesACLstomap.Refertopage14111forthecommanddefinition.
mode ‐Selectsencapsulationtype‐tunnelortransport‐foratransformset.Referto
page14112forthecommanddefinition.
set peer ‐SpecifiespeersIPaddress.Refertopage14113forthecommanddefinition.
set security-association level per-host ‐SpecifiesseparateSAsberequestedforeach
source/destinationhostpair.Refertopage14114forthecommanddefinition.
set transform-set ‐Correlatestransformsetswithmap.Refertopage14114forthe
commanddefinition.

Crypto Map

Cryptomapsprovidetwofunctions:filterandclassifytraffictobeprotectedaswellasdefinethe
policytobeappliedtothattraffic.Thefirstuseaffectstheflowoftrafficonaninterface;thesecond
affectsthenegotiationperformed(viaIKE)onbehalfofthattraffic.
IPSeccryptomapslinkdefinitionsofthefollowing:
•Whichtrafficshouldbeprotected.
•WhichIPSecpeerstheprotectedtrafficcanbeforwardedto‐thesearethepeerswithwhicha
SecurityAssociation(SA)canbebuilt.
•Whichtransformsetsareacceptableforusewiththeprotectedtraffic.
•HowkeysandSAsshouldbeusedormanaged.
Note: A crypto map has no effect until it is attached to an interface.