Crypto Map Mode Commands
XSR CLI Reference Guide 14-113
Mode
CryptoMapconfiguration:XSR(config-crypto-m)#
Example
Thisexampledefinesatransformsetandchangesthemodetotransportmode.Themodevalue
onlyappliestoIPtrafficwithsourceanddestinationaddressesatthelocalandremoteIPSecpeers.
XSR(config)#crypto ipsec transform-set newer esp-des esp-sha-hmc
XSR(config)crypto map ACMEmap 14
XSR(config-crypto-m)#mode transport

set peer

ThiscommandspecifiesanIPSecpeerinacryptomapentry.Whentrafficpassingthroughthe
interfacematchesacryptomapentry,atunnelisopenedtothepeerspecifiedbythiscommand.
Syntax
set peer ip-address
Syntax of the “no” Form
ToremoveanIPSecpeerfromacryptomapentry,usethenoformofthiscommand:
no set peer {hostname | ip-address}
Default
Nopeerisdefined
Mode
CryptoMapconfiguration:XSR(config-crypto-m)#
Example
ThisexampleshowsacryptomapconfigurationwhenIKEisusedtobuildSecurityAssociations.
Inthisexample,anSAcouldbesetupwitheithertheIPSecpeerat10.0.0.1orthepeerat10.0.0.2.
XSR(config)#crypto map ACMEmap 7 ipsec-isakmp
XSR(config-crypto-m)#match address 101
XSR(config-crypto-m)#set transform-set my_t_set1
XSR(config-crypto-m)#set peer 10.0.0.1
ip-address SpecifiestheIPSecpeerbyitsIPaddress.