Chapter 21 commands for flow-based redirection, 1 access-group redirect to interface ethernet, Access – PLANET WGSW-52040 User Manual

Page 383: Group redirect to interface ethernet

Advertising
background image

21-152

Chapter 21 Commands for

Flow-based Redirection

21.1 access-group redirect to interface ethernet

Command:

access-group <aclname> redirect to interface [ethernet <IFNAME> | <IFNAME>]

no access-group <aclname> redirect

Function:

Specify flow-based redirection; “no access-group <aclname> redirect” command is used to delete flow-based

redirection.

Parameters:

<aclname> name of the flow , only supports digital standard IP ACL, digital extensive IP ACL, nomenclatural

standard IP ACL, nomenclatural extensive IP ACL, digital standard MAC ACL, digital extensive MAC ACL,

nomenclatural standard MAC ACL, nomenclatural extensive MAC ACL, digital standard IPv6 ACL, and

nomenclatural standard IPv6 ACL. Parameters of Timerange and Portrange can not be set in ACL; the type of ACL

should be Permit. <IFNAME> the destination port of redirection.

Command Mode:

Physical Port Configuration Mode.

Usage Guide:

“no access-group <aclname> redirect” command is used to delete flow-based redirection. Flow-based redirection

function enables the switch to transmit the data frames meeting some special condition to another specified port.

Examples:

Redirecting the frames whose source IP is 192.168.1.111 received from port 1 to port 6,

Switch(config)#access-list 1 permit host 192.168.1.111

Switch(config)# interface ethernet 1/1

Switch(Config-If-Ethernet1/1)# access-group 1 redirect to interface ethernet 1/6

Advertising