![Cisco Sx350 Cli Manual Download Page 1038](http://html.mh-extra.com/html/cisco/sx350/sx350_cli-manual_26093201038.webp)
Route Map Commands
1037
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
53
•
IPv4 policy routing:
-
match ip address (Policy Routing)
-
•
IPv6 policy routing:
-
match ipv6 address (Policy Routing)
-
Examples
Example 1. The following example gives an example of a route map with one
section. TCP packet sent to subnet 156.12.5.0/24 are passed to the next hop
56.1.1.1.
switchxxxxxx(config)#
ip access-list extended pr-acl1
switchxxxxxx(config-ip-al)#
permit tcp any any 156.12.5.0 0.0.0.255 any
switchxxxxxx(config-ip-al)#
exit
switchxxxxxx(config)#
route-map pbr
switchxxxxxx(config-route-map)#
match ip address
access-list
pr-acl1
switchxxxxxx(config-route-map)#
set ip next-hop 56.1.1.1
switchxxxxxx(config-route-map)#
exit
switchxxxxxx(config)#
interface vlan 1
switchxxxxxx(config-if)#
ip policy route-map pbr
switchxxxxxx(config-if)#
exit
Example 2. The following example gives an example of a route map with two
sections. TCP packet sent to subnet 156.12.5.0/24 are passed to the next hop
56.1.1.1 and CP packet sent to subnet 156.122.5.0/24 are passed to the next hop
50.1.1.1.
switchxxxxxx(config)#
ip access-list extended pr-acl1
switchxxxxxx(config-ip-al)#
permit tcp any any 156.12.5.0 0.0.0.255 any
switchxxxxxx(config-ip-al)#
exit
switchxxxxxx(config)#
ip access-list extended 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 ...