neighbor allowas-in

This command specifies the number of times that the AS path of a received route may contain the recipient BGP speaker’s AS number and still be accepted.

Syntax

neighbor {<neighbor tag>|a.b.c.d|X:X::X:X} allowas-in [<number>] 

Command

Description

a.b.c.d|X:X::X:X

Defines the IP address of the neighbor (IPv4 or IPv6).

neighbor tag

Defines the neighbor tag.

number

Defines the number of occurrences of the AS number (1-10)

Default

NA

Command Mode

Privileged User

Example

The following is an example of how to use this command.

(config-data)# router bgp 1
(conf-router)# neighbor 15.13.4.15 allowas-in 5