ip access-list route
ip access-list route
ipv6
Description
This command configures an ACL for PBR.
PBR is an optional feature that allows packets to be routed based on ACLs configured by the administrator. By default, when amanaged devicereceives a packet for routing, it looks up the destination IP in the routing table and forwards the packet to the nexthop router. If PBR is configured, the nexthop device can be chosen based on a defined ACL.
在具有多个上行链路的典型部署方案中,默认路由仅使用上下链路之一进行转发数据包。如果Nexthop变得无法到达,则数据包将无法到达目的地。如果您的部署使用基于NexThop列表的PBR,则任何上行链路Nexthops都可以用于转发流量。这需要所有PBR NexThops系统中有效的ARP条目(路由缓存)。
IPv6 PBR does not support WAN uplink functionality.
Parameter |
Description |
rout |
Define a route access list, where |
The traffic source, which can be one of the following:
Only , , and You cannot configure IPv6 multicast, link-local, unspecified, loopback, and subnet anycast addresses as IPv6 source addresses. |
|
The traffic destination, which can be one of the following:
Only , , and 您不能将IPv6多播,链接本地,未指定,环回和子网Anycast地址作为IPv6目标地址。 |
|
Network service to which the ACL is applied. The service can be one of the following:
Only configuration option is supported for IPv6 address. |
|
Action if rule is applied, which can be one of the following:
Only configuration option is supported for IPv6 address. |
Example
The following command configures a routing access list using an IPsec map.
(host) [mynode] (config) #ip access-list route pbr1
(host) [mynode] (config-submode) #any any udp 100 route ipsec-map VPN1
The following command configures IPv6 rules in routing access list using next-hop list:
(host) [mynode] (config) #ip access-list route pbr2
(host) [mynode] (config-submode) #ipv6 any any any route next-hop-list new
A PBR ACL can have both IPv4 and IPv6 rules. |
Related Commands
命令 |
Description |
This command associates a routing ACL with a specific VLAN. |
|
此命令在基于策略的路由中定义了IPv4地址的下一跳列表。 |
|
This command defines a next-hop list for IPv6 address in policy-based routing. |
命令History
Release |
Modification |
ArubaOS8.8.0.0 |
A new sub-parameter is added to capture a brief description of the route ACL. |
ArubaOS8.6.0.0 |
The following configuration options were included under |
ArubaOS8.0.0.0 |
命令introduced. |
命令Information
Platforms |
License |
命令Mode |
All platforms |
Requires the PEFNG license. |
Config mode onMobility Conductor. |