route-target (EVPN VLAN/BD)
 
   
   Enables auto-generation of the import and export route-target community attributes for a VLAN/bridge domain (BD) in an Ethernet Virtual Private Network (EVPN) default instance. 
  
 Syntax
 
	  
		route-target 
		 
		  { 
		  both 
		  | 
		  import 
		  } 
		  auto 
		  [ 
		  admin-value:arbitrary-value 
		  ] 
	 
 
	  
		route-target 
		export 
		  auto 
		  [ 
		  admin-value:arbitrary-value 
		  ] 
	 
 
	  
		no route-target 
		 
		  { 
		  both 
		  | 
		  import 
		  } 
		  auto 
		  [ 
		  ignore-as 
		  ] 
	 
 
	  
		no route-target 
		export 
		  auto 
		 
	 
 
	 Command Default
 
		 Disabled. 
		
 
	 
 
	 Parameters
 
		 
		   
			 -  
				 
				  both 
				  auto 
				 
			 
-  Specifies auto-generation of the import and export route-target community attributes. 
			 
-  
				 
				  export 
				  auto 
			 
- Specifies auto-generation of the export route-target community attribute. 
			 
-  
				 
				  import 
				  auto 
			 
- Specifies auto-generation of the import route-target community attribute. 
			 
 
		   
			 -  
				 
				  admin-value 
				 
			 
- The administrative number assigned to the route. This can be a local ASN number or an IP address. The ASN number can be either a 2-byte number (from 0 through 65535) or a 4-byte number (from 0 through 4294967295). 
			 
-  
				 
				  arbitrary-value 
				 
			 
- An arbitrary number you choose. The range of valid values is from 0 through 65535 if the ASN is is an IP address or a 2-byte ASN. The range is 0 through 4294967295 if the ASN is a 4-byte ASN. 
			 
Modes
 
		EVPN VLAN/BD configuration mode 
		
 
	 
 
	 Usage Guidelines
 
		 The 
		  no form of this command removes configured route target parameters. 
		
 
	 
Examples
 
	  
		The following example configures auto-generation of the import and export route-target community attributes for EVPN VLAN/BD 200. 
		
 
		
device# configure terminal
device(config)# evpn
device(config-evpn-default)# bridge-domain 200
device(config-bridge-domain-200)# route-target both 200:1