Figure 5-9 Filter Routes By Using Route-Map - Zte ZXR10 5900E Series Configuration Manual

Easy-maintenance mpls routing switch (ipv4 routing)
Hide thumbs Also See for ZXR10 5900E Series:
Table of Contents

Advertisement

Parameter
<peer-group-name>
<map-tag>
in | out
Configuration Example
As shown in
a route-map on S1. The route-map permits to advertise network 172.3.0.0/16 to
AS200, and set the MED value as 5.

Figure 5-9 Filter Routes by Using Route-Map

Configuration on S1:
S1(config)#router bgp 100
S1(config-bgp)#neighbor 182.17.20.1 remote-as 200
S1(config-bgp)#network 172.3.0.0 255.255.0.0
S1(config-bgp)#network 172.5.0.0 255.255.0.0
S1(config-bgp)#network 172.7.0.0 255.255.0.0
S1(config-bgp)#neighbor 182.17.20.1 route-map MAP1 out
S1(config-bgp)#neighbor 182.17.20.1 send-med
S1(config-bgp)#exit
S1(config)#route-map MAP1 permit 10
S1(config-route-map)#match ip address 1
S1(config-route-map)#set ip metric 5
S1(config-route-map)#exit
S1(config)#ipv4-access-list 1
S1(config-ipv4-acl)#rule 10 permit 172.3.0.0 0.0.255.255
S1(config-ipv4-acl)#exit
SJ-20150114102049-003|2015-01-15 (R1.0)
Description
peer-group name
Name of route mapping, the length is 1-31 characters
It applies to in or out
Figure
5-9, S1 and S2 set up EBGP connection between them. Configure
5-27
Chapter 5 BGP Configuration
ZTE Proprietary and Confidential

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents