Users Guide

Table Of Contents
OS10(config)# ip vrf Green
OS10(conf-vrf)# ip route-import 0:0
OS10(conf-vrf)# exit
OS10(config)# ip vrf Red
OS10(conf-vrf)# ip route-import 0:0
OS10(conf-vrf)# exit
OS10(config)#
NOTE: If Border Leaf switch is already advertising a default route in each VRF to other VTEPs, there is no need to
advertise this DHCP server route to other VTEPs. Otherwise, this leaked route could be advertised to other VTEPs using
"advertise ipv4 connected" command under EVPN for each VRF.
Leaf4 configuration:
1. Enable DHCP Option-82 suboptions - link-selection, server-override, vss:
OS10(config)# ip dhcp-relay link-selection
OS10(config)# ip dhcp-relay server-override
OS10(config)# ip dhcp-relay vss
2. Configure source interface (giaddr) to be used for DHCP relayed packets in each VRF. IP belonging to the loopback interface
in underlay is given here as the server is reachable in the underlay network in default VRF.
The response from the DHCP server comes to this IP in underlay default VRF.
OS10(config)# interface loopback1
OS10(conf-if-lo-1)# ip address 172.16.1.4/32
OS10(conf-if-lo-1)# exit
OS10(config)# ip vrf Yellow
OS10(conf-vrf)# ip dhcp-relay source-interface loopback 1
OS10(conf-vrf)# exit
OS10(config)# ip vrf Green
OS10(conf-vrf)# ip dhcp-relay source-interface loopback 1
OS10(conf-vrf)# exit
OS10(config)# ip vrf Red
OS10(conf-vrf)# ip dhcp-relay source-interface loopback 1
OS10(conf-vrf)# exit
OS10(config)#
3. Configure L3 virtual-network interface with VRF and IP address
OS10(config)# interface virtual-network 10001
OS10(conf-if-vn-10001)# ip vrf forwarding Yellow
OS10(conf-if-vn-10001)# ip address 10.1.0.4/24
OS10(conf-if-vn-10001)# ip virtual-router address 10.1.0.254
OS10(conf-if-vn-10001)#
OS10(config)# interface virtual-network 30001
OS10(conf-if-vn-30001)# ip vrf forwarding Red
OS10(conf-if-vn-30001)# ip address 10.3.0.2/24
OS10(conf-if-vn-30001)# ip virtual-router address 10.3.0.254
OS10(conf-if-vn-30001)#
4. Configure DHCP server address and VSS info. Virtual-network 10001 and 30001 uses type 0 VSS format (ASCII VPN
identifier). The DHCP server should be configured with these identifiers in the network pools.
OS10(config)# interface virtual-network 10001
OS10(conf-if-vn-10001)# ip dhcp-relay vss-info type 0 Yellow
OS10(conf-if-vn-10001)# exit
OS10(config)# interface virtual-network 30001
OS10(conf-if-vn-30001)# ip dhcp-relay vss-info type 0 Red
OS10(conf-if-vn-30001)# exit
OS10(config)#
5. Configure route leaking and leak the DHCP Server route to the VRFs Yellow, Green and Red.
OS10(config)# ip prefix-list PrefixList_DHCPServer permit 10.20.0.0/24
OS10(config)#
OS10(config)# route-map RouteMap_DHCPServer
OS10(config-route-map)# match ip address prefix-list PrefixList_DHCPServer
OS10(config-route-map)# exit
276
System management