# Relay Agent

# URL

frinx-openconfig-relay-agent:relay-agent

# OPENCONFIG YANG

YANG models

{
    "frinx-openconfig-relay-agent:relay-agent": {
        "dhcp": {
            "frinx-saos-relay-agent-extension:relay-agent": {
                "config": {
                    "remote-id-type": "",
                    "replace-option82": ,
                    "enable": 
                }
            }
        }
    }
}

# OS Configuration Commands

# SAOS 6

# CLI

 
dhcp l2-relay-agent 
dhcp l2-relay-agent set remote-id-type 
dhcp l2-relay-agent set replace-option82 

true or false is conversion of set to "enable"
rid-string, device-hostname, device-mac is conversion of set to "remote_id_type"
true or false is conversion of set to "replace-option82"

dhcp l2-relay-agent disable
dhcp l2-relay-agent unset remote-id-type
dhcp l2-relay-agent unset replace-option82
# Unit

Link to GitHub : saos6-unit

# SAOS 8

# CLI

 
dhcp l2-relay-agent 
dhcp l2-relay-agent set remote-id-type 
dhcp l2-relay-agent set replace-option82 

true or false is conversion of set to "enable"
rid-string, device-hostname, device-mac is conversion of set to "remote_id_type"
true or false is conversion of set to "replace-option82"

dhcp l2-relay-agent disable
dhcp l2-relay-agent unset remote-id-type
dhcp l2-relay-agent unset replace-option82
# Unit

Link to GitHub : saos8-unit