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
ThefollowingexampleattachesservicepolicyVPNpolicytoVPNoutputinterface1:
XSR(config)#interface vpn 1
XSR(config-int<vpn>)#service-policy output VPNpolicy

Tunnel Commands

tunnel

Thissubcommandofinterface vpnnamesatunnelcreatedatboottimethatlinksthisVPN
interfacewithanotherVPNgateway.TheVPNinterface,withitstunnel,isequivalenttoapoint
topointinterface.IssuingthecommandacquiresTunnelconfigurationmode,makingavailable
thefollowingsubcommands:
set active -EnablestheVPNtunnel.Refertopage14128forthecommanddefinition.
set heartbeat -Monitorstunnelconnectivity. Refertopage14129forthecommand
definition.
set peer - SpecifiesthephysicalIPaddressoftheremoteVPNgateway.Referto
page14130forthecommanddefinition.
policy-map-name Attachesthespecifiedpolicymapontotheoutputport.