beautypg.com

Copy-to-mirror – Allied Telesis AT-DC2552XS User Manual

Page 448

background image

Chapter 20: ACL Commands

448

Section V: Security and Traffic Control

COPY-TO-MIRROR

Syntaxes

[

sequence_no

]

copy-to-mirror mac

src_mac_address

wildcard_mask

|any

dst_mac_address wildcard_mask

|any

[vlan

vid

]

[

sequence_no

]

copy-to-mirror 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

]

copy-to-mirror 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

]

copy-to-mirror 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

]

copy-to-mirror 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 you specify an
existing sequence number, the command replaces it with the new
definition. If you do not specify a sequence number, the command
adds the entry to 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 uses to filter
packets. This is the hexadecimal format:

HH:HH:HH:HH:HH:HH

dst_mac_address

Specifies a destination MAC address that the switch uses to filter
packets. The format is the same as the source MAC address.