rd
Syntax
rd {auto | <AS-NUMBER:ID> | <IP-ADDRESS:ID>}
no rd {auto | <AS-NUMBER:ID> | <IP-ADDRESS:ID>}
Description
Specifies a unique number prepended to the advertised routes within the VLAN. It ensures support for overlapping IP addresses and MACs across different tenants. The default value is NULL. Route Distinguisher (RD) has to be manually configured by a user.
The
no
form of this command removes the currently configured value.
Command context
config-evpn-vlan
Parameters
auto
Specifies automatic route filtering.
<AS-NUMBER:ID>
Specifies the AS number. It can be a 1-byte or 4-byte value. If the AS number is a 2-byte value, the administrative number is a 4-byte value and if the AS number is 4-byte value, the administrative number is a 2-byte value.
<IP-ADDRESS:ID>
Specifies the IP address. It is a 4-byte value and the id is 2 bytes.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Configuring Route Distinguisher for EVPN VLAN:
switch(config-evpn)# vlan 10 switch(config-evpn-vlan-10)# rd 6800:1 switch(config-evpn)# vlan 20 switch(config-evpn-vlan-20)# rd auto