29.04.2019 Views

OS6860(E)_AOS_8.1.1.R01_Switch_Management_Guide

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuration File Specifications<br />

Working With Configuration Files<br />

Configuration File Specifications<br />

The following table lists specifications applicable to Configuration Files.<br />

Platforms Supported<br />

Creation Methods for<br />

Configuration Files<br />

Timer Functions<br />

Command Capture Feature<br />

Error Reporting<br />

Text Editing on the <strong>Switch</strong><br />

Default Error File Limit 1<br />

Omni<strong>Switch</strong> 6860, 6860E<br />

• Create a text file on a word processor and upload it to the switch.<br />

• Invoke the switch’s snapshot feature to create a text file.<br />

• Create a text file using the switch’s text editor.<br />

Files can be applied immediately or by setting a timer on the switch.<br />

Snapshot feature captures switch configurations in a text file.<br />

Snapshot feature includes error reporting in the text file.<br />

Vi standard editor.<br />

Tutorial for Creating a Configuration File<br />

This example creates a configuration file that includes CLI commands to configure the DHCP Relay application<br />

on the switch. For this example, the forward delay value is set to 15 seconds, the maximum number<br />

of hops is set to 3 and the IP address of the DHCP server is 128.251.16.52.<br />

This tutorial shows you how to accomplish the following tasks:<br />

1 Create a configuration text file containing CLI commands needed to configure DHCP Relay application.<br />

This example used MS Notepad to create a text file on a PC workstation. The text file named dhcp_relay.txt<br />

contains three CLI commands needed to configure the forward delay value to 15 seconds and the<br />

maximum number of hops to 3. The IP address of the DHCP server is 128.251.16.52.<br />

ip helper address 128.251.16.52<br />

ip helper forward-delay 15<br />

ip helper maximum-hops 3<br />

2 Transfer the configuration file to the switch’s file system.<br />

For more information about transferring files onto the switch see Chapter 2, “Managing System Files.”<br />

3 Apply the configuration file to the switch by using the configuration apply command as shown here:<br />

-> configuration apply dhcp_relay.txt<br />

File configuration : completed with no errors<br />

4 Use the show configuration status command to verify that the dhcp_relay.txt configuration file was<br />

applied to the switch. The display is similar to the one shown here:<br />

-> show configuration status<br />

File syntax check : completed with no errors<br />

Error file limit: 1<br />

Running configuration and saved configuration are different<br />

page 5-2 Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 <strong>Switch</strong> <strong>Management</strong> <strong>Guide</strong> May 2014

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!