Cisco WS-C2950-24 Hardware Installation Guide - Page 137

Configuring the Router Hostname, SUMMARY STEPS, DETAILED STEPS

Page 137 highlights

Chapter 4 Configuring the Router Performing the Initial Configuration on the Router • Specifying a Default Route or Gateway of Last Resort, page 4-15 (Required) • Configuring IP Routing and IP Protocols, page 4-15 (Required) • Configuring Virtual Terminal Lines for Remote Console Access, page 4-18 (Required) • Configuring the Auxiliary Line, page 4-19 (Optional) • Verifying Network Connectivity, page 4-21 (Required) • Saving Your Router Configuration, page 4-22 (Required) • Saving Backup Copies of Configuration and System Image, page 4-22 (Optional) Configuring the Router Hostname The hostname is used in CLI prompts and default configuration filenames. If you do not configure the router hostname, the router uses the factory-assigned default hostname "Router." Do not expect capitalization and lower casing to be preserved in the hostname. Uppercase and lowercase characters are treated as identical by many Internet software applications. It may seem appropriate to capitalize a name as you would ordinarily do, but conventions dictate that computer names appear in all lowercase characters. For more information, see the RFC 1178, Choosing a Name for Your Computer. The name must also follow the rules for Advanced Research Projects Agency Network (ARPANET) hostnames. They must start with a letter, end with a letter or digit, and have as interior characters only letters, digits, and hyphens. Names must be 63 characters or fewer. For more information, see the RFC 1035, Domain Names-Implementation and Specification. SUMMARY STEPS 1. enable 2. configure terminal 3. hostname name 4. Verify that the router prompt displays your new hostname. 5. end DETAILED STEPS Command or Action Step 1 enable Step 2 Example: Router> enable configure terminal Step 3 Example: Router# configure terminal hostname name Example: Router(config)# hostname myrouter Purpose Enables privileged EXEC mode. • Enter your password if prompted. Enters global configuration mode. Specifies or modifies the hostname for the network server. OL-18712-01 Cisco 2900 and 3900 Series Hardware Installation 4-9

  • 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
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220

4-9
Cisco 2900 and 3900 Series Hardware Installation
OL-18712-01
Chapter 4
Configuring the Router
Performing the Initial Configuration on the Router
Specifying a Default Route or Gateway of Last Resort, page 4-15
(Required)
Configuring IP Routing and IP Protocols, page 4-15
(Required)
Configuring Virtual Terminal Lines for Remote Console Access, page 4-18
(Required)
Configuring the Auxiliary Line, page 4-19
(Optional)
Verifying Network Connectivity, page 4-21
(Required)
Saving Your Router Configuration, page 4-22
(Required)
Saving Backup Copies of Configuration and System Image, page 4-22
(Optional)
Configuring the Router Hostname
The hostname is used in CLI prompts and default configuration filenames. If you do not configure the
router hostname, the router uses the factory-assigned default hostname “Router.”
Do not expect capitalization and lower casing to be preserved in the hostname. Uppercase and lowercase
characters are treated as identical by many Internet software applications. It may seem appropriate to
capitalize a name as you would ordinarily do, but conventions dictate that computer names appear in all
lowercase characters. For more information, see the RFC 1178,
Choosing a Name for Your Computer
.
The name must also follow the rules for Advanced Research Projects Agency Network (ARPANET)
hostnames. They must start with a letter, end with a letter or digit, and have as interior characters only
letters, digits, and hyphens. Names must be 63 characters or fewer. For more information, see the RFC
1035,
Domain Names—Implementation and Specification
.
SUMMARY STEPS
1.
enable
2.
configure
terminal
3.
hostname
name
4.
Verify that the router prompt displays your new hostname.
5.
end
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configure
terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
hostname
name
Example:
Router(config)# hostname myrouter
Specifies or modifies the hostname for the network server.