No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>


To have a better experience, please upgrade your IE browser.


FAQ: How Does the NE40E&NE80E Specify Outbound Interfaces Based on BGP Routing Policies?

Publication Date:  2013-09-03 Views:  69 Downloads:  0
Issue Description
A carrier needs to redirect traffic to different egresses using policy-based routing. For example, some traffic is redirected to the provincial egress, and other traffic is redirected to the Internet egress. Common requirements: Traffic destined for China Telecom needs to go out from the egress of China Telecom, and traffic destined for China Netcom needs to go out from the egress of China Netcom. When defining routing policies, it is complex to use ACLs to define traffic characteristics. A simpler way is required to distinguish traffic.
Handling Process
Root Cause
1. Configure routing policies for routes from some BGP peers. Redefine the next hop of routes matching some AS numbers. Assume that routes with AS200 are routes to China Telecom. The NE40E&NE80E needs to send traffic destined for China Telecom to the next hop
The configuration is as follows:
peer route-policy ceshi import //A routing policy is applied to routes from a specified BGP peer.
ip as-path-filter 1 permit _200_  
route-policy ceshi permit node 10
 if-match as-path-filter 1
 apply ip-address next-hop 
route-policy ceshi permit node 20

2. In this configuration, it is difficult to collect all AS numbers of China Telecom and China Netcom, and the regular expression must be used to describe characteristics of the AS number list. For example, _200_ indicates the AS number list containing 200.
For details about the regular expression, see the attachment.