Users Guide

Table Of Contents
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.1/24
OS10(conf-if-vn-10001)# ip virtual-router address 10.1.0.254
OS10(conf-if-vn-10001)#
OS10(config)# interface virtual-network 20001
OS10(conf-if-vn-20001)# ip vrf forwarding Green
OS10(conf-if-vn-20001)# ip address 10.2.0.1/24
OS10(conf-if-vn-20001)# ip virtual-router address 10.2.0.254
OS10(conf-if-vn-20001)#
4. Configure DHCP server address and VSS info. Virtual-network 10001 uses type 0 VSS format (ASCII VPN identifier) and
Virtual-network 20001 uses type 1 VSS format (VPN ID). 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)# ip helper-address 10.20.0.3 vrf Yellow
OS10(conf-if-vn-10001)# exit
OS10(config)# interface virtual-network 20001
OS10(conf-if-vn-20001)# ip dhcp-relay vss-info type 1 222:2222
OS10(conf-if-vn-20001)# ip helper-address 10.20.0.3 vrf Green
OS10(conf-if-vn-10001)# exit
Leaf2 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.
OS10(config)# interface loopback1
OS10(conf-if-lo-1)# ip address 172.16.1.2/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)#
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.2/24
OS10(conf-if-vn-10001)# ip virtual-router address 10.1.0.254
OS10(conf-if-vn-10001)#
OS10(config)# interface virtual-network 20001
OS10(conf-if-vn-20001)# ip vrf forwarding Green
OS10(conf-if-vn-20001)# ip address 10.2.0.2/24
OS10(conf-if-vn-20001)# ip virtual-router address 10.2.0.254
OS10(conf-if-vn-20001)#
4. Configure DHCP server address and VSS info. Virtual-network 10001 uses type 0 VSS format (ASCII VPN identifier) and
Virtual-network 20001 uses type 1 VSS format (VPN ID). 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)# ip helper-address 10.20.0.3 vrf Yellow
OS10(conf-if-vn-10001)# exit
OS10(config)# interface virtual-network 20001
274
System management