User-Defined Naming Options; Editing Snapshot Files - Alcatel-Lucent OmniSwitch AOS Release 7 Manual

Switch management guide
Hide thumbs Also See for OmniSwitch AOS Release 7:
Table of Contents

Advertisement

Creating Snapshot Configuration Files

User-Defined Naming Options

When the snapshot syntax does not include a file name, the snapshot file is created using the default file
name asc.n.snap. Here, the n character holds the place of a number indicating the order in which the
snapshot file name is generated. For example, the following syntax may generate a file named asc.1.snap.
-> configuration snapshot all
Subsequent snapshot files without a name specified in the command syntax will become asc.2.snap,
asc.3.snap, etc.
The following command produces a snapshot file with the name testfile.snap.
-> configuration snapshot testfile.snap

Editing Snapshot Files

Snapshot files can be viewed, edited and reused as a configuration file. You also have the option of editing
the snapshot file directly using the switch's Vi text editor or you may upload the snapshot file to a text
editing software application on your workstation.
The snapshot file contains both command lines and comment lines. You can identify the comment lines
because they each begin with the exclamation point (!) character. Comment lines are ignored by the switch
when a snapshot file is being applied. Comment lines are located at the beginning of the snapshot file to
form a sort of header. They also appear intermittently throughout the file to identify switch features or
applications that apply to the commands that follow them.
Example Snapshot File Text
The following is the text of a sample snapshot file created with the
!========================================!
! File: asc.1.snap
!========================================!
! Chassis :
system name OS10K
! Configuration:
! VLAN :
! IP :
ip service all
icmp unreachable net-unreachable disable
ip interface "vlan-1" address 10.255.211.70 mask 255.255.255.192 vlan 1 mtu 1500
ifindex 1
! IPMS :
! AAA :
aaa authentication default "local"
aaa authentication console "local"
! PARTM :
! AVLAN :
! 802.1x :
! QOS :
! Policy manager :
! Session manager :
! SNMP :
snmp security no security
snmp community map mode off
! IP route manager :
ip static-route 0.0.0.0 mask 0.0.0.0 gateway 10.255.211.65 metric 1
! RIP :
page 5-10
!
OmniSwitch AOS Release 7 Switch Management Guide
Working With Configuration Files
configuration snapshot all
command.
March 2011

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch aos 7

Table of Contents