3com 8807 사용자 가이드
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
Intermixing Configuration Task
605
You can define the flow template by means of the IP + VLAN + DMAC method to
make sure that different kinds of packets are processed in different ways:
make sure that different kinds of packets are processed in different ways:
■
If ARP packets do not match IP rules in redirection, they will be processed on
the non-MPLS card;
the non-MPLS card;
■
If Layer 2 traffic does not match DMAC in redirection, it will be L2-forwarded
on the non-MPLS card;
on the non-MPLS card;
■
If Layer 3 packets (including unicast protocol packets) match the rule, they will
be redirected to the MPLS card.
be redirected to the MPLS card.
Refer to section "QACL" and the following networking example in the manual for
detailed information on configuring flow template and ACL rules.
detailed information on configuring flow template and ACL rules.
Applying Flow Template
and Redirection in Port
Mode
The traffic-redirect command is used to enable ACL flow classification and
redirect the packets (only applicable to the rules whose action is permit in the
ACL). There are two kinds of redirection commands:
redirect the packets (only applicable to the rules whose action is permit in the
ACL). There are two kinds of redirection commands:
■
Redirect packets to a port: You can redirect packets received by the source port
of the non-MPLS card to the specified destination port of the MPLS card.
of the non-MPLS card to the specified destination port of the MPLS card.
■
Redirect packets to an application module: You can redirect packets received by
the source port of the non-MPLS card or MPLS card to the VPLS card.
the source port of the non-MPLS card or MPLS card to the VPLS card.
There are two kinds of redirection services:
■
VPLS-related redirection services: The key word join-vlan must be specified,
and the system will add the current port into destination-vlan after the
redirection enabled; when redirection is disabled, the system will log the
current port out of the VLAN if what is deleted is a join-vlan enabled
redirection in the VLAN.
and the system will add the current port into destination-vlan after the
redirection enabled; when redirection is disabled, the system will log the
current port out of the VLAN if what is deleted is a join-vlan enabled
redirection in the VLAN.
■
MPLS-independent redirection services: Such redirection services include URPT,
reflexive ACL, BT traffic control and so on. join-vlan cannot be enabled in such
a service. The port will not be added into VLAN when redirection is configured,
and the port will not be removed from the VLAN when redirection is deleted.
reflexive ACL, BT traffic control and so on. join-vlan cannot be enabled in such
a service. The port will not be added into VLAN when redirection is configured,
and the port will not be removed from the VLAN when redirection is deleted.
Table 562 Applying Flow Template and Redirect in Port Mode
Operation
Command
Description
Enter system view
system-view
-
Enter port view
interface interface-type
interface-number
interface-number
-
Apply flow template in port
mode
mode
flow-template
user-defined
user-defined
Required
Configure the
traffic-redirect command
traffic-redirect command
traffic-redirect inbound
ip-group { acl-number |
acl-name } [ rule rule]
link-group [ rule rule ]
interface interface-type
interface-number
destination-vlan { l2-vpn |
l3-vpn } slot slotid vlanid
[Join-vlan ] }
ip-group { acl-number |
acl-name } [ rule rule]
link-group [ rule rule ]
interface interface-type
interface-number
destination-vlan { l2-vpn |
l3-vpn } slot slotid vlanid
[Join-vlan ] }
Required
l3-vpn | l2-vpn means the
command is applicable to
L2VPN or L3VPN of MPLS.
command is applicable to
L2VPN or L3VPN of MPLS.
slot slotid vlanid: the slot id of
the service card which the
VPLS packets are redirected to
and the ID of the VLAN to join
in.
the service card which the
VPLS packets are redirected to
and the ID of the VLAN to join
in.