Neighbor Prefix-List - Allied Telesis SwitchBlade x908 Series Software Reference Manual

Switchblade x908/x900 series alliedware plus operating system software reference for version 5.3.1
Hide thumbs Also See for SwitchBlade x908 Series:
Table of Contents

Advertisement

BGP Commands

neighbor prefix-list

Use this command to distribute BGP neighbor information as specified in a prefix list.
Use the no parameter with this command to remove an entry.
Syntax
neighbor <neighborid> prefix-list <listname> {in|out}
no neighbor <neighborid> prefix-list <listname> {in|out}
Parameter
<neighborid>
<listname>
in
out
Router mode and Address Family [ipv4 unicast | ipv4 multicast] mode
Mode
Use this command to specify a prefix list for filtering BGP advertisements. Filtering by prefix list
Usage
matches the prefixes of routes with those listed in the prefix list. If there is a match, the route is
used. An empty prefix list permits all prefixes. If a given prefix does not match any entries of a
prefix list, the route is denied access.
The router begins the search at the top of the prefix list, with the sequence number 1. Once a
match or deny occurs, the router does not need to go through the rest of the prefix list. For
efficiency the most common matches or denies are listed at the top.
The neighbor distribute-list command is an alternative to the neighbor prefix-list
command and only one of them can be used for filtering to the same neighbor in any direction.
Example
awplus(config-router)#
ip prefix-list
Related Commands
38.78
Description
{<ip-address>|<tag>}
<ip-
address>
<tag>
The name of an IP prefix list.
Specifies that the IP prefix list applies to incoming advertisements.
Specifies that the IP prefix list applies to outgoing advertisements.
awplus#
configure terminal
awplus(config)#
ip prefix-list list1 deny 30.0.0.0/24
awplus(config)#
router bgp 12
neighbor 10.10.10.10 prefix-list list1 in
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
The address of an IPv4 BGP neighbor, in dotted decimal
notation A.B.C.D.
Name of an existing peer-group. For information on how to
create peer groups, refer to the
(adding a neighbor) command on page
neighbor remote-as command on page
When this parameter is used with a command, the
command applies on all peers in the specified group.
neighbor peer-group
38.75, and
38.79.
C613-50007-01 REV B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents