Friday, August 5, 2016

Juniper JUNOS Configuration Check-out Failed

Below is one example / case of configuration check-out failed in Juniper JUNOS. Even JUNOS allow you to set command line, isn't sure the command is correct one, verify with commit check or straight with commit, you will see failed.

This example is interface access mode with VLAN member more than one members, if you want the interface with more than one member of VLAN, you must set port-mode trunk.

awa@D22_EX2200# show interfaces ge-1/0/7  
unit 0 {
    family ethernet-switching {
        port-mode access;
        vlan {
            members TEST;
        }
    }
}

awa@D22_EX2200# set interfaces ge-1/0/7 unit 0 family ethernet-switching port-mode access vlan members MGMT 

{master:1}[edit]
awa@D22_EX2200# show interfaces ge-1/0/7                                                                       
unit 0 {
    family ethernet-switching {
        port-mode access;
        vlan {
            members [ TEST MGMT ];
        }
    }
}

{master:1}[edit]
awa@D22_EX2200# commit                                                                                         
error: Access interface has more than one vlan member: and
error: configuration check-out failed

{master:1}[edit]

awa@D22_EX2200#

No comments: