Show system configuration revision for Junos OS

Configurare noua (How To)

Situatie

Solutie

show system configuration revision revision-string

<compare revision-string revision-string2>
<rollback-number revision-string >

Display the configuration associated to the specified revision.

revision-string

Show the configuration associated with the specified revision identifier string. Use the show system commit include-configuration-revisi on command to view the revision identifier string for each revision.

compare revision-string revision-string2

(Optional) Compare two different revisions by entering both revision identifier strings. The output displays the differences between the two configurations.

rollback-number revision-string

(Optional) Show corresponding rollback number for the given configuration revision identifier string.

user@host> show system configuration revision re0-1604691570-294   
## Last changed: 2020-11-06 11:39:28 PST
version 20.4I-20201012.0.0359;
groups {
    re0 {
        system {
            host-name host;
            backup-router 192.0.2.254 destination 0.0.0.0/0;
        }
        interfaces {
            fxp0 {
                unit 0 {
                    family inet {
                        address 192.0.2.42/24;
                    }
                }
            }
        }
    }
    re1 {
        system {
            host-name host1;
            backup-router 192.0.2.254 destination 0.0.0.0/0;
        }
        interfaces {
            fxp0 {
                unit 0 {
                    family inet {
                        address 192.0.2.42/24;
                    }
                }
            }
        }
    }
    global {
        system {
            root-authentication {
                encrypted-password "$ABC123"; ## SECRET-DATA
    debugger-on-break;
    switchover-on-routing-crash;
    authentication-order [ password radius ];
    name-server {
        192.0.2.68;
        192.0.2.11;
    }
    radius-server {
        192.0.2.162 secret "$ABC123"; ## SECRET-DATA
        192.0.2.10 secret "$ABC123"; ## SECRET-DATA
    }
    schema {
        openconfig {
            unhide;
        }
    }
}
chassis {
    redundancy {
        graceful-switchover;
    }
    network-services enhanced-ip;
}
routing-options {
    static {
        route 0.0.0.0/0 next-hop 192.0.2.254;
    }
    nonstop-routing;
}
protocols {
    isis {
        interface all;
        interface fxp0.0 {
            disable;
        }
    }
}

Tip solutie

Permanent

Voteaza

(4 din 9 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?