Users Guide

Table Of Contents
Example
OS10(conf-router-neighbor)# address-family l2vpn evpn unicast
OS10(conf-router-bgp-neighbor-af)# activate
Supported
Releases
10.2.0E or later
address-family l2vpn evpn
Configures the L2 VPN EVPN address family for VXLAN host-based routing to a BGP neighbor.
Syntax
address-family l2vpn evpn
Parameters None
Default Not configured
Command mode ROUTER-NEIGHBOR
Usage
information
To use BGP EVPN service in a VXLAN, you must configure and enable the L2VPN EVPN address family
on a VTEP to support host-based routing to each BGP neighbor.
Example
OS10(config)# router bgp 100
OS10(config-router-bgp-100)# neighbor 45.0.0.1
OS10(config-router-neighbor)# address-family l2vpn evpn
Supported
releases
10.4.2.0 or later
allowas-in
Configures the number of times the local AS number can appear in the BGP AS_PATH path attribute before the switch rejects
the route.
Syntax
allowas-in as-number
Parameters as-numberEnter the number of occurrences for a local AS number, from 1 to 10.
Default Disabled
Command Mode ROUTER-BPG-NEIGHBOR-AF
Usage
Information
Use this command to enable the BGP speaker to accept a route with the local AS number in updates
received from a peer for the specified number of times. The no version of this command resets the value
to the default.
Example (IPv4)
OS10(config-router-neighbor)# address-family ipv4 unicast
OS10(conf-router-bgp-neighbor-af)# allowas-in 5
Example (IPv6)
OS10(conf-router-template)# address-family ipv6 unicast
OS10(conf-router-bgp-template-af)# allowas-in 5
Example (l2vpn)
OS10(config-router-neighbor)# address-family l2vpn evpn
OS10(config-router-bgp-neighbor-af)# allowas-in 3
Supported
Releases
10.3.0E or later
1168 VXLAN