route-map/default route

Source: Internet
Author: User

The commands involved in this document are:

Neighbor [Ip-address|peer-group-name] advertise-map [route-map-name1] non-exist-map [route-map-name2]

Neighbor [Ip-address|peer-group-name] Default-originate

Neighbor [ip-address|peer-group-name] default-originate route-map xxx

3-6-1 neighbor [Ip-address|peer-group-name] advertise-map [route-map-name1] non-exist-map [route-map-name2]

This command is, in fact, the conditional route we often say.

If the mandatory translation into Chinese, such as the following command:

Neighbor 172.17.1.2 Advertise-map secondery Non-exist-map Primary

For neighbor 172.17.1.2, if the ROUTE-MAP notification route primary no longer exists in the BGP table, then the Secondery Route-map is notified to 172.17.1.2

The role of Advertise-map is: If the primary prefix is apparent in the BGP table, the BGP router must not advertise the secondary prefix to the BGP counterpart, and if the primary prefix disappears from the BGP table, then the secondary prefix is advertised.

In this topology, the R1 configuration is:

Interface Loopback0

IP Address 1.1.1.1 255.255.255.0

!

Interface Loopback1

IP address 2.2.2.2 255.255.255.0

!

Interface fastethernet0/0

IP address 172.17.1.1 255.255.255.0

Duplex full

Speed auto

!

Router BGP 100

No synchronization

BGP log-neighbor-changes

Network 1.1.1.0 Mask 255.255.255.0

Network 2.2.2.0 Mask 255.255.255.0

Neighbor 172.17.1.2 Remote-as 100

No auto-summary

!

No IP HTTP Server

No IP http secure-server

!

The R2 configuration is:

Interface fastethernet0/0

IP address 172.17.1.2 255.255.255.0

Duplex full

Speed auto

!

Router BGP 100

No synchronization

BGP log-neighbor-changes

Neighbor 172.17.1.1 Remote-as 100

No auto-summary

!

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.