beautypg.com

65 neighbor prefix-list, 66 neighbor remote-as, Neighbor prefix – PLANET XGS3-24042 User Manual

Page 663: List, Neighbor remote

background image


37-302

Switch(config-router)#neighbor 10.1.1.64 port 1023

37.65 neighbor prefix-list

Command:

neighbor {|} prefix-list {}

no neighbor {|} prefix-list {|}

Function:

Configure the prefix restrictions applied in sending or receiving routes from specified neighbors.The

no neighbor {|} prefix-list {|}” command

cancels this configuration.

Parameter:

: Neighbor IP address.

: Name of the peer group.

: Name or sequence number of the prefix-list.

: Direction on which the restrictions applied.

Default:

No prefix restrictions applied.

Command Mode:

BGP route mode and address-family mode

Usage Guide:

Specify the prefix and its scope by configuring ip prefix-list and determines whether this scope is

permitted or denied. Only the route with permitted prefix will be sent or received.

Example:

Switch(config)#ip prefix-list prw permit 100.1.0.0/22 ge 23 le 25

Switch(config)#router bgp 200

Switch(config-router)#redistribute static

Switch(config-router)neighbor 10.1.1.66 prefix-list prw out

37.66 neighbor remote-as

Command:

neighbor {|} remote-as

no neighbor {|} [remote-as ]

Function:

This manual is related to the following products: