1. Routes identified with R: IGP and BGP Learn the same route, but the IGP learns that the ad is smaller, and the route identifies the route that the R,r identity does not put in the routing table, but is still passed to the other neighbors. You can view the routes identified by the R by command show ip BGP rib-failure.2. Two methods of restarting BGP:Hard restart: Clear IP
InformationWeight BGP weight for routing tableAs you can see, the SET command also modifies many properties. To make a demonstration, let's revise the BGP local-preference attribute.Route-map Demo-rmap Permit 10Match IP address prefix-list Demo-prfxSet Local-preference 500Like a list of prefixes, the end of a route map statement also has an implicit deny operation. So we need to add another Allow statement
InformationWeight BGP weight for routing tableAs you can see, the SET command also modifies many properties. To make a demonstration, let's revise the BGP local-preference attribute.Route-map Demo-rmap Permit 10Match IP address prefix-list Demo-prfxSet Local-preference 500Like a list of prefixes, the end of a route map statement also has an implicit deny operation. So we need to add another Allow statement
BGP Message Type and BGP * BGP Message Type-Open: used to establish the connection relationship between BGP peers-Keepalive: periodically sends Keepalive messages to BGP peers, used to maintain the connection validity -- Update: carries the route Update (delete, add) Informa
Rd and RT (mpls vpn bgp)
Rd (route-distinguisher) is used to identify different VPN instances on the PE device. Its main function is to achieve address multiplexing between VPN instances. It and the IP address constitute a 12byte vpnv4 address space, rd and the route are carried together in the bgp update message and published to the peer end. On the one hand, we need to verify whether the RD function is im
. This method looks stupid, and is not the best solution. Finally, BGP can force the next hop to be modified through commands, on RTE, force the next hop destined for 10.1.1.1/24 to the interface of RTE. At the same time, the route table of RTD and RTC must have a route destined for 10.1.1.1/24 。
This is not the best solution, because Static Routing may be needed. In fact, for the topology in the above exam
autonomous system. This leads to the problem that the next hop of the BGP Route is not reachable. To solve the problem that the next hop is not reachable, the BGP protocol introduces the concept of synchronization. Synchronization can also be canceled by using commands, as long as the next hop of the route can be reached.
Related Articles]
Detailed introductio
Border Gateway Protocol (BGP) is mainly used for interconnection between autonomous systems (AS) on the Internet. The main function of BGP is to control route propagation and select the best route. BGP is an enhanced, comprehensive, and scalable protocol developed by the Internet Engineering Task Group. A bgp data cent
information, which is too heavy for IGP. In addition, we can add static routes on RTC, RTD, and RTE, and also add static routes on RTA. This method seems stupid, and is not the best solution. Finally, you can use a command to forcibly modify the next hop. In RTE, the next hop destined for 10.1.1.1/24 is forcibly changed to the interface of RTE, the route table that requires RTD and RTC includes a route entry destined for 10.1.1.1/24.
This is not the ideal solution. Because Static Routing is sti
-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px "title =" clip_image002 [1] "border =" 0 "alt =" clip_image002 [1] "height =" 199 "src =" http://www.bkjia.com/uploads/allimg/131227/0200021008-1.gif "/>
On the MP3840 router, the default-information originate is configured under the bgp 100 process, and the static default route must be fully sent in.
Generall
/zebra.conf.sample /etc/quagga/zebra.confIn CentOS6:# service zebra start# chkconfig zebra onIn CentOS7:# systemctl start zebra# systemctl enable zebraQuagga provides a command line tool unique to vtysh. You can enter commands that are compatible with and supported by vro vendors (such as Cisco and Juniper. We will use vtysh shell to configure BGP routing in the rest of the tutorial.Start the vtysh shell co
.
# Cp/usr/share/doc/quagga-XXXXX/zebra. conf. sample/etc/quagga/zebra. conf
In CentOS6:
# Service zebra start
# Chkconfig zebra on
In CentOS7:
# Systemctl start zebra
# Systemctl enable zebra
Quagga provides a command line tool unique to vtysh. You can enter commands that are compatible with and supported by vro vendors (such as Cisco and Juniper. We will use vtysh shell to configure BGP routing
Stale
Origin codes:i-IGP, E-EGP,? -Incomplete
Network Next Hop Metric locprf Weight Path
[s]*gt; 0.0.0.0/0 0.0.0.0 0 32768?
On Cisco router, Maipu BGP neighbor use "default-information originate", the default routing is announced to peer CISCO 7200.
Cisco7200#show IP BGP
BGP table version is 5, the local router ID is 2.1.1.1
Status Codes:s suppressed, D d
To get a thorough understanding of BGP, we'll start by answering the seemingly simple question of why BGP is needed, that is, how BGP is generated, and what it solves. With these questions, we will briefly review the trajectory of a routing protocol development.The essence of the first route is to describe the expression of a network structure, and the routing ta
unique to vtysh. You can enter commands that are compatible with and supported by vro vendors (such as Cisco and Juniper. We will use vtysh shell to configure BGP routing in the rest of the tutorial.
Start the vtysh shell command and enter:
# vtysh
The prompt will be changed to this host name, which indicates that you are in vtysh shell.
Router-A#
Now we will use the following command to conf
1. Several issues restricting BGP scalability
BGP is an IP network protocol currently used on the Internet. It provides stable and secure routing protocols for intercommunication between operators and provides a wide range of routing control mechanisms. To better control routing policies, most carriers deploy BGP to backbone routers. As the network expands, the
Write a little bit of knowledge about BGP recently started to be exposed (part of it is intercepted from the Network)Rfc4271 defines that a vro belongs to only one as, and the as value range is 1-65535 64521-65535, which is the private as number.The BGP protocol is a route selection protocol between regions. The self-help system can exchange route selection information without loops, and the
I. background
A route consists of two basic actions: determining the optimal path and transmitting information groups through the network. The Network Transmission Group is relatively simple, and the determination of the path can be complicated. BGP is a protocol for Path Selection in today's networks. This document briefly describes the basic operations of BGP and describes its Protocol components.
7. A set of required routing policies
BGP policies are implemented in the form of configuration information. This information is not directly incorporated into the Protocol. Therefore, BGP can provide very complex routing policies. However, all BGP implementations are not required to support these policies.
We do not try to standardize routing policies so that
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.