Cisco Router Challenge 80
Outline
This challenge involves the configuration of BGP with a route-map.The objectives of this challenge are to:
Commands
# config
t
(config)#
access-list 1 permit 10.0.0.0 0.0.0.255
(config)#
route-map test
(config-route-map)# match ip address 1
(config-route-map)# exit
(config)#
router bgp 172
(config-router)# neighbor 11.11.11.11
remote-as 300
(config-router)# neighbor 11.11.11.11
route-map test out
Example
# config
t
(config)#
access-list 1 permit 10.0.0.0 0.0.0.255
(config)#
route-map test
(config-route-map)# match ip address 1
(config-route-map)# exit
(config)#
router bgp 172
(config-router)# ?
Router configuration commands:
address-family Enter Address Family command mode
aggregate-address Configure BGP aggregate entries
auto-summary Enable automatic network number
summarization
bgp BGP
specific commands
default Set a command to its defaults
default-information Control distribution of default
information
default-metric Set metric of redistributed routes
distance Define an administrative distance
distribute-list Filter networks in routing updates
exit Exit
from routing protocol configuration mode
help Description of the interactive
help system
maximum-paths Forward packets over multiple paths
neighbor Specify a neighbor router
network Specify a network to announce via
BGP
no Negate a command or set its
defaults
redistribute Redistribute
information from another routing protocol
synchronization Perform IGP synchronization
table-map Map external entry attributes into
routing table
timers Adjust routing timers
(config-router)# neighbor ?
A.B.C.D Neighbor address
WORD
Neighbor tag
(config-router) # neighbor 1.2.3.4 ?
activate Enable the Address Family for
this Neighbor
advertise-map specify route-map for conditional
advertisement
advertisement-interval Minimum interval between sending BGP
routing updates
allowas-in
Accept as-path with my AS present in it
default-originate Originate default route to this neighbor
description Neighbor specific description
distribute-list Filter updates to/from this neighbor
ebgp-multihop Allow EBGP neighbors not on directly
connected
networks
filter-list Establish BGP filters
local-as Specify a local-as number
maximum-prefix Maximum number of prefix accept from
this peer
next-hop-self Disable the next hop calculation for
this neighbor
next-hop-unchanged Propagate the iBGP
paths's next hop unchanged for
this
neighbor
password Set a password
peer-group Member of the peer-group
prefix-list Filter updates to/from this
neighbor
remote-as Specify a BGP neighbor
remove-private-AS Remove private AS number from outbound
updates
route-map Apply route map to neighbor
route-reflector-client Configure a neighbor as Route
Reflector client
send-community Send Community attribute to this
neighbor
shutdown Administratively shut down this
neighbor
soft-reconfiguration Per neighbor soft reconfiguration
timers BGP per neighbor timers
translate-update Translate Update to MBGP format
unsuppress-map
Route-map to selectively unsuppress suppressed
routes
update-source Source of routing updates
version Set the BGP version to match a
neighbor
weight Set default weight for routes from this
neighbor
(config-router)# nei
1.2.3.4 route-map ?
WORD Name of route map
(config-router)# nei
1.2.3.4 route-m test ?
in Apply map to incoming routes
out Apply map to outbound routes
(config-router)# neighbor 11.11.11.11
route-map test out
(config-router)# neighbor 11.11.11.11 remote-as ?
<1-65535> AS of remote
neighbor
(config-router)# neighbor 11.11.11.11
remote-as 300
Topology
The basic topology is defined below, where AS1 is connected to E0, AS2 to
S0, and AS3 to S1.