Users Guide

Table Of Contents
VXLAN BGP commands
activate (l2vpn evpn)
Enables the exchange of L2 VPN EVPN address family information with a BGP neighbor or peer group.
Syntax
activate
Parameters None
Default Not configured
Command Mode ROUTER-BGP-NEIGHBOR-AF
Usage
Information
Use this command to exchange L2 VPN EVPN address information for VXLAN host-based routing with a
BGP neighbor. The IPv4 unicast address family is enabled by default. Use the no activate command to
disable an address family with a neighbor.
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.
986 VXLAN