Cisco Cisco Nexus 5010 Switch Libro blanco
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information.
Page 28 of 75
route-target import auto
route-target export auto
vni 30102 l2
## enabling bgp evpn control plane for host reachability for L2 VNI 30102
rd auto
route-target import auto
route-target export auto
vni 30301 l2
## enabling bgp evpn control plane for host reachability for L2 VNI 30301
rd auto
route-target import auto
route-target export auto
vni 30302 l2
## enabling bgp evpn control plane for host reachability for L2 VNI 30302
rd auto
route-target import auto
route-target export auto
Configuration 7b: IPBD-Based Leaf Switch
install feature-set fabric
vdc leaf1 id 1
allow feature-set fabric
feature-set fabric
feature nv overlay
feature vni
nv overlay evpn
route-map FABRIC-RMAP-REDIST-SUBNET permit 10
match tag 12345
vni 30101
## creating VNI 30101 in the system
vni 30102
## creating VNI 30102 in the system
vni 30301
## creating VNI 30301 in the system
vni 30302
## creating VNI 30302 in the system
vni 50001
## creating VNI 50001 in the system
system bridge-domain 1500-2500
## bridge domains, which will tie VNIs and VLANs together
encapsulation profile vni VSI_to_VNI
## mapping VLANs to respective VNIs
dot1q 101-102,301-302 vni 30101-30102,30301-30302
bridge-domain 1500-1503
## mapping bridge-domains: 1500->30101, 1501->30102, 1502->30301,
1503->30302
member vni 30101-30102, 30301-30302
vrf context VRF-A
vni 50001
rd auto
address-family ipv4 unicast
route-target both auto
route-target both auto evpn