Enterasys Networks XSR CLI Router User Manual


 
Firewall Feature Set Commands
XSR CLI Reference Guide 16-125
Example
ThefollowingpolicyallowsFTPaccesstoahost.Beawarethatthehost’ssourceIPaddresswillbe
authenticatedagainstthegroupsalesgroup.
XSR(config)#ip firewall network sales-host 192.168.100.2 mask 255.255.255.255
internal
XSR(config)#ip firewall policy allow-eng-ftp ANY_INTERNAL sales-host ftp allow-
auth sales-group
ip firewall redirectURL
Thiscommandredirectsauser’sHTTPaccesstothespecifiedredirectURLpageifthatuser
attemptstoaccessaURLnotpermittedbythewhiteURLlist.IfredirectURLisnotconfigured,
theXSRgeneratesadefaultblockedpage.
Syntax
ip firewall redirectURL redirect_url_string
Syntax of the “no” Form
ThenoformofthiscommandremovesapreviouslyconfiguredredirectURL:
no ip firewall redirectURL
Mode
Globalconfiguration:XSR(config)#
Example
ThefollowingexampleredirectsausertothespecifedURLsite:
XSR(config)#ip firewall redirecturl www.companyXYZ.com.
ip firewall rpc timeout
ThiscommandsetstheidlesessiontimeoutonpacketinspectionforRemoteProcedureCall(RPC)
basedapplications.ThisApplicationLevelGateway(ALG)supportstwotypesofRPCs‐SUN
(usedbymostUNIXsystems)andMicrosoft.IftheRPCbasedsessionisidleforthespecified
period,itwillbeshut
down.
Syntax
ip firewall rpc {microsoft-rpc | sun-rpc} timeout number
Note: This command takes effect immediately.
redirect_url_string
AvalidURLstringof upto63characters.
microsoft-rpc
ALGpacketinspectionforMicrosofttraffic.
sun-rpc
ALGpacketinspectionforSUNtraffic.
number
Idlesessiontimeout,rangingfrom5to86400seconds.