Allied Telesis VERSION 5.4.3-2.6 Switch User Manual


 
BGP and BGP4+ Commands
Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches
C613-50032-01 REV D AlliedWare Plus
TM
Operating System - Software Version 5.4.3-2.6 3.125
neighbor filter-list (BGP and BGP4+)
This command creates a BGP or BGP4+ filter using an AS (Autonomous System) path list.
This command specifies an AS path list, which it then applies to filter updates to and from
a BGP or a BGP4+ neighbor
The no variant of this command removes the previously specified BGP or BGP4+ filter
using access control lists.
Syntax [BGP/BGP4+] neighbor <neighborid> filter-list <listname> {in|out}
no neighbor <neighborid> filter-list <listname> {in|out}
Mode [BGP]
Router Configuration or IPv4 Address Family Configuration for a VRF instance
Mode [BGP4+] IPv6 Address Family Configuration
Usage [BGP/BGP4+] This command specifies a filter for updates based on a BGP AS (Autonomous System) path
list.
Examples [BGP]
Parameter Description
<neighborid>
Specify the identification method for the BGP or BGP4+ peer. Use
one of the following formats:
<ip-address> Specify the address of an IPv4 BGP neighbor, in
dotted decimal notation A.B.C.D.
<ipv6-addr> Specify the address of an IPv6 BGP4+ neighbor,
entered in hexadecimal in the format X:X::X:X.
<peer-group> Enter the name of an existing peer-group. For
information on how to create peer groups,
refer to the neighbor peer-group (add a
neighbor) (BGP and BGP+) command on
page 3.144, and neighbor route-map (BGP
and BGP4+) command on page 3.159. When
this parameter is used with this command, the
command applies on all peers in the specified
group.
<listname>
Specify the name of an AS (Autonomous System) path list.
in
Indicates that incoming advertised routes will be filtered.
out
Indicates that outgoing advertised routes will be filtered.
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
neighbor 10.10.0.34 filter-list list1
out