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