Cisco Routing

From HackerNet
Revision as of 14:12, 3 April 2016 by Helikopter (talk | contribs) (Created page with "För routingprotokoll se: BGP, OSPF, EIGRP, IS-IS, RIP ==Floating Static Route== ip route 172.16.1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

För routingprotokoll se: BGP, OSPF, EIGRP, IS-IS, RIP

Floating Static Route

ip route 172.16.10.0 255.255.255.0 10.10.20.2 200

IP SLA

ip sla monitor 10
ip sla schedule 10 life forever start-time now

Verify

show rtr config
show rtr statistics
show ip sla 10

Track

show track timers
show track brief
debug track

Tracking kan göras med CDP och IP SLA.

PBR

access-list 1 permit 192.168.1.10 
access-list 2 permit 192.168.1.20 
interface Gi0/0 
 ip policy route-map TEST 
route-map TEST permit 10 
 match ip address 1 
 set ip next-hop 10.10.10.2 
route-map TEST permit 20 
 match ip address 2 
 set ip next-hop 10.10.10.6

Reliable PBR

ip sla monitor 10
 icmp-echo 192.168.0.1
 timeout 1000
 frequency 3
ip sla schedule 10 life forever start-time now
track 10 rtr 10 reachability
show ip sla statistics details
access-list 100 permit icmp any host 192.168.0.1 echo
route-map GW1 permit 10
 match ip address 100
 set ip next-hop 10.10.3.4
 exit
ip local policy route-map GW1
set ip next-hop verify-availability
set ip default next-hop 155.1.146.4
ip route 0.0.0.0 0.0.0.0 10.10.3.4 track 10
ip route 0.0.0.0 0.0.0.0 10.10.4.4 254

Local Policy Routing

show ip local policy

OER/PfR

On-demand routing