beautypg.com

Permit – Allied Telesis AT-DC2552XS User Manual

Page 469

background image

AT-DC2552SX Switch Command Line Interface User’s Guide

Section V: Security and Traffic Control

469

PERMIT

Syntaxes

[

sequence_no

]

permit mac

src_mac_address wildcard_mask

|any

dst_mac_address wildcard_mask

|any

[vlan

vid

]

[

sequence_no

]

permit ip

src_ip_address

/

mask

|host

src_ip_address

|any

dst_ip_address

/

mask

|host

dst_ip_address

|any

[mac

src_mac_address wildcard_mask

|any

dst_mac_address wildcard_mask

|any] [vlan

vid

]

[

sequence_no

]

permit proto

proto_no

src_ip_address

/

mask

|host

src_ip_address

|any

dst_ip_address

/

mask

|host

dst_ip_address

|any

[mac

src_mac_address wildcard_mask

|any

dst_mac_address wildcard_mask

|any] [vlan

vid

]

[

sequence_no

]

permit icmp

src_ip_address

/

mask

|host

src_ip_address

|any

dst_ip_address

/

mask

|host

dst_ip_address

|any

[icmp

icmp_type

]

[vlan

vid

]

[

sequence_no

]

permit tcp|udp

src_ip_address

/

mask

|host

src_ip_address

|any [

src_port_no

]

dst_ip_address

/

mask

|host

dst_ip_address

|any [

dst_port_no

]

[vlan

vid

]

Parameters

sequence_no

Specifies a sequence number. The sequence number determines
the place of the entry in the access list. When an existing sequence
number is specified, the command replaces the existing entry with
the new definition. If a sequence number is not specified, the
command adds the entry at the end of the access list. The range of
the sequence numbers is 1 to 65,535.

src_mac_address

Specifies a source MAC address that the switch filters packets
based on. This is the hexadecimal format:

HH:HH:HH:HH:HH:HH

dst_mac_address

Specifies a destination MAC address that the switch filters packets
on. The format is the same as the source MAC address.