Description

Each EX-series switch is programmed with a factory default configuration that contains the values set for each configuration parameter when a switch is shipped.  The default configuration file sets values for system parameters such as syslog and commit, configures PoE and Ethernet-switching on all interfaces, and enables the LLDP and RSTP protocols.

Solution

EX 4200 Default Configuration

Each EX-series switch is programmed with a factory default configuration that contains the values set for each configuration parameter when a switch is shipped. The default configuration file sets values for system parameters such as syslog and commit, configures PoE and Ethernet-switching on all interfaces, and enables the LLDP (Link Layer Discovery Protocol) and RSTP (Rapid Spanning Tree Protocol) protocols.

The following factory default configuration file is for a 24-port switch. For models that have more ports, this default configuration file has more interfaces.

Note: In this example, ge-0/0/0 through ge0/0/23 are the network interface ports. Optional uplink modules provide either two 10-Gigabit Ethernet small-form factor pluggable (XFP) transceivers (xe-0/1/1/ and xe-0/1/1/) or four 1-Gigabit Ethernet small form factor pluggable (SFP) transceivers (ge-0/1/0 through ge-0/1/3) .

When you commit changes to the configuration, a new configuration file is created which becomes the active configuration. You can always revert to the factory default configuration.

This topic shows the factory default configuration file of a 24-port Ex-series switch.
 
system {
    syslog {
        user * {
            any emergency;
        }
        file messages {
            any notice;
            authorization info;
        }
        file interactive-commands {
            interactive-commands any;
        }
    }
    commit {
        factory-settings {
            reset-chassis-lcd-menu;
            reset-virtual-chassis-configuration;
        }
    }
}
interfaces {
    ge-0/0/0 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/1 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/2 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/3 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/4 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/5 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/6 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/7 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/8 {

        unit 0 {
            family ethernet-switching;
        }

    }

    ge-0/0/9 {

        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/10 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/11 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/12 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/13 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/14 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/15 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/16 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/17 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/18 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/19 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/20 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/21 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/22 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/23 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/1/0 {
        unit 0 {
            family ethernet-switching;
        }
    }
    xe-0/1/0 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/1/1 {
        unit 0 {
            family ethernet-switching;
        }
    }
    xe-0/1/1 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/1/2 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/1/3 {
        unit 0 {
            family ethernet-switching;
        }
    }
}
protocols {
    lldp {
        interface all;
    }
    rstp;
}
poe {
    interface all;
}

Modification History

2020-08-10: Minor, non-technical edit.

Related Information