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

Скачать
Страница из 75
 
 
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. 
Page 13 of 75 
Configuration 2b: IPBD-Based Leaf Switch Connecting to Firewall 
install feature-set fabric 
vdc leaf1 id 1 
  allow feature-set fabric 
feature-set fabric 
feature nv overlay 
feature vni 
nv overlay evpn 
 
vni 30101   
## creating VNI 30101 in the system 
vni 30200   
## creating VNI 30200 in the system 
vni 50001   
## creating VNI 50001 in the system
 
 
route-map FABRIC-RMAP-REDIST-SUBNET permit 10 
  match tag 12345 
 
system bridge-domain 1500-2500  
## bridge domains, which will tie VNIs and VLANs together
 
 
encapsulation profile vni VSI_101_to_30101 
## mapping vlan 101 to L2 VNI 30101
 
  dot1q 101 vni 30101  
encapsulation profile vni VSI_200_to_30200 
## mapping vlan 200 to L2 VNI 30200
 
  dot1q 200 vni 30200  
 
bridge-domain 1500-1501  
## mapping bridge-domain 1500 to L2 VNI 30101, and 1500 to 30200
 
  member vni 30101, 30200 
 
vrf context VRF-A 
  vni 50001 
  rd auto 
  address-family ipv4 unicast 
    route-target both auto 
    route-target both auto evpn 
   
interface Bdi1501
3
 
  vrf member VRF-A 
  ip address 10.10.200.1/24 tag 12345 
  no shutdown 
 
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 30200    
## configuring VTEP with parameters for L2 VNI 30200
 
                                                 
3
 Please refer to Configuration 3b and Configuration 4b for more details.