Chapter 8 BGP4+ Configuration
F
IGURE
6 EBGP M
ULTIHOP
C
ONFIGURATION
E
XAMPLE
R1 configuration (other configurations are omitted):
ZXR10_R1(config)#router bgp 100
ZXR10_R1(config-router)#neighbor 2003::2 remote-as 300
ZXR10_R1(config-router)#neighbor 2003::2 ebgp-multihop
R2 configuration (other configurations are omitted):
ZXR10_R2(config)#router bgp 300
ZXR10_R2(config-router)#neighbor 2005
::
1 remote-as 100
Filtering Routes Using Route Map
Route filtering and attribute configuration are the basis of BGP4+
decision. By means of route filtering operations, the input or out-
put route attributes can be controlled according to actual require-
ments.
A route map is used to control routing information and route redis-
tribution is implemented by means of defining conditions among
routing domains. Normally, the route map is used in conjunction
with route attributes to make route decision.
To filter routes, perform the following steps.
St-
ep
Command
Function
1
ZXR10(config)#
route-map
<
map-tag
>[
permit/den
y
]{<
sequence-number
>}
This creates a route map.
2
ZXR10(config)#
router bgp
<
as-number
>
This configures AS number
and enters BGP route
configuration mode.
3
ZXR10(config-router)#
network
<
ip-address
>
/
<
mask
>[
route-map
<
map-name
>][
backdoor
]
This configures the filtering of
routes advertised from or to
the neighbor.
Result:
The routes have been filtered by using route map.
Example
This example describes how to filter routes by using route map.
ZXR10_R1(config)#router bgp 100
ZXR10_R1(config-router)#neighbor 2005
::
2 remote-as 200
ZXR10_R1(config-router)#address-family ipv6
ZXR10_R1(config-router
-
af)#neighbor 2005
::
2 route-map MAP1 out
ZXR10(config-router
-
af)#exit
Confidential and Proprietary Information of ZTE CORPORATION
57
Содержание ZXR10 T1200
Страница 5: ...Figures 71 Tables 73 List of Glossary 75 ...
Страница 6: ......