Cisco Cisco Nexus 5010 Switch Libro bianco

Pagina di 75
 
 
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. 
Page 39 of 75 
route-map REDIST-VRF-SUBNETS permit 10 
  match ip address VRF-SUBNETS 
 
vni 33001   
## creating VNI 33001 in the system 
vni 33002   
## creating VNI 33002 in the system 
vni 33500   
## creating VNI 33500 in the system 
vni 50001   
## creating VNI 50001 in the system
 
vni 50002   
## creating VNI 50002 in the system
 
vni 50010   
## creating VNI 50010 in the system
 
 
system bridge-domain 1500-1502,2500-2502  
## bridge domains, which will tie VNIs and VLANs 
together
 
 
encapsulation profile vni VSI_to_VNI   
## mapping VLANs to respective VNIs
 
  dot1q 3001-3002,3500 vni 33001-33002,33500 
 
bridge-domain 1500-1502  
## mapping bridge-domains: 1500->33001, 1501->33002, 1502->33500
 
  member vni 33001-33002, 33500 
 
vrf context VRF-A 
  vni 50001 
  ip route 0.0.0.0/0 10.10.231.2 
## static default route to attract all egress traffic out 
of the VRF-A. Next-hop is Firewall.
 
  rd auto 
  address-family ipv4 unicast 
    route-target both auto 
    route-target both auto evpn 
 
vrf context VRF-B 
  vni 50002 
  ip route 0.0.0.0/0 10.10.232.2 
## static default route to attract all egress traffic out 
of the VRF-B. Next-hop is Firewall. 
  rd auto 
  address-family ipv4 unicast 
    route-target both auto 
    route-target both auto evpn 
 
vrf context VRF-EXT 
  vni 50010 
  ip route 0.0.0.0/0 10.77.1.2 
## static default route to WAN/Edge router 
  
ip route 10.10.101.0/24 10.10.235.5 
## static route to VLAN101 subnet in VRF-A. Next-hop 
is Firewall.
 
  
ip route 10.11.121.0/24 10.10.235.5 
## static route to VLAN1121 subnet in VRF-B. Next-hop 
is Firewall.
 
  rd auto 
  address-family ipv4 unicast 
    route-target both auto 
    route-target both auto evpn 
 
interface Bdi1500