H3C 三层交换机策略路由配置方法

ACL配置:
acl number 3010
description CU_10Mbps ServiceNAT
rule 5 permit ip source 192.168.1.2 0
rule 10 permit ip source 192.168.1.3 0
rule 15 permit ip source 192.168.1.4 0
acl number 3011
rule 5 permit ip description 192.168.0.0 0.0.255.255
rule 10 permit ip description 10.0.0.0 0.255.255.255

策略路由配置:
policy-based-route aaa permit node 5
if-match acl 3011
policy-based-route aaa permit node 10
if-match acl 3010
apply ip-address next-hop 192.168.2.1

接口下的配置:
interface Vlan-interface8
ip address 192.168.1.1 255.255.255.0
dhcp select relay
dhcp relay server-select 1
ip policy-based-route aaa

你可能感兴趣的:(H3C 三层交换机策略路由配置方法)