Displaying and maintaining a configuration file – H3C Technologies H3C SecBlade NetStream Cards User Manual

Page 255

Advertising
background image

240

To do…

Use the command…

Remarks

Restore a startup configuration file
to be used at the next startup

restore startup-configuration from
src-addr src-filename

Required
Available in user view

NOTE:

Before restoring a configuration file, ensure that the server is reachable, the server is enabled with TFTP
service, and the client has read and write permission.

After execution of the command, use the display startup command (in user view) to verify that the
filename of the configuration file to be used at the next system startup is the same with that specified by

the

filename argument.

Displaying and maintaining a configuration file

To do…

Use the command…

Remarks

Display the information about
configuration rollback

display archive configuration

Available in any view

Display the current configuration of
the device

display current-configuration
[ [ configuration [ configuration ] |

interface [ interface-type ]
[ interface-number ] |

[ by-linenum ] [ | { begin | exclude

| include } regular-expression ] ]

Available in any view

Display the factory defaults of the
device

display default-configuration

Available in any view

Display the running configuration
file saved on the storage medium
of the device

display saved-configuration
[ by-linenum ]

Available in any view

Display the configuration files used
at this and the next system startup

display startup

Available in any view

Display the valid configuration

under the current view

display this [ by-linenum ]

Available in any view

Advertising