Cisco Policy-Based Routing
Zur Navigation springen
Zur Suche springen
Switching Database Manager muss auf routing stehen
- show sdm prefer
The current template is "desktop routing" template. The selected template optimizes the resources in the switch to support this level of features for 8 routed interfaces and 1024 VLANs. number of unicast mac addresses: 3K number of IPv4 IGMP groups + multicast routes: 1K number of IPv4 unicast routes: 11K number of directly-connected IPv4 hosts: 3K number of indirect IPv4 routes: 8K number of IPv4 policy based routing aces: 0.5K number of IPv4/MAC qos aces: 0.5K number of IPv4/MAC security aces: 1K
Ändern des SDM und reload
- config terminal
- sdm prefer routing
- end
- reload
Acl mit Source Adressen anlegen
- ip access-list extended sources-to-nagus
- permit ip host 192.168.240.44 any
- end
Route map erstellen
- route-map over-nagus permit 10
- match ip address sources-to-nagus
- set ip next-hop 172.25.125.3
- end
Anwenden auf das Incomming Interface
- interface Vlan1
- ip policy route-map over-nagus
- end
Links
- http://www.ciscozine.com/pbr-route-a-packet-based-on-source-ip-address/
- http://www.cisco.com/c/en/us/td/docs/ios/12_2/qos/configuration/guide/fqos_c/qcfpbr.html
- http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/44921-swdatabase-3750ss-44921.html
- https://supportforums.cisco.com/t5/network-infrastructure-documents/dual-internet-links-nating-with-pbr-and-ip-sla/ta-p/3126275
- http://perapre.blogspot.de/2012/09/policy-based-routing-on-cisco-catalyst.html