Chapter 29
| IP Routing Commands
Border Gateway Protocol (BGPv4)
– 959 –
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
Console(config-router)#neighbor 10.1.1.66 filter-list ASPF out
Console(config-router)#
neighbor interface This command specifies the interface to a neighbor. Use the no form to remove this
configuration setting.
Syntax
neighbor ip-address interface vlan vlan-id
no neighbor ip-address interface
ip-address – IP address of a neighbor.
vlan-id - VLAN ID. (Range: 1-4094)
Command Mode
Router Configuration
Default Setting
None
Example
Console(config-router)#neighbor 10.1.1.64 interface vlan 1
Console(config-router)#
neighbor maximum-
prefix
This command sets the maximum number or route prefixes that can be received
from a neighbor. Use the no form to restore the default setting.
Syntax
neighbor {ip-address | group-name} maximum-prefix max-count [threshold
[restart interval | warning]]
no neighbor {ip-address | group-name} maximum-prefix
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.
max-count – The maximum number of route prefixes that will be accepted
from a neighbor. (Range: 1-4294967295)