25 permit udp – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 680
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 680 of 855
Related Commands
permit
permit udp
permit icmp
permit igmp
33.25 permit udp
Use this command to permit UDP packets when the packets match this access-list.
Command Syntax
[<1-2147483646>] permit udp { source source-mask | any | host source } [ src-port operator
port ]{destination destination-mask any | host destination} [ dst-port operator port ] [ ip-precedence
precedence | dscp dscp ] [ fragments ] [ routed-packet ] [ options ] [ time-range time-range-name ]
[ stats ]
src-port: source port <0-65535>
dst-port: destination port <0-65535>
operator
:including eq (equal to), lt (less than), gt (greater than), neq (not equal to), range
port: the port should be in the range <0-65535>
reference to command permit for other parameters
Command Mode
IP ACL configuration
Usage
The fragments will be invalid when the layer 4 information is specified (i.e. src-port).
Examples
This example shows how to create a filter in IP ACL to deny any UDP packets.
Switch(config-ip-acl)#1 permit udp any any
This example shows how to create a filter in IP ACL to deny the UDP packets with the source IP
address 1.1.1.1, source port 10, and destination port less than 2000.
Switch(config-ip-acl)#2 permit udp host 1.1.1.1 src-port eq 10 any dst-port lt 2000
Related Commands
permit
permit tcp
permit icmp
permit igmp