Advertisement
Guest User

Untitled

a guest
Oct 18th, 2016
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. #Router CE2 Cisco 2921
  2.  
  3. vrf definition L-LAN
  4. rd 7:7
  5. !
  6. address-family ipv4
  7. exit-address-family
  8. !
  9.  
  10. interface GigabitEthernet0/0.4014
  11. description Uplink to ISP
  12. encapsulation dot1Q 4014
  13. vrf forwarding L-LAN
  14. ip address 10.0.0.12 255.255.255.0
  15. ip flow ingress
  16. ip flow egress
  17. standby 100 ip 10.0.0.13
  18. standby 100 priority 80
  19. standby 100 preempt
  20.  
  21. interface GigabitEthernet0/1.11
  22. description LAN
  23. encapsulation dot1Q 11
  24. vrf forwarding L-LAN
  25. ip address 192.168.1.22 255.255.255.0
  26. ip policy route-map DGW-DC-LAN
  27. standby 200 ip 192.168.1.23
  28. standby 200 priority 80
  29. standby 200 preempt
  30.  
  31. ip route vrf L-LAN 0.0.0.0 0.0.0.0 192.168.1.253
  32. ip route vrf L-LAN 192.168.10.0 255.255.255.0 10.0.0.3 name ISP-GW
  33.  
  34.  
  35. ip access-list extended DGW-DC-LAN-REROUTE
  36. permit ip host 192.168.1.1 any
  37. deny ip any any
  38. !
  39. !
  40. route-map DGW-DC-LAN permit 10
  41. match ip address DGW-DC-LAN-REROUTE
  42. set ip default next-hop 192.168.1.254
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement