# Configure CDP interfaces

# URL

frinx-cdp:cdp

# OPENCONFIG YANG

YANG models

{
    "cdp": {
        "interfaces": {
            "interface": [
                {
                    "name": "",
                    "config": {
                        "name": "",
                        "enabled": true
                    }
                }
            ]
        }
    }
}

# OS Commands

# Cisco IOS Classic (15.2(4)S5) / XE (15.3(3)S2)

# CLI

interface 
 cdp enable | no cdp enable

cdp enable is conversion of "enabled": true
no cdp enable is conversion of "enabled": false

# Unit

Link to github : ios-unit

# Cisco IOS XR (XRv 5.1.3 and XRv 6.1.2 tested)

# CLI

interface 
 cdp | no cdp

cdp is conversion of "enabled": true
no cdp is conversion of "enabled": false

# Unit

Link to github : xr-unit

# Brocade (V5.6.0fT163)

# CLI

interface 
 cdp enable | no cdp enable

cdp enable is conversion of "enabled": true
no cdp enable is conversion of "enabled": false

# Unit

Link to github : brocade-unit