Chapter 16 commands for flow-based redirection, 1 access-group redirect to interface ethernet, 2 show flow-based-redirect – PLANET XGS3-24040 User Manual

Page 243: Access, Group redirect to interface ethernet, Show flow, Based, Redirect

Advertising
background image

16-1

Chapter 16 Commands for Flow-based

Redirection

16.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 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 Interface 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

16.2 show flow-based-redirect

Command:

show flow-based-redirect {interface [ethernet <IFNAME> | <IFNAME>]}

Function:

Display the information of current flow-based redirection in the system/port.

Parameters:

1. No specified port, display the information of all the flow-based redirection in the system.

2. Specify ports in <IFNAME>, display the information of the flow-based redirection configured in

the ports listed in the interface-list.

Command Mode:

Admin Mode and Configuration Mode.

Advertising