50-Advanced Routing: BGP Community properties: No-export

Source: Internet
Author: User

First, the experimental topology:

Second, the experimental requirements:
1, increase R5:as 5, and R2 through the Direct Connect route to establish BGP neighbor relationship;
2, R2 deployed in BGP under Send-conmmunity to R5;
3, R4 deployment ACL crawl 4.4.4.4 traffic, Route-map named Shuchu, call ACL, set community no-export, and invoke Route-map Shuchu out in the BGP process;
4. See if R1, R2, R3 contain 4.4.4.4 routes that carry No-export, and R5 do not learn the route entry for 4.4.4.4?
Third, command deployment:
R4#show IP access-lists
Standard IP access list 10
Permit 4.4.4.0, wildcard bits 0.0.0.255 (1 match)

R4#show Run | S Route-map
Neighbor 14.1.1.1 Route-map Shuchu out
Route-map Shuchu Permit 20
Match IP Address 10
Set Community No-export
Route-map Shuchu Permit 1000

Four, verify:
R5#show IP BGP//NULL

R2#show IP BGP 4.4.4.4
BGP routing table entry for 4.4.4.0/24, version 2
Paths: (1 available, best #1, table default-ip-routing-table, not advertised to EBGP peer)
flag:0x820
Not advertised to any peer
(65001) 4
3.3.3.3 (Metric 156160) from 3.3.3.3 (3.3.3.3)
Origin IGP, Metric 0, Localpref, valid, confed-external, best
Community:no-export
Similarly: R1, R3

50-Advanced Routing: BGP Community properties: No-export

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.