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

Скачать
Страница из 75
 
 
© 2016 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. 
Page 26 of 75 
Configuration 7a: IPVLAN-Based Leaf Switch 
feature vn-segment-vlan-based 
feature nv overlay 
 
route-map FABRIC-RMAP-REDIST-SUBNET permit 10 
  match tag 12345 
 
vlan 101 
  vn-segment 30101   
##mapping the vlan 101 to Layer-2 VNI 30101 
vlan 102 
  vn-segment 30102   
##mapping the vlan 102 to Layer-2 VNI 30102
 
 
vlan 301 
  vn-segment 30301   
##mapping the vlan 301 to Layer-2 VNI 30301 
vlan 302 
  vn-segment 30302   
##mapping the vlan 302 to Layer-2 VNI 30302
 
 
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 Vlan301   
## interface, used as default gateway for protected subnet 
VLAN101/VNI30101. 
 
  no shutdown 
  vrf member VRF-A 
  ip address 10.10.101.1/24  tag 12345 
  fabric forwarding mode anycast-gateway 
 
interface Vlan302   
## interface, used as default gateway for protected subnet 
VLAN102/VNI30102. 
 
  no shutdown 
  vrf member VRF-A 
  ip address 10.10.102.1/24 tag 12345 
  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