beautypg.com

8 permit | deny(extended) – Accton Technology ES4710BD User Manual

Page 275

background image

274

E

ES4710BD 10 Slots L2/L3/L4 Chassis Switch

Command: ip access-group [<num>| { in|out }

no ip access-group { in|out }

Function: Applies an access list to the incoming direction on the port; the “no ip access-group

{in|out}” command deletes the access list bound to the port.

Parameter: is the name for access list; the character string length is 1 – 8.
Command mode: Physical Interface Mode
Default: No ACL is bound by default.
Usage Guide: Only one access rule can be bound to a port, application of an access list on the

outgoing direction is not supported yet.

Example: Binding access list “aaa” to the incoming direction of the port.
Switch(Config-Ethernet1/1)#ip access-group aaa in

12.2.2.8 permit | deny(extended)

Command: [no] {deny | permit} icmp {{ } | any-source | {host-source
}} {{ } | any-destination | {host-destination }}
[
[]] [precedence ] [tos ]

[no] {deny | permit} igmp {{ } | any-source | {host-source }}

{{ } | any-destination | {host-destination }} []
[precedence
] [tos ]

[no] {deny | permit} tcp {{ } | any-source | {host-source }}

[s-port ] {{ } | any-destination | {host-destination }}
[d-port
] [ack | fin | psh | rst | syn | urg] [precedence ] [tos ]

[no] {deny | permit} udp {{ } | any-source | {host-source }}

[s-port ] {{ } | any-destination | {host-destination }}
[d-port
] [precedence ] [tos ]

[no] {deny | permit} {eigrp | gre | igrp | ipinip | ip | } {{ } |

any-source | {host-source }} {{ } | any-destination |
{host-destination
}} [precedence ] [tos ]

Function: Creates or deletes a name-based extended IP access rule for a specified IP protocol or all

IP protocols.

Parameters: is the source IP address in decimal format; <sMask > is the mask

complement of the source IP in decimal format; is the destination IP

address in decimal format; <dMask> is the mask complement of the destination IP in

decimal format, 0 for significant bit and 1 for ignored bit; <igmp-type> is the IGMP

type from 0 to 255; is the ICMP type from 1 to 255; is the

ICMP protocol number from 0 to 255; is the IP priority from 0 – 7; is the

tos value from 0 -15; is the source port number from 0 – 65535; is the

destination port number from 0 – 65535.

Command Mode: named-based extended IP ACL configuration mode

Default: No IP address is configured by default.

Example: Creating an extensive IP access list named “udpFlow”, denying IGMP packets and

allowing UDP packets destined for 192.168.0.1, port 32.