Example: Retailer Routing Instances for a DHCPv4 Wholesale Network
routing-instances { Retailer_Instance1 { instance-type vrf; access-profile Retailer_Access1; interface ge-11/1/9.10; interface ge-11/1/10.100; interface lo0.1; route-distinguisher 1:1; forwarding-options { dhcp-relay { authentication { password $ABC123$ABC123; username-include { user-prefix WholesaleNetwork_Retailer1; } } dynamic-profile Subscriber_Profile_Retailer1; overrides { always-write-giaddr; always-write-option-82; layer2-unicast-replies; trust-option-82; client-discover-match; } server-group { Retailer1-Server-Group { 10.10.100.1; } } active-server-group Retailer1-Server-Group; group Retailer1-Group { authentication { password $ABC123$ABC123; username-include { user-prefix WholesaleNetwork_Retailer1; } } dynamic-profile Subscriber_Profile_Retailer1; overrides { always-write-giaddr; trust-option-82; client-discover-match; } interface ge-2/3/0.2; } } } } Retailer_Instance2 { instance-type vrf; access-profile Retailer_Access2; interface ge-7/1/9.10; interface ge-7/1/9.100; interface lo0.2; route-distinguisher 2:2; forwarding-options { dhcp-relay { authentication { password $ABC123$ABC123$ABC123; username-include { user-prefix WholesaleNetwork_Retailer2; } } dynamic-profile Subscriber_Profile_Retailer2; overrides { always-write-giaddr; trust-option-82; client-discover-match; } server-group { Retailer2-Group { 10.20.200.1; } } active-server-group Retailer2-Group; group Retailer2-Group { authentication { password $ABC123$ABC123$ABC123; username-include { user-prefix psswd2; } } dynamic-profile Subscriber_Profile_Retailer2; overrides { always-write-giaddr; trust-option-82; client-discover-match; } interface ge-2/3/0.3; } } } } }