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 22 of 75 
interface port-channel 10 
## configuring vPC port-channel to Firewall cluster
 
 switchport mode trunk 
 switchport trunk allowed vlan add 101-102,200 
 vpc 10 
 
interface nve1   
  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 
    suppress-arp 
    mcast-group 239.1.1.200 
  member vni 50001 associate-vrf  
## configuring VTEP with parameters for L3 VRF VNI 50001
 
 
router bgp 65000 
  address-family l2vpn evpn  
## enabling bgp evpn control plane for host reachability 
 vrf VRF-A 
    address-family ipv4 unicast 
      advertise l2vpn evpn 
      redistribute direct route-map FABRIC-RMAP-REDIST-SUBNET 
      maximum-paths ibgp 2 
evpn   
  vni 30200 l2  
## enabling bgp evpn control plane for host reachability for L2 VNI 30200
 
    rd auto 
    route-target import auto 
    route-target export auto 
  vni 30101 l2  
## enabling bgp evpn control plane for host reachability for L2 VNI 30101
 
    rd auto 
    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