Tunnel Commands
XSR CLI Reference Guide 14-127
Mode
InternetProtocolInterfaceconfiguration:XSR(config-int<vpn>)#
Example
Thisexampleredirectsmulticasttraffictotheremotetunnelserver:
XSR(config)#interface vpn 57 multi-point
XSR(config-int<vpn>)#ip multicast-redirect tunnel-endpoint
service-policy
ThiscommandattachesapolicymaptoanVPNoutputorinputinterface.Youcanattachasingle
policymaptooneormoreinterfaces.
Syntax
service-policy [input | output] policy-map-name
Syntax of the “no” Form
Thenoformofthecommandremovesapolicymapfromtheinterface:
no service-policy [input | output]
Mode
Interfaceconfiguration:XSR(config-if<xx>)#
Example
Thefollowingexampleatta chesservicepolicyVPNpolicytoVPNoutputinterface1:
XSR(config)#interface vpn 1
XSR(config-int<vpn>)#service-policy output VPNpolicy
Tunnel Commands
tunnel
Thissub‐commandofinterface vpnnamesatunnelcreatedatboottimethatlinksthisVPN
interfacewithanotherVPNgateway.TheVPNinterface,withitstunnel,isequivalenttoapoint‐
to‐pointinterface. Issuingthe commandacquiresTunnelconfigurationmode,makingavailable
thefollowingsub‐commands:
•
set active -EnablestheVPNtunnel.Refertopage14‐128forthecommanddefinition.
•
set heartbeat -Monitorstunnelconnectivity. Refertopage14‐129forthecommand
definition.
•
set peer - SpecifiesthephysicalIPaddressoftheremoteVPNgateway.Referto
page14‐130forthecommanddefinition.
policy-map-name
Attachesthespecifiedpolicymapontotheoutputport.