Interface CLI Commands
XSR CLI Reference Guide 14-121

Interface CLI Commands

crypto map

Thiscommandappliesapreviouslydefinedcryptomaptoaninterface.Itisgovernedbythe
followingrules:
•AcryptomapmustbeassignedtoaninterfacebeforethatportcanprovideIPSecservices.
•Only1cryptomapcanbeassignedaninterfacealthoughitcanbeattachedtomultipleports.
•Acryptomapmaynotbeassignedtoaninterfacethatalreadyhascrypto ezipsec enabled.
•CryptomapsmaynotbeassignedtoaVPNinterface(itisinvalidatInterfaceVPNmode).
Syntax
crypto map map-name
Syntax of the “no” Form
Deleteacryptomapfromtheinterfacewiththenoformofthiscommand:
no crypto map [map-name]
Mode
Interfaceconfiguration:XSR(config-if<xx>)#
Next Mode
CryptoMapconfiguration: XSR(config-crypto-m)#
Sample Output
ThisexampleassignscryptomapACMEmaptotheF1interface.WhentrafficpassesthroughF1,it
willbeevaluatedagainstallthecryptomapentriesintheACMEmapset.Whenoutboundtraffic
matchesanaccesslistinoneoftheACMEmapcryptomapentries,aSecurityAssociationwillbe
establishedforthatcryptomapentryʹsconfiguration(ifnoSAorconnectionalreadyexists).
XSR(config)#interface fastethernet 1
XSR(config-if<F1>)#crypto map ACMEmap
map-name CryptomapIDassignedwhenthecryptomapwascreated.