D-Link d-link manual Configuration Scripting, Considerations, Example #1 script

Page 45

Configuration Scripting 45

Configuration Scripting

This section describes the Configuration Scripting feature.

Overview

Configuration Scripting:

zAllows you to generate text-formatted files

zProvides scripts that can be uploaded and downloaded to the system

zProvides flexibility to create command configuration scripts

zMay be applied to several switches

zCan save up to ten scripts or 500K of memory

zProvides List, Delete, Apply, Upload, Download

zProvides script format of one CLI command per line

Considerations

zTotal number of scripts stored on box limited by NVRAM/FLASH size.

zApplication of scripts is partial if script fails. For example, if the script executes five of ten commands and the script fails, the script stops at five.

zScripts cannot be modified or deleted while being applied.

zValidation of scripts checks for syntax errors only. It does not validate that the script will run.

CLI Examples

The following are examples of the commands used for the Configuration Scripting feature.

Example #1: script

(Console)

#script ?

apply

Applies configuration

script to the switch.

delete

Deletes a configuration script file from the switch.

list

Lists all configuration script files present on the

show

switch.

of configuration script.

Displays the contents

validate

Validate the commands

of configuration script.

Image 45
Contents Layer 2 Switch Page Table of Contents Using the Web Interface Traceroute Web User Guide Link DES-3226L Front View List of FiguresWeb User Guide Document Organization About This BookAudience Related DocumentationFeatures Link Offices for Registration and Warranty ServiceTrademarks Copyright Statement„ TCP „ MIB-II Safety Instructions Safety CautionsProduct Overview Web User Guide General Precautions for Rack-Mountable Products Protecting Against Electrostatic Discharge Switch DescriptionSpecifications Description Technical SpecificationsPerformance Installing the Hardware Preparing the Site for InstallationInstalling the D-Link DES-3226L Switch Unpacking the Switch Setting up the SwitchConnecting the Switch to a Power Supply Connecting Power Cable Installing on a Flat Surface Free-standing SwitchAttaching the Brackets Installing in a RackConfiguring for In-band Connectivity Starting and Configuring the SwitchSubnet Configuring for Out-Of-Band Connectivity Initial Configuration Starting the SwitchExample Session Initial Configuration ProcedureDram 64 MB LED LED IndicatorsWeb User Guide Upgrading the Switch Firmware Software InstallationQuick Starting the Networking Device System Information and System SetupCommand Mode Description Privileged Sets the IP address, subnet mask and gateway Systemimage or a configuration file nvramstartup-con Web User Guide Configuring for Web Access Using the Web InterfaceWeb Interface Panel-Example Web Page LayoutStarting the Web Interface Configuring an Snmp V3 User ProfileSave Command ButtonsOverview Igmp SnoopingCLI Examples Example #1 show igmpsnoopingWeb Examples Igmp Snooping Global Configuration and StatusIgmp Snooping Interface Configuration Web User Guide Configuration Scripting ConsiderationsExample #1 script Example #3 script apply running-config.scr Example #4 Creating a Configuration ScriptExample #2 script list and script delete Example #5 Upload a Configuration Script Example #6 script validate running-config.scrExample #7 Validate another Configuration Script Port Mirroring Example #1 show monitor sessionExample #2 show port all Example #5 Config monitor session 1 mode Example #3 show port interfaceExample #4 show monitor session Specify the source ports and destination port Example #6 Config monitor session 1 source interfaceSystem Port Multiple Port Mirroring Syslog Persistent Log FilesInterpreting Log Files Example #1 show logging Example #2 show logging persistentExample #3 show logging traplogs Example #5 show logging hosts Example #4 logging port configurationFollowing web pages are used in the Syslog feature Traceroute Traceroute OverviewCLI Example Web User Guide Virtual LANs Vlan Configuration ExampleCLI Examples Vlan example network diagramVirtual LANs Private Edge VLANs Graphical User InterfaceCLI Example CoS Queue Mapping Class of Service CoSTraffic-shape Traffic Shaping and Rate LimitingModes Rate-limitWeb Example CoS Interface ConfigurationExample #1 Link Aggregation Configuration Example Link AggregationLink Aggregation Shows the example network Switching -- Link Aggregation -- Configuration Web User Guide Limited Warranty USA only Web User Guide Limited Warranty USA only Web User Guide Registration Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Technical Support Web User Guide Italy India Brasil International OfficesWeb User Guide Shows the standard RJ-45 pin assignments Appendix a Cables and ConnectorsWeb User Guide Following tables show connector pinout information Appendix B Connector PinoutsWeb User Guide Following tables show maximum cable lengths and wavelengths Appendix C Cable Lengths and WavelengthsWeb User Guide
Related manuals
Manual 1 pages 56.33 Kb