Enterasys Networks XSR CLI Router User Manual


 
Firewall Feature Set Commands
XSR CLI Reference Guide 16-127
Syntax of the “no” Form
Thenoformofthiscommanddisablestheselectedservice:
no ip firewall service name
Mode
Globalconfiguration:XSR(config)#
Example
ThefollowingexampledefinestheFTPservice(althoughthisisunnecessaryasitisoneofthe
predefinedservices).Thesourceportrangecouldbeanyoftheunreservedportsbutthe
destinationmustbe21.
XSR(config)#ip firewall service ftp gt 1023 eq 21 range 21 22 tcp
ip firewall service-group
Thiscommandpermitstheaggregationofmorethanoneserviceobject,providingforeasier
policyconfiguration.Uptotenserviceobjects(andservicegroup)canbeincludedinaservice
group.
Anameforanyfirewallobjectmustusethesealphanumericcharactersonly:
A‐Z(upperorlower
case),
0‐9,-(dash),or _(underscore).Also,allfirewallobjectnamesarecasesensitive.
Syntax
ip firewall service-group name name1 ... name10
Syntax of the “no” Form
Thenoformofthiscommanddisablesanearlierconfiguredservicegroup:
no ip firewall service-group name
Mode
Globalconfiguration:XSR(config)#
Example
Thefollowingexampleconfiguresservicegroupnetbioswithnetbios1andnetbios2usingports137
and138,respectively,includedasserviceobjects:
XSR(config)#ip firewall service netbios1 137-137 137-137 udp
XSR(config)#ip firewall service netbios2 138-138 138-138 udp
XSR(config)#ip firewall service-group netbios netbios1 netbios2
name
Nameoftheservicegroupobject,nottoexceed16characters.
name1 to name10
Nameoftheserviceorservicegroupobjects.