Cisco Cisco Nexus 5010 Switch White Paper

Página de 75
 
 
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. 
Page 21 of 75 
Configuration 6a: IPVLAN-Based Leaf Switch 
Border Leaf 1 and Border Leaf 2 Configuration 
 
feature vn-segment-vlan-based 
feature nv overlay 
 
route-map FABRIC-RMAP-REDIST-SUBNET permit 10 
  match tag 12345 
 
vlan 200 
  vn-segment 30200   
##mapping the vlan 200 to Layer-2 VNI 30200 
vlan 101 
  vn-segment 30101   
##mapping the vlan 101 to Layer-2 VNI 30101 
vlan 102 
  vn-segment 30101   
##mapping the vlan 102 to Layer-2 VNI 30102
 
vlan 2000 
  vn-segment 50001   
##mapping the vlan 2000 to Layer-3 VRF VNI 50001
 
 
vrf context VRF-A 
  vni 50001 
  rd auto 
  address-family ipv4 unicast 
    route-target both auto 
    route-target both auto evpn 
 
interface Vlan200   
## interface, used for Layer-3 peering with fabric. 
 
  no shutdown 
  vrf member VRF-A 
  ip address 10.10.200.1/24  tag 12345  
## “tag 12345” is used by route-map to redistribute 
subnets into BGP 
  fabric forwarding mode anycast-gateway 
 
interface Vlan2000  
## interface, used as an L3 VRF VNI interface
 
  no shutdown 
  vrf member VRF-A 
  no ip redirects 
  ip forward 
  ipv6 forward 
  no ipv6 redirects 
 
interface Ethernet1/25  
## interface, used to attach to fabric and trunk protected subnet
 
  channel-group 10 mode active 
 
interface Ethernet1/26  
## interface, used to attach to peer with the Layer-3 “outside” 
interface
 
  channel-group 10 mode active