
WANGUARD 5.2 User Manual & Administrator's Guide
router bgp 64000
bgp router-id 192.168.1.100
neighbor 192.168.1.1 remote-as 1000
neighbor 192.168.1.1 description divert-from router
neighbor 192.168.1.1 soft-reconfiguration inbound
neighbor 192.168.1.1 distribute-list nothing-in in
neighbor 192.168.1.1 route-map WANGUARD-Filter-out out
!
access-list nothing-in deny any
!
route-map WANGUARD-Filter-out permit 10
set community 1000:64000 no-export no-advertise
!
line vty
... ... ... ...
Cisco Router BGP Configuration
This secton describes the router's BGP confguraton used when you confgure trafc diversion. The syntax
in the commands is taken from the BGP confguraton on a Cisco router.
The following confguraton steps shows the commands to use to confgure BGP on a Cisco router:
r7500(config)# router bgp
<Router-AS-number>
r7500(config-router)# bgp log-neighbor-changes
r7500(config-router)# neighbor
<WANGUARD-Filter-IP-address>
remote-as
<WANGUARD-Filter-AS-
number>
r7500(config-router)# neighbor
<WANGUARD-Filter-IP-address>
description
<description>
r7500(config-router)# neighbor
<WANGUARD-Filter-IP-address>
soft-reconfiguration-inbound
r7500(config-router)# neighbor
<WANGUARD-Filter-IP-address>
distribute-list
routesToWANGUARDFilter
out
r7500(config-router)# neighbor
<WANGUARD-Filter-IP-address>
route-map
WANGUARD-Filter-in
in
r7500(config-router)# no synchronization
r7500(config-router)# exit
r7500(config)# ip bgp-community new-format
r7500(config)# ip community-list expanded
<WANGUARD-Filter-community-name>
permit no-export
no-advertise
r7500(config)# route-map
WANGUARD-Filter-in
permit 10
r7500(config-route-map)# match community
<WANGUARD-Filter-community-name>
exact match
r7500(config-route-map)# exit
r7500(config)# ip access-list standard
routesToWANGUARDFilter
r7500(config-std-nacl)# deny any
The
no synchronizaton
command prevents the distributon of the bgpd routng updates into Interior
Gateway Protocol.
Cisco Router BGP Configuration Example
To display the router confguraton, enter the
show running-confg
command from the router global
command level. In the following example, the router's AS number is 1000 and the bgpd AS number is 64000.
The following partal output is displayed:
r7500# show running-config
... ... ... ...
router bgp 1000
bgp log-neighbor-changes
neighbor 192.168.1.100 remote-as 64000
- 70 -
Содержание Wanguard 5.2
Страница 1: ......