HP GbE2c HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Command Refere - Page 89

Viewing, applying, reverting, and saving changes, Viewing pending changes, Reverting changes - factory reset

Page 89 highlights

Viewing, applying, reverting, and saving changes As you use the configuration menus to set switch parameters, the changes you make do not take effect immediately. All changes are considered pending until you explicitly apply them. Also, any changes are lost the next time the switch boots unless the changes are explicitly saved. While configuration changes are in the pending state, you can: • View the pending changes • Apply the pending changes • Revert to restore configuration parameters set with the last apply command • Save the changes to flash memory Viewing pending changes You can view all pending configuration changes by entering diff at any CLI prompt: # diff You can view all pending configuration changes that have been applied but not saved to flash memory by entering diff flash at any CLI prompt: # diff flash Applying pending changes To make your configuration changes active, you must apply them. To apply configuration changes, enter the following command at any prompt: # apply NOTE: All configuration changes take effect immediately when applied. Reverting changes The revert command removes configuration changes that have been made, but not applied. Enter revert apply to remove all changes that have not been saved: # revert Saving the configuration In addition to applying the configuration changes, you can save them to flash memory on the switch. IMPORTANT: If you do not save the changes, they will be lost the next time the system is rebooted. To save the new configuration, enter the following command at any prompt: # save When you save configuration changes, the changes are saved to the active configuration block. The configuration being replaced by the save is first copied to the backup configuration block. If you do not want the previous configuration block copied to the backup configuration block, enter the following instead: # save n You can decide which configuration you want to run the next time you reset the switch. Your options include: • The active configuration block • The backup configuration block • Factory default configuration block Configuration Menu 89

  • 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
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175

Configuration Menu 89
Viewing, applying, reverting, and saving changes
As you use the configuration menus to set switch parameters, the changes you make do not take effect immediately.
All changes are considered pending until you explicitly apply them. Also, any changes are lost the next time the
switch boots unless the changes are explicitly saved.
While configuration changes are in the pending state, you can:
View the pending changes
Apply the pending changes
Revert to restore configuration parameters set with the last apply command
Save the changes to flash memory
Viewing pending changes
You can view all pending configuration changes by entering
diff
at any CLI prompt:
# diff
You can view all pending configuration changes that have been applied but not saved to flash memory by entering
diff flash
at any CLI prompt:
# diff flash
Applying pending changes
To make your configuration changes active, you must apply them. To apply configuration changes, enter the
following command at any prompt:
# apply
NOTE:
All configuration changes take effect immediately when applied.
Reverting changes
The
revert
command removes configuration changes that have been made, but not applied. Enter
revert apply
to
remove all changes that have not been saved:
# revert
Saving the configuration
In addition to applying the configuration changes, you can save them to flash memory on the switch.
IMPORTANT:
If you do not save the changes, they will be lost the next time the system is rebooted.
To save the new configuration, enter the following command at any prompt:
# save
When you save configuration changes, the changes are saved to the active configuration block. The configuration
being replaced by the save is first copied to the backup configuration block. If you do not want the previous
configuration block copied to the backup configuration block, enter the following instead:
# save n
You can decide which configuration you want to run the next time you reset the switch. Your options include:
The active configuration block
The backup configuration block
Factory default configuration block