EVN

  1. Easy virtual network (EVN)
  2. Route replication

Easy virtual network (EVN)

  • VRF-lite automation
  • uses 802.1Q interfaces
  • not supported:
    • tunnels
    • manual VRF-lite per interface
    • OSPFv3
    • PACL
    • IPv6
    • NAT
    • Netflow
    • EIGRP
  • up to 32 VRFs
(config)# vrf definition <VRF>
(config-vrf)# address-family ipv4|ipv6

; VLAN and subint number
(config-vrf)# vnet tag <N>

(config)# vrf list <LIST>
(config-vrf-list)# member <VRF> 
; subint inherits parent config
(config-if)# vnet trunk

; limit VN on EVN trunk
(config-if)# vnet trunk list <LIST>

; global VRF config mode, settings not inherited by subints
(config-if)# vnet global

; VRF config mode
(config-if)# vnet name <VRF>

Route replication

(config-vrf)# address-family ipv4|ipv6 

; copy SOURCE_VRF RIB into VRF RIB
(config-vrf-af)# vnet route-replicate from vrf <SOURCE_VRF> all 
; copy in global VRF
(config)# global-address-family ipv4 unicast
; routes must be present in current VRF RIB
(config-router)# redistribute vrf <VRF> <IGP>
# routing-context vrf <VRF>
# debug condition vrf <VRF>