Enterasys X-Pedition XSR CLI Cli Reference Manual page 290

Enterasys security router reference guide
Table of Contents

Advertisement

BGP Configuration Commands
neighbor distribute-list
This command distributes the information specified in an access‐list to a BGP neighbor. Before 
entering this command, a neighbor or peer group must be identified by means of the 
remote-as
Syntax
neighbor {ip-address | peer-group-name} distribute-list access-list {in | out}
ip-address
peer-group-name
access-list
in
out
Syntax of the "no" Form
The no form of this command removes the ACL‐linked neighbor:
no neighbor {ip-address | peer-group-name} distribute-list access-list {in | out}
Mode
Router configuration: 
Default
No access list applied
Example
This example applies access‐list 1 to incoming advertisements from neighbor 192.168.1.1. Only 
routes which match 10.0.0.0/8, 11.0.0.0/8 or 12.0.0.0/8 prefixes will be accepted from the neighbor.
XSR(config)#access-list 1 permit 10.0.0.0 255.0.0.0
XSR(config)#access-list 1 permit 11.0.0.0 255.0.0.0
XSR(config)#access-list 1 permit 12.0.0.0 255.0.0.0
XSR(config)#router bgp 100
XSR(config-router)#neighbor 192.168.1.1 remote-as 101
XSR(config-router)#neighbor 192.168.1.1 distribute-list 1 in
6-94 Configuring the Border Gateway Protocol
 or 
neighbor peer-group
Note: Perform a clear ip bgp neighbor <IP address> whenever this command is changed.
Neighbor's IP address.
BGP peer group by name. Range: 1 to 64 characters.
ACL, ranging from 1 to 199.
ACL applied to inbound routes.
ACL applied to outbound routes.
XSR(config-router)#
 command. Also, the prefix‐based ACL must be configured.
neighbor

Advertisement

Table of Contents
loading

This manual is also suitable for:

X-pedition xsr

Table of Contents