HP GbE2c HP GbE2c Ethernet Blade Switch for c-Class BladeSystem ISCLI Referenc - Page 140

Link to Disable configuration, Configuration Dump, Saving the active switch configuration - backup tftp

Page 140 highlights

Link to Disable configuration The following table describes the Link to Disable (LtD) commands. The LtD can consist of any mix of downlink ports (ports 1-16) and trunk groups that contain only downlink ports. Table 173 Link to Disable commands Command Description ufd fdp ltd port Adds a port to the current LtD group. Only downlink ports (1-16) are allowed in the LtD. Command mode: Global configuration no ufd fdp ltd port Removes a port from the current LtD group. Command mode: Global configuration ufd fdp ltd portchannel downlink ports (1-16). Command mode: Global configuration no ufd fdp ltd portchannel Removes a trunk group from the current LtD group. Command mode: Global configuration Configuration Dump The dump program writes the current switch configuration to the terminal screen. To start the dump program, at the prompt, enter: Switch(config)# show running-config The configuration is displayed with parameters that have been changed from the default values. The screen display can be captured, edited, and placed in a script file, which can be used to configure other switches. Paste the configuration commands from the script file at the command line prompt of the switch. The active configuration can also be saved or loaded via FTP/TFTP. Saving the active switch configuration When the copy running-global configuration {tftp|ftp} command is used, the active configuration commands of the switch will be uploaded to the specified script configuration file on the FTP/TFTP server. To start the switch configuration upload, at the prompt, enter: Switch(config)# copy running-config startup-config NOTE: The output file is formatted with line-breaks but no carriage returns. The file cannot be viewed with editors that require carriage returns (such as Microsoft Notepad). NOTE: If the FTP/TFTP server is running SunOS™ or the Solaris™ operating system, the specified file must exist prior to executing the copy running-config {tftp|ftp} command and must be writable (set with proper permission, and not locked by any application). The contents of the specified file will be replaced with the current configuration data. Restoring the active switch configuration When the copy {tftp|ftp} running-config command is used, the active configuration will be replaced with the commands found in the specified configuration file. The file can contain a full switch configuration or a partial configuration. To start the switch configuration download, at the prompt, enter: Switch(config)# copy {tftp|ftp} running-config NOTE: The switch supports three configuration files: active, backup, and factory. See the "Selecting a configuration block" section in the "Boot Options" chapter for information on how to set which configuration file to use upon boot up. Configuration Commands 140

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153

Configuration Commands 140
Link to Disable configuration
The following table describes the Link to Disable (LtD) commands. The LtD can consist of any mix of downlink ports
(ports 1-16) and trunk groups that contain only downlink ports.
Table 173
Link to Disable commands
Command
Description
ufd fdp ltd port
<port
number>
Adds a port to the current LtD group. Only downlink ports (1-16) are allowed in
the LtD.
Command mode:
Global configuration
no ufd fdp ltd port
<port
number>
Removes a port from the current LtD group.
Command mode:
Global configuration
ufd fdp ltd portchannel
<1-
12>
Adds a trunk group to the current LtD group. LtD trunk groups can contain only
downlink ports (1-16).
Command mode:
Global configuration
no ufd fdp ltd portchannel
<1-12>
Removes a trunk group from the current LtD group.
Command mode:
Global configuration
Configuration Dump
The dump program writes the current switch configuration to the terminal screen. To start the dump program, at the
prompt, enter:
Switch(config)# show running-config
The configuration is displayed with parameters that have been changed from the default values. The screen display
can be captured, edited, and placed in a script file, which can be used to configure other switches. Paste the
configuration commands from the script file at the command line prompt of the switch. The active configuration can
also be saved or loaded via FTP/TFTP.
Saving the active switch configuration
When the
copy running-global configuration {tftp|ftp}
command is used, the active configuration
commands of the switch will be uploaded to the specified script configuration file on the FTP/TFTP server. To start the
switch configuration upload, at the prompt, enter:
Switch(config)# copy running-config startup-config
NOTE:
The output file is formatted with line-breaks but no carriage returns. The file cannot be viewed with
editors that require carriage returns (such as Microsoft Notepad).
NOTE:
If the FTP/TFTP server is running SunOS™ or the Solaris™ operating system, the specified file must exist
prior to executing the
copy running-config {tftp|ftp}
command and must be writable (set with
proper permission, and not locked by any application). The contents of the specified file will be replaced with
the current configuration data.
Restoring the active switch configuration
When the
copy {tftp|ftp} running-config
command is used, the active configuration will be replaced with
the commands found in the specified configuration file. The file can contain a full switch configuration or a partial
configuration.
To start the switch configuration download, at the prompt, enter:
Switch(config)#
copy {tftp|ftp} running-config
NOTE:
The switch supports three configuration files: active, backup, and factory. See the “Selecting a
configuration block” section in the “Boot Options” chapter for information on how to set which configuration
file to use upon boot up.