EasyManua.ls Logo

ELTEX ESR-3100 - Configuration Example 1. Route-Map for BGP

Default Icon
650 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ESR series service routers.ESR-Series. User manual
290
11.7.2 Configuration example 1. Route-map for BGP
Objective:
Assign community for routing information coming from AS 20:
First, do the following:
Configure BGP with AS2500 on ESR router;
Establish neighboring with AS20.
Solution:
Create a policy:
esr# configure
esr(config)# route-map from-as20
Create rule 1:
esr(config-route-map)# rule 1
If AS PATH contains AS20, assign community 20:2020 to it and exit:
esr(config-route-map-rule)# match as-path contain 20
esr(config-route-map-rule)# action set community 20:2020
esr(config-route-map-rule)# exit
esr(config-route-map)# exit
In AS2500 BGP process, enter neighbor parameter configuration:
esr(config)# router bgp 2500
esr(config-bgp)# neighbor 185.0.0.2
esr(config-bgp-neighbor)# address-family ipv4 unicast
Map the policy to routing information:
esr(config-bgp-neighbor-af)# route-map from-as20 in

Table of Contents

Related product manuals