beautypg.com

57 neighbor interface, Neighbor interface – PLANET XGS3-24042 User Manual

Page 657

background image


37-296

Function:

Access-list control for AS-PATH. The “no neighbor {|} filter-list <.LINE>

{|}” cancels the AS-PATH access-list control.

Parameter:

: Neighbor IP address.

: Name of peer group.

: AS-PATH access-list name configured through ip

as-pathaccess-list<.LINE>.

Default:

Not configured.

Command Mode:

BGP route mode and address list mode.

Usage Guide:

After first configured the IP AS-PATH access-list, apply this option to specified neighbor will be able

to send/receive routes with specified AS numbers in the AS list. Accepting or denying depends on

the configuration of the access-list, while sending and receiving are configured by this command.

Example:

Configure the AS-PATH access control list, “ASPF” is the name of the access-list. The route with AS

number of 100 will not be able to update to the partner due to the filter table control.

Switch(config)#ip as-path access-list ASPF deny 100

Switch(config)#router bgp 100

Switch(config-router)# redistribute static

Switch(config-router)neighbor 10.1.1.66 filter-list aspf out

Relevant Commands:

ip as-path access-list

37.57 neighbor interface

Command:

neighbor interface

no neighbor interface

Function:

Specify the interface to the neighbor. The “no neighbor interface “of the

command cancels this configuration.

Parameter:

: Neighbor IP address.

: Interface name, e.g. “Vlan 2”.