Cisco ESW-520-24-K9 Software Guide - Page 29

Example:, Configuration Example

Page 29 highlights

Chapter 1 Basic Router Configuration Configuring Basic Parameters Step 5 Command exit Example: Router(config-line)# exit Router (config)# Step 6 line [aux | console | tty | vty] line-number Example: Router(config)# line vty 0 4 Router(config-line)# Step 7 password password Example: Router(config-line)# password aldf2ad1 Router(config-line)# Step 8 login Example: Router(config-line)# login Router(config-line)# Step 9 end Example: Router(config-line)# end Router# Purpose Exits line configuration mode, and returns to global configuration mode. Specifies a virtual terminal for remote console access. Specifies a unique password for the virtual terminal line. Enables password checking at the virtual terminal session login. Exits line configuration mode, and returns to privileged EXEC mode. For complete information about the command line commands, see the Cisco IOS Release 12.3 documentation set. Configuration Example The following configuration shows the command-line access commands. You do not need to input the commands marked "default." These commands appear automatically in the configuration file generated when you use the show running-config command. ! line con 0 exec-timeout 10 0 password 4youreyesonly login transport input none (default) stopbits 1 (default) line vty 0 4 password secret login ! OL-14210-01 Cisco Secure Router 520 Series Software Configuration Guide 1-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

1-9
Cisco Secure Router 520 Series Software Configuration Guide
OL-14210-01
Chapter 1
Basic Router Configuration
Configuring Basic Parameters
For complete information about the command line commands, see the Cisco IOS Release 12.3
documentation set.
Configuration Example
The following configuration shows the command-line access commands.
You do not need to input the commands marked “default.” These commands appear automatically in the
configuration file generated when you use the
show running-config
command.
!
line con 0
exec-timeout 10 0
password 4youreyesonly
login
transport input none
(default)
stopbits 1
(default)
line vty 0 4
password secret
login
!
Step 5
exit
Example:
Router(config-line)#
exit
Router (config)#
Exits line configuration mode, and returns to
global configuration mode.
Step 6
line
[
aux
|
console
|
tty
|
vty
]
line-number
Example:
Router(config)#
line vty 0 4
Router(config-line)#
Specifies a virtual terminal for remote console
access.
Step 7
password
password
Example:
Router(config-line)#
password aldf2ad1
Router(config-line)#
Specifies a unique password for the virtual
terminal line.
Step 8
login
Example:
Router(config-line)#
login
Router(config-line)#
Enables password checking at the virtual terminal
session login.
Step 9
end
Example:
Router(config-line)#
end
Router#
Exits line configuration mode, and returns to
privileged EXEC mode.
Command
Purpose