ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
51
| IP Routing Commands
Border Gateway Protocol (BGPv4)
– 1867
DEFAULT SETTING
Not enforced
COMMAND USAGE
By default, the multi-hop check is only performed on iBGP and eBGP non-
direct routes. This command can be used to force the router to perform the
multi-hop check on directly connected routes as well. In other words, the
router will not perform the next-hop direct-connect check the specified
neighbor.
EXAMPLE
Console(config-router)#neighbor 10.1.1.64 enforce-multihop
Console(config-router)#
neighbor filter-list This command filters route updates sent to or received from a neighbor
based on an AS path access-list. Use the no form to disable route filtering.
SYNTAX
neighbor {ip-address | group-name} filter-list access-list {in | out}
no neighbor {ip-address | group-name} filter-list {in | out}
ip-address – IP address of a neighbor.
group-name – A BGP peer group containing a list of neighboring
routers configured with the neighbor peer-group command.
access-list – Name of an AS-Path access list configured with the ip
as-path access-list command.
in – Filter inbound routing updates.
out – Filter outbound routing updates.
COMMAND MODE
Router Configuration
DEFAULT SETTING
Disabled
COMMAND USAGE
Use this command in conjunction with the ip as-path access-list command
to filter route updates sent to or received from a neighbor.
EXAMPLE
In this example, the AS path access list “ASPF” is first configured to deny
access to any route passing through AS 100. It then enables route filtering
by assigning this list to a peer.
Console(config)#ip as-path access-list ASPF deny 100
Console(config)#router bgp 100
Console(config-router)#redistribute static