Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RIPng:
- ipv6 unicast-routing
- ipv6 router rip routing-ripng
- exit
- int xx
- ipv6 rip routing-ripng enable
- ipv6 rip rout default-information originate/only
- EIGRP:
- router eigrp 100
- network x.x.x.x
- variance (unequal load-balancing, esim 2 x feasible distance)
- EIGRP stub:
- int
- ip summary eigrp 100 x x (haluttuun routeriin menevään inttiin)
- router eigrp 100
- eigrp stub
- (redistribute static jos static)
- EIGRP named:
- eigrp -> address-family ipv4 unicast autonomous-system 4
- OSPF virtual links:
- interfaceihin ip ospf network point-to-point jos haluat loopbackin olevan network eikä 1 host
- clear ip ospf 1 process jos id ei vaihdu
- networkit area 0
- networkit area 2
- networkit area 3
- virtual linkin luominen area 3 -> 0
- router ospf 1
- area 2(väliarea) virtual link (vastaanottavareititin)
- ospf
- area 3 range x.x.x.x x.x.x.x
- default routen mainostaminen
- ospf -> default-info orig always
- MULTI-AREA OSPF:
- interfaceihin voi laittaa ip ospf 1 area 0 sen sijasta että konffaa sen ospf
- static route toiseen networkkiin: ip route x.x.x.x x.x.x.x output ip
- redistribute static subnets
- ospf -> area 2 stub molempiin routereihin, tai area 2 stub no-summary jos haluat totally stubby (pelkkä 1 default route)
- OSPF EIGRP REDIST:
- router eigrp 1
- no auto-summary
- networkit
- ulosmenevään inttiin voi laittaa ip summary-add eigrp 1 x.x.x.x x.x.x.x summaryt
- ospf:lle point-to-pointit intteihin loopback
- ospf networkit
- routerille, joka on molemmissa -
- router ospf 1
- redist eigrp 1 subnets
- router eigrp 1
- redist ospf 1 metric 10000 100 255 1 1500
- summary verkko ospf:ään
- ospf 1 -> summary-add x.x.x.x x.x.x.x
- CONTROLLING ROUTING UPDATES:
- distributeevalla routerilla ACL
- ip acc standard OSPF20-FILTER
- deny x.x.x.x x.x.x.x
- permit any
- router eigrp 1
- distribute-list OSPF20-FILTER out ospf 1
- TAI
- ip prefix-list EIGRP-FILTER permit x.x.x.x/x le 24
- router ospf 1
- distribute-list prefix EIGRP-FILTER out eigrp 1
- TAI
- ip acc standard R3-ACL
- permit x.x.x.x x.x.x.x
- route-map R3-FILTER deny 10
- match ip add R3-ACL
- route-map R3-FILTER permit 20
- exit
- router eigrp 1
- redist ospf 1 route-map R3-FILTER metric 64 100 255 1 1500
- TAI
- ip prefix-list R1-PL permit 172.16.12.0/24
- route-map R1-FILTER permit 10
- match ip add prefix-list R1-PL
- set metric 25
- set metric-type type-1
- route-map R1-FILTER permit 20
- exit
- router ospf 1
- redist eigrp 1 subnets route-map R1-FILTER
- PBR:
- ip acc standa PBR-ACL
- permit x.x.x.x x.x.x.x
- route-map R3-to-R1 permit
- match ip add PBR-ACL
- set ip next-hop x.x.x.x
- int x
- ip policy route-map R3-to-R1
- SLA:
- ip sla 11
- icmp-echo x.x.x.x
- freq 10
- ip sla sched 11 life forever start-time now
- track 1 ip sla 11 reachability
- delay down 10 up 1
- ip route 0.0.0.0 0.0.0.0 nexthop 2 track 1
- NAT:
- ip acc ext HQ-NAT-ACL
- permit ip x.x.x.x x.x.x.x any
- ip nat pool HQ-NAT-POOL x.x.x.x x.x.x.x prefix-length 29
- ip nat inside source list HQ-NAT-ACL pool HQ-NAT-POOL
- ip nat inside source static x.x.x.x x.x.x.x
- int
- ip nat inside / outside
- BGP config:
- router bgp 100
- neighbor (neighbor ip) remote-as (neighbor as)
- network x.x.x.x (mask x.x.x.x)
- acl 1 permit haluttu network mainostukseen
- router bgp 100
- neighbor x.x.x.x distribute-list 1 out
- restarttaa bgp, clear ip bgp *
- floating static routet -
- ip route 0.0.0.0 0.0.0.0 haluttuykkösrouteri 210
- ip route 0.0.0.0 0.0.0.0 haluttubackuprouteri 220
- default routet bgp:llä -
- ykkösrouterilla:
- router bgp 200
- neighbor x.x.x.x default-originate
- BGP AS-PATH:
- router bgp 300
- neighbor x.x.x.x remove-private-as
- ip as-path access-list 1 deny ^100$
- ip as-path acs 1 permit .*
- router bgp 300
- neighbor x.x.x.x filter-list 1 out
- IBGP/EBGP:
- router bgp 64512
- neighbor sisäinen remote-as 64512
- neighbot sisäinen update-source lo0
- toiselle sisäiselle samat
- ulkoiselle:
- router bgp 200
- neighbor x.x.x.x remote-as 64512
- toiselle sama
- network x.x.x.x
- sisäiselle discard route:
- ip route sisäsubnet null0
- sisäiselle ebgp isp:lle
- router bgp 64512
- neighbor x.x.x.x remote-as 200
- network sisänet
- toiselle samat
- clear ip bgp *
- välilinkit isp bgp:hen
- router bgp 200
- network x.x.x.x mask x.x.x.x
- toinen vaihtoehto välilinkeille -
- sisäroutereille:
- router bgp 64512
- neighb x.x.x.x next-hop-self
- clear ip bgp *
- mainrouterille:
- route-map PRIMARY_T1_IN permit 10
- set local-pref 150
- router bgp 64512
- neighbor ulkoreititin route-map PRIMARY_T1_IN in
- backuprouterille:
- route-map SECONDARY_T1_IN permit 10
- set local-pref 125
- router bgp 64512
- neighbor ulkoreititin route-map SECONDARY_T1_IN in
- isp -> sisätrafficille:
- route-map PRIMARY_T1_MED_OUT permit 10
- set metric 50
- router bgp 64512
- neighbor ulkorouter route-map PRIMARY_T1_MED_OUT out
- route-map SECONDARY_T1_MED_OUT permit 10
- set metric 75
- router BGP 64512
- neighbor ulkorouter route-map SECONDARY_T1_MED_OUT out
- clear ip bgp
- luodaan vielä default route ISP:lle
- router bgp 200
- neighbor x.x.x.x default-originate
- neighbor x.x.x.x default-originate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement