Alcatel Carrier Internetworking Solutions omniswitch Switch User Manual


 
Configuration File Specifications Working With Configuration Files
page 6-2 OmniSwitch 6600 Family Switch Management Guide March 2005
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_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.
To transfer the configuration file to the switch, use an FTP transfer method. For more information about
transferring files onto the switch see Chapter 2, “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
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 one of the switch’s text editors.
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 UNIX editor.