User Manual
436
Users Manual of XGS-6350-24X4C
neighbor {ip-address }
distribute-listaccess-list-name {in | out }
Establishes a BGP filter.
(3) Use the prefix list with the commands ip prefix-list and neighbor prefix-list.
Command Purpose
ip prefix-listprefixs-list-name |sequence
number {permit |deny}A.B.C.D/n ge x le y
Defines a prefix list.
router bgpautonomous-system
Enters the router configuration mode.
neighbor {ip-address }
prefix-listprefix-list-name {in | out}
Establishes a BGP filter.
(4) Use the route mapping with the commands route-map and neighbor route-map.
Route mapping can filter and change the routing attribute.
For details, refer to the section “Example for Neighbor-Based BGP Path Filtration”.
45.4.2.1.8 Configuring Port-Based BGP Route Filtration
You can use the access list or the prefix list to configure the port-based BGP route filtration. You can filter the
network number or the gateway address of the route. You can designate the access-list option to use the
access list, or designate the prefix-list option to use the prefix list to filter the network number of the route.
You also can designate the gateway option to use the access list to filter the Nexthop attribute of the route.
The access-list option and the prefix-list option cannot be used together. The asterisk mark (*) can be
designated to filter routes on all ports.
Run the following command in BGP configuration mode to configure the port-based BGP route filtration.
Command Purpose
filter interface {in | out}〔access-list
access-list-name〕〔prefix-list prefix-list-name〕
〔gateway access-list-name〕
Configures the port-based BGP route
filtration.
For details, refer to the section “Example for Port-Based BGP Route Filtration”.
45.4.2.1.9 Cancelling BGP-Updated Next Hop Processing
You can cancel the next hop processing for the neighbor's BGP update. The configuration is useful in the
non-broadcast networks such as frame relay or X.25. In frame relay or X.25, BGP neighbors cannot directly
access all other neighbors in the same IP subnet. The following methods can cancel the next hop processing:
The local IP address that uses the BGP connection replaces the next-hop address of the outgoing route.
Use the route map to designate the next-hop address of the outgoing route or the incoming route.
Run the following command to cancel the next-hop processing:
Command Purpose
neighbor {ip-address } next-hop-self
Cancels the next-hop processing when










