configure
SecureStack C2 Configuration Guide 3-41
Examples
Thisexampleshowshowtowritethecurrentconfigurationtoafilenamedsave_config2:
C2(rw)->show config all outfile configs/save_config2
Thisexampleshowshowtodisplayconfigurationforthefacility“port”.
C2(rw)->show config port
This command shows non-default configurations only.
Use 'show config all' to show both default and non-default configurations.
begin
!
#***** NON-DEFAULT CONFIGURATION *****
!
!
#port
set port jumbo disable ge.1.1
!
end
configure
Usethiscommandtoexecuteapreviouslydownloadedconfigurationfilestoredontheswitch.
Syntax
configure filename [append]
Parameters
Defaults
Ifappendisnotspecified,thecurrentrunningconfigurationwillbereplacedwiththecontents of
theconfigurationfile,whichwillrequireanautomatedresetofthechassis.
Mode
Switchcommand,read‐write.
Example
Thisexampleshowshowtoexecutethe“Jan1_2004.cfg”configurationfile:
C2(su)->configure configs/Jan1_2004.cfg
filename Specifiesthepathandfilenameoftheconfigurationfiletoexecute.
append (Optional)Appendstheconfigurationfilecontentstothecurrent
configuration.Thisisequivalenttotypingthecontentsoftheconfigfile
directlyintotheCLIandcanbeused,forexample,tomakeincremental
adjustmentstothecurrent
configuration.