User guide

Configuration File Specifications Working With Configuration Files
page 6-2 OmniSwitch AOS Release 7 Switch Management Guide March 2015
Configuration File Specifications
The following table lists specifications applicable to Configuration Files.
Tutorial for Creating a Configuration File
This example creates a configuration file that includes CLI commands to configure the DHCP Relay appli-
cation on the switch. For this example, the forward delay value is set to 15 seconds, the maximum number
of hops is set to 3 and the IP address of the DHCP server is 128.251.16.52.
This tutorial shows you how to accomplish the following tasks:
1 Create a configuration text file containing CLI commands needed to configure DHCP Relay applica-
tion.
This example used MS Notepad to create a text file on a PC workstation. The text file named dhcp_re-
lay.txt contains three CLI commands needed to configure the forward delay value to 15 seconds and the
maximum number of hops to 3. The IP address of the DHCP server is 128.251.16.52.
ip helper address 128.251.16.52
ip helper forward-delay 15
ip helper maximum-hops 3
2 Transfer the configuration file to the switch’s file system.
For more information about transferring files onto the switch see Chapter 3, “Managing System Files.”
3 Apply the configuration file to the switch by using the configuration apply command as shown here:
-> configuration apply dhcp_relay.txt
File configuration <dhcp_relay.txt>: completed with no errors
4 Use the show configuration status command to verify that the dhcp_relay.txt configuration file was
applied to the switch. The display is similar to the one shown here:
-> show configuration status
File syntax check <text.txt>: completed with no errors
Error file limit: 1
Running configuration and saved configuration are different
Platforms Supported OmniSwitch 10K, 6900
Creation Methods for
Configuration Files
Create a text file on a word processor and upload it to the switch.
Invoke the switch’s snapshot feature to create a text file.
Create a text file using the switch’s text editor.
Timer Functions Files can be applied immediately or by setting a timer on the switch.
Command Capture Feature Snapshot feature captures switch configurations in a text file.
Error Reporting Snapshot feature includes error reporting in the text file.
Text Editing on the Switch Vi standard editor.
Default Error File Limit 1