Configuration File Specifications
Configuration File Specifications
The following table lists specifications applicable to Configuration Files.
Platforms Supported
Creation Methods for
Configuration Files
Timer Functions
Command Capture Feature
Error Reporting
Text Editing on the Switch
Default Error File Limit
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_relay.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
3
Apply the configuration file to the switch by using the
-> configuration apply dhcp_relay.txt
File configuration <dhcp_relay.txt>: completed with no errors
4
Use the
show configuration status
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
page 5-2
OmniSwitch 10K
•
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.
Files can be applied immediately or by setting a timer on the switch.
Snapshot feature captures switch configurations in a text file.
Snapshot feature includes error reporting in the text file.
Vi standard editor.
1
configuration apply
command to verify that the dhcp_relay.txt configuration file was
OmniSwitch AOS Release 7 Switch Management Guide
Working With Configuration Files
Chapter 2, "Managing System Files."
command as shown here:
March 2011