Asus GigaX3124 User Manual

Page 184

Advertising
background image

GigaX3124 Layer3 Switch CLI Command Reference

159

permitted to decide if the packet is forwarded or dropped.

Examples

ASUS(config-ext-acl)# permit icmp host 10.0.0.1 host 10.0.0.2 2

code 2 [gi1/0/1]

13.77 (permit|deny) (ip|tcp|udp|icmp) IPADDR

MASK IPADDR MASK [IFNAME]

Syntax

(permit|deny) (ip|tcp|udp|icmp) IPADDR MASK IPADDR MASK

[IFNAME]

Parameters

permit Specify packets to forward

deny Specify packets to reject.

ip Any Internet Protocol

tcp Transmission Control Protocol

udp User Datagram Protocol

icmp Internet Control Message Protocol

IPADDR Source address

MASK Source wildcard bits

IPADDR Destination address

MASK Destination wildcard bits

[IFNAME] Egress interface name

Command Mode IP extended access-list mode
No/clear

no (permit|deny) (ip|tcp|udp|icmp) IPADDR MASK IPADDR

MASK [IFNAME]

Show

show access-lists [ACLNAME]

Default
Description

This command specifies one or more conditions denied or

permitted to decide if the packet is forwarded or dropped.

Examples

ASUS(config-ext-acl)# permit ip 10.0.0.1 0.0.0.0 10.0.0.2 0.0.0.0

[gi1/0/1]

Advertising