Netgear M4300-28G (GSM4328S) - Stackable Managed Switch with 24x1G and 4x10G including 2x10GBASE-T and 2xSFP+ Layer 3 Software Guide

Page of 1143
Management Commands 
157
 M4200 and M4300 Series ProSAFE Managed Switches
Command example: 
(Config)# show tacacs source-interface
TACACS Client Source Interface     : loopback 0
TACACS Client Source IPv4 Address  : 1.1.1.1 [UP]
Configuration Scripting Commands
Configuration Scripting allows you to generate text-formatted script files representing the 
current configuration of a system. You can upload these configuration script files to a PC or 
UNIX system and edit them. Then, you can download the edited files to the system and apply 
the new configuration. You can apply configuration scripts to one or more switches with no or 
minor modifications. 
Use the show running-config command (see 
capture the running configuration into a script. Use the copy command (see 
Use the show
 
command to view the configuration stored in the startup-config, backup-config, 
or factory-defaults file (see 
Use scripts on systems with default configurations; however, you are not prevented from 
applying scripts on systems with non-default configurations. 
Scripts must conform to the following rules:
Script files are not distributed across the stack and remain only in the unit that is the 
master at the time of the file download.
The file extension must be “.scr”.
A maximum of ten scripts are allowed on the switch.
The combined size of all script files on the switch shall not exceed 2048 KB.
The maximum number of configuration file command lines is 2000.
You can type single-line annotations at the command prompt to use when you write test or 
configuration scripts to improve script readability. The exclamation point (!) character flags 
the beginning of a comment. The comment flag character can begin a word anywhere on the 
command line, and all input following this character is ignored. Any command line that begins 
with the “!” character is recognized as a comment line and ignored by the parser. 
The following lines show an example of a script:
! Script file for displaying management access
show telnet !Displays the information about remote connections
! Display information about direct connections 
show serial