Enterasys Networks XSR CLI Router User Manual


 
Tunnel Commands
XSR CLI Reference Guide 14-131
Mode
Tunnelconfiguration:XSR#(config-tms-tunnel)#
Default
IPSec
Examples
ThefollowingexamplesetstheIPSectunnelprotocolinclientmode:
XSR(config)#interface vpn 29 point-to-point
XSR(config-int<vpn>)#tunnel ACME_VPN
XSR#(config-tms-tunnel)#set protocol ipsec client-mode
TheexamplebelowconnectsaGREtunnelattachedtoaVPNinterface:
XSR(config)#interface vpn 2 point-to-point
XSR(config-int<vpn>)#ip address 192.168.1.123 255.255.255.0
XSR#(config-int<vpn>)#tunnel my-gre-tunnel
XSR#(config-tms-tunnel)#set protocol gre
XSR#(config-tms-tunnel)#set peer 10.1.2.3
XSR#(config-tms-tunnel)#set active
set user
Thiscommandspecifiesauser’sidentitywhenconnectingtoapeer.ItinvokesEZIPSecby
applyingthecredentials(passwordand/orcertificate)usedduringtunnelcreationobtainedfrom
theAAAsubsystem.AnEZIPSectunnelusesaggressivemodewiththeusernameastheIKE
identity.Refertothe
aaa user,user-id,andshow crypto ca certificatecommandsformore
information.
Syntax
set user username
Mode
Tunnelconfiguration:XSR#(config-tms-tunnel)#
Examples
Thefollowingexamplespecifies thepresharedkeyofapeerbyusername:
XSR(config)#interface vpn 29 point-to-point
XSR(config-int<vpn>)#tunnel ACME_VPN
XSR#(config-tms-tunnel)#set user jonathan
Thefollowingexamplespecifies thepresharedkeyofapeerbycertificate:
XSR(config)#interface vpn 29 point-to-point
XSR(config-int<vpn>)#tunnel ACME_VPN
XSR#(config-tms-tunnel)#set user certificate
username
Usernameemployedwhenconnectingtothepeer.