D-Link DXS-3600-16S Manual page 110

Dxs-3600 series layer 2/3 managed 10gbe switch
Hide thumbs Also See for DXS-3600-16S:
Table of Contents

Advertisement

Example
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 40000
DXS-3600-32S(config-router)#neighbor MAIN-GROUP peer-group
DXS-3600-32S(config-router)#
7-49 neighbor prefix-list
This command is used to set a routing policy to a specified peer or a peer group based on the prefix list. To remove a
prefix list, use the no form of this command.
neighbor {IP-ADDRESS | PEER-GROUP-NAME} prefix-list PREFIX-LIST-NAME {in | out}
no neighbor {IP-ADDRESS | PEER-GROUP-NAME} prefix-list {in | out}
Parameters
IP-ADDRESS
PEER-GROUP-NAME
PREFIX-LIST-NAME
in
out
Default
Command Mode
Command Default Level
Usage Guideline
Example
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#ip prefix-list myprefix permit 172.20.0.0/16 le 32
DXS-3600-32S(config)#
Example
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 40000
DXS-3600-32S(config-router)#neighbor 172.18.1.1 remote-as 65200
DXS-3600-32S(config-router)#neighbor 172.18.1.1 prefix-list myprefix in
DXS-3600-32S(config-router)#
DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
This example shows how to create a peer group named 'MAIN-GROUP'.
Specifies the IP address of the BGP peer.
Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum
length is 16 characters.
Specifies the name of a prefix list. The length is up to 16 characters.
Specifies the filter list that is applied to incoming advertisements from that neighbor.
Specifies the filter list that is applied to outgoing advertisements to that neighbor.
All external and advertised address prefixes are distributed to BGP neighbor.
Router Configuration Mode.
Address Family Configuration Mode (IPv4 Unicast, VPNv4 and VRF).
Level: 8. (EI Mode Only Command)
The command is used to configure the filter related setting for a BGP neighbor or a
peer group based on the prefix list.
If the prefix list doesn't exist or the prefix list does exist but has no filter entry defined,
it will permit all.
Use the show ip bgp neighbors or show ip bgp peer-group command to verify
your settings.
This example shows how to configure the BGP neighbor 172.18.1.1 to apply the
prefix list named myprefix to incoming advertisements:
Firstly, create an ip prefix-list named 'myprefix'.
Then, set the routing policy to neighbor 172.18.1.1.
102

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents