In bulk mode (copy, load), Parser accepts the input files that was generated by “show run”, not manually interpreted. Ifmanually updated configuration file is given as an input to parser during load/copy, parser may apply the configurationin wrong submode.
show run generates the configurations with right indent space for all the configurations. So If same configurationis exist in more than one submode, parser identifies the right submode using the indent space available before the command.
Example attached as a file