2-12
Figure 2-2
Network diagram for ACFP configuration
GE3/0/3
GE3/0/2
GE3/0/1
Router
ACFP client
ACFP server
Host A
192.168.1.1/24
Host B
192.168.1.2/24
Host C
192.168.2.1/24
Host D
192.168.2.2/24
Configuration Procedure
Configuring Router
# Enable the ACFP server.
<Router> system-view
[Router] acfp server enable
Configuring the collaboration policy and monitoring rules for the ACFP client through MIB
# Configure the ACFP client.
Configure the ACFP client through MIB browser to send information to Router, where the client index is
1, four working modes are supported, namely, host, pass-through, redirect, and mirror (by setting the
node h3cAcfpClientMode), and the other parameters adopt the default values.
# Configure the ACFP policy.
Configure the ACFP policy through MIB browser to send information to Router, where the client index
and policy index is 1, the policy inbound interface is GigabitEthernet 3/0/2 (by setting the node
h3cacfpPolicyInIfIndex), the policy destination interface is GigabitEthernet 3/0/3 (by setting the node
h3cAcfpPolicyDestIfIndex) and the other parameters adopt the default values.
# Configure the ACFP rule.
Configure the ACFP rule through MIB browser to send information to Router, where both the client
index and policy index is 1, the action is
redirect
(by setting the node h3cAcfpRuleAction), and the
other parameters adopt the default values.
Configuring the collaboration policy and filtering rules for the ACFP client through MIB
# Configure the ACFP policy.
Configure the ACFP policy through MIB browser to send information to Router, where the client index is
1, policy index is 2, the policy inbound interface is GigabitEthernet 3/0/2 (by setting the node
h3cAcfpPolicyInIfIndex), and the other parameters adopt the default values.
# Configure the ACFP rule.
Apply the ACFP rule through MIB Browser to send information to Router, where the client index is 1,
policy index is 2, the action is
permit
(by setting the node h3cAcfpRuleAction), the packets whose
source IP address is 192.168.1.1 are matched (by setting the node h3cAcfpRuleSrcMAC), the wildcard