Qtech QSW-8200-28T-POEAC- DC [28/38] Chapter 2 commands for flow based redirection

Qtech QSW-8200-28T-POEAC- DC [28/38] Chapter 2 commands for flow based redirection
User Manual
Chapter 2. Commands for Flow-based Redirection 28
www.qtech.ru
Chapter 2 COMMANDS FOR FLOW-BASED REDIRECTION
2.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 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/0/1
Switch(Config-If-Ethernet1/0/1)# access-group 1 redirect to interface ethernet 1/0/6
2.2 match vlan <1-4096> redirect interface (ethernet|) IFNAME
Command: match vlan <1-4096> redirect interface (ethernet|) IFNAME
o no match vlan <1-4096> redirect
Command Mode: Port Mode.
Function: Configure the vlan redirection function of the port.
Parameters: vlan <1-4096>: vlanID
o IFNAME: Port name
Usage Guide: Redirect the flow which matches the packet of vid from the appointed
port to another port.
Example: Redirect the flow of vlan1 of 1/0/1 to the port of 1/0/2.
(config-if-ethernet1/0/1)#match vlan 1 redirect interface ethernet 1/0/2
2.3 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.

Похожие устройства

Скачать