Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Mapping OpenConfig System Management Model Commands to Junos Configuration

Note:

See OpenConfig Data Model Version topic to understand the data models supported version and its Junos OS release for Juniper Networks MX Series and PTX Series.

The following tables show the mapping of OpenConfig system management configuration with the relevant configuration in the Junos OS.

Table 1: DNS Configuration

Command Name

OpenConfig Configuration

Junos Configuration

Search

openconfig-system:system { 
    dns {
        config {
            search [ <> … ];
        }
    }
} 
system { 
    domain-search [<> …];
} 

The OpenConfig DNS search leaf maps to the Junos domain-search statement.

Table 2: Domain Name Configuration

Command Name

OpenConfig Configuration

Junos Configuration

Domain-name

openconfig-system:system { 
    config {
        domain-name <>;
    }
} 
system { 
    domain-name <>; 
} 

The OpenConfig domain-name leaf maps to the Junos domain-name statement.

Table 3: Host Name Configuration

Command Name

OpenConfig Configuration

Junos Configuration

Host-name

openconfig-system:system { 
    config { 
        hostname <>; 
    } 
} 
system { 
    host-name <>; 
    } 
} 

The OpenConfig hostname leaf maps to the Junos hostname statement.

Table 4: Login Banner Configuration

Command Name

OpenConfig Configuration

Junos Configuration

Login-banner

openconfig-system:system { 
    config {
        login-banner <>;
    }
} 
system { 
    login {
        message <>;
    }
} 

The OpenConfig DNS login-banner leaf maps to the Junos message statement.

Table 5: MOTD Banner Configuration

Command Name

OpenConfig Configuration

Junos Configuration

Motd-banner

openconfig-system:system { 
    config {
        motd-banner <>;
    }
} 
system { 
    login {
        announcement <>;
    }
} 

The OpenConfig motd-banner leaf maps to the Junos announcement statement.

Table 6: Time Zone Configuration

Command Name

OpenConfig Configuration

Junos Configuration

Time-zone

openconfig-system:system { 
    clock {
        config {
            timezone-name <>;
        }
    }
} 
system { 
    time-zone <>;
} 

The OpenConfig timezone-name leaf maps to the Junos time-zone statement.

Table 7: Local Station MAC Address Configuration

Command Name

OpenConfig Configuration

Junos Configuration

Routing MAC

openconfig-system:system { 
    mac-address {
        config {
            routing-mac <>;
        }
    }
} 
chassis { 
    local-station-mac <>;
} 

Use to configure a MAC address for the entire chassis.