![Cisco Sx350 Cli Manual Download Page 584](http://html.mh-extra.com/html/cisco/sx350/sx350_cli-manual_2609320584.webp)
IPv6 Commands
583
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
28
Use the ipv6 policy route-map command to enable policy routing on an interface.
The actual policy routing will take a place if an IPv6 is enabled on the interface.
The IPv6 packets matched to the route-map conditions specified by the route map
with the
map-tag
name will take a route depended on the action of the matched
ACL:
•
permit—The route specified by the set command Policy routing.
•
deny—The route specified by the IPv6 Forwarding table (regular routing).
•
Name of the route map to use for policy routing. The name must match a
map-tag value specified by a
command.
The not matched IPv6 packets will be forwarded using the obvious shortest path.
IPv6 policy routing on a Layer 2 interface is performed only when IPv6 interface is
defined, its status is UP, and the next hop is reachable. If the IPv6 policy routing is
not applied then the matched IPv6 packets will be forwarded using the obvious
shortest path.
Note. Of course, like in the case of regular IPv6 Routing Policy Based IPv6 Router
routes only MAC "tome" IPv6 frames.
IPv6 policy routing cannot be configured on an interface together with the
following features:
•
IPv6 First Hop Security
•
VLAN ACL
•
VLAN Rate Limit
Example
The following example shows how to configure policy routing:
switchxxxxxx(config)#
ipv6 access-list pr-acl1
switchxxxxxx(config-ip-al)#
permit tcp any any 3002:08FA/32 any
switchxxxxxx(config-ip-al)#
exit
switchxxxxxx(config)#
ipv6 access-list pr-acl2
switchxxxxxx(config-ip-al)#
permit tcp any any 3002:0800/32 any
switchxxxxxx(config-ip-al)#
exit
switchxxxxxx(config)#
route-map pbr 10
switchxxxxxx(config-route-map)#
match ipv6 address access-list pr-acl1
switchxxxxxx(config-route-map)#
set ipv6 next-hop 3012:12af::1
switchxxxxxx(config-route-map)#
exit
switchxxxxxx(config)#
route-map pbr 20
switchxxxxxx(config-route-map)#
match ipv6 address access-list pr-acl2
Summary of Contents for Sx350
Page 1: ...Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide CLI GUIDE ...
Page 26: ...25 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1 ...
Page 237: ...CDP Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 236 8 ...
Page 975: ...RADIUS Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 974 48 ...