For any changes in terms of configuration. ensure that there are no other operator(s), making any configuration changes (at config mode). Enter using "configure exclusive" mode so that other users can enter and exit configuration mode, but they cannot commit the configuration.
Pre and Post show commands really depend on type of configuration change you attempt to make.
The one common command for pre check is "show | compare" command which is after you input your desired configurayion but before the "commit" operation, so that you know what is exact pre-config you added and about to commit.
Post check command of that commit config is "show | compare rollback x" (in config mode) or show config | compare rollback x".
"x" represents the number of pre-committed configs ranging from last "0 to 50".
The gerenal practise for production pre & post confiiguration changes:
- Input the desired config -> check "show | compare" This indicates the configure you about to commit and also the changes (in + or -) that are replaced/added.
- "commit check" -> Verify the syntax of the configuration, but do not activate it.
- commit confirm 5-> require that the commit be confirmed within the specified amount of time. In this example, its 5 mins. If the commit is not confirmed within the time limit, the configuration rolls back automatically.
- commit the configure "commit".
commit check /confirm are optional but are useful & safe for production commits.
Other check commands specfically depends on type of configuration.