آشنایی با پروتکل BGP و Redistributing نوشته : حسام غفاری http://forum.ciscoinpersian.com
مقایسه پروتکل های IGP با BGP
نحوه کارکردAS_PATH
Internet assign number authority
مشخصات کلی RIR American registry internet numbers (ARIN) - in north America Latin America and Caribbean Network Information Centre (LACNIC) - in Latin America Reseaux IP Europeens Network Coordination Centre (RIPE NCC) - in Europe , Russia , middle east and central Asia Asia-pacific network information Centre (APNIC) - in Asia , Australia , new Zealand African Network Information Centre (afriNIC) - in Africa
ورژن 16 بیتی ASN
ورژن 32 بیتی ASN
Single homed design
Dual homed design
Single multihomed design
Dual multihomed design
How to config BGP (config)#router bgp <as-number> (config-router)#neighbor <ip-address> remote-as <neighbor as-number>
How to config BGP with dual links (config)#router bgp <as-number> (config-router)#neighbor <ip address> update-source <ip address> (config-router)#neighbor <ip address> ebgp-multihop <ttl number> (config-router)#neighbor <ip address> remote-as <neighbor as-number> (config-router)#neighbor <ip address> password <string>
BGP neighbor states
BGP show commands switch#show ip bgp switch#show ip bgp summary switch#show ip bgp neighbors (config-router)#network <prefix> mask <subnet mask>
Difference between iBGP and eBGP
BGP looping
How to config iBGP
BGP route filtering commands (config-router)#neighbor <ip address> distribute-list <standard OR extended ACL) in/out (config-router)#neighbor <ip address> prefix-list <name> in/out (config-router)#neighbor <ip address> route-map <name> in/out (config-router)#neighbor <ip address> filter-list in/out
BGP clear commands Switch#clear ip bgp* Switch#clear ip bgp <neighbor-id> Switch#clear ip bgp <neighbor-id> in Switch#clear ip bgp <neighbor-id> soft in Switch#clear ip bgp <neighbor-id> out Switch#clear ip bgp <neighbor-id> soft out Switch#clear ip bgp <neighbor-id> soft Switch#clear ip bgp*soft
How to apply filtering with soft reconfiguration inbound
How to apply filtering without soft reconfiguration inbound
Show BGP table before and after filtering
BGP decision process (PA)
BGP weight command Neighbor [ip address] weight [value] Neighbor [ip address] route-map in Route-map cisco permit 10 set weight [value]
BGP local_preference command Bgp default local-preference [value] Neighbor [ip address] route-map [name] in Route-map cisco permit 10 Set local-preference [value]
BGP AS_PATH commands Route-map cisco permit 10 Set as-path prepend [values] Neighbor [ip address] route-map cisco in
Multi exit discriminator (MED)
BGP MED command Route-map cisco permit 10 Set metric [value] Neighbor [ip address] route-map cisco out
Redistribution between OSPF and EIGRP
Redistribution between OSPF and EIGRP
Redistributing with EIGRP
EIGRP redistribute command (config)#router eigrp 1 (config-router)#redistribute ospf 1 metric 1000 33 255 1 1500 ------------------------------------------------------------------------------- (config-router)#redistribute ospf 1 (config-router)#default-metric 1000 33 255 1 1500
EIGRP show ip route command
Redistributing with OSPF
Redistribute between OSPF and EIGRP
OSPF show commands output