Белая книга для Cisco Cisco Nexus 5010 Switch

Скачать
Страница из 75
 
 
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. 
Page 23 of 75 
Configuration 6b: IPBD-Based Leaf Switch 
Border Leaf 1 and Border Leaf 2 Configuration 
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 30200   
## creating VNI 30200 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 vlan 101 to L2 VNI 30101
 
  dot1q 101-102,200 vni 30101-30102,30200 
 
bridge-domain 1500-1502  
## mapping bridge-domains 1500->30101, 1501->30102, 1502->30200
 
  member vni 30101-30102, 30200 
 
vrf context VRF-A 
  vni 50001 
  rd auto 
  address-family ipv4 unicast 
    route-target both auto 
    route-target both auto evpn 
 
interface Bdi1502 
  vrf member VRF-A 
  ip address 10.10.200.1/24 tag 12345 
  fabric forwarding mode anycast-gateway 
 
interface nve1   
## VTEP configuration
 
  host-reachability protocol bgp 
  member vni 30101   
## configuring VTEP (VXLAN tunnel endpoint) with parameters for L2 VNI 
30101
 
    suppress-arp 
    mcast-group 239.1.1.101 
member vni 30102   
## configuring VTEP (VXLAN tunnel endpoint) with parameters for L2 VNI 
30102
 
    suppress-arp