EasyManua.ls Logo

Cisco Sx350

Cisco Sx350
1323 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 route-map (Policy Routing) 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

Table of Contents

Related product manuals