Cisco 4948-10GE Installation Guide - Page 84

Return, show ip interface brief, show ip route, Step 9 - switch configuration example

Page 84 highlights

Entering the Initial Configuration Information Appendix B Initial Configuration for the Switch The password can be from 1 to 25 alphanumeric characters, can start with a number, is case sensitive, allows spaces, but ignores leading spaces. The secret password is encrypted and the enable password is in plain text. Switch1 (config)# enable secret SecretPassword Step 9 Configure an enable password, and press Return. Switch1 (config)# enable password EnablePassword Step 10 Configure a virtual terminal (Telnet) password, and press Return. The password can be from 1 to 25 alphanumeric characters, is case sensitive, allows spaces, but ignores leading spaces. Switch1 (config)# password terminal-password Switch1 (config)# line vty 0 15 Step 11 Configure the interface that connects to the management network. (The IP address and subnet mask shown are for example only. Use an address appropriate for your network.) Switch1 (config)# ip routing Switch1 (config)# interface gigabitethernet 24 Switch1 (config-if)# no switchport Switch1 (config-if)# no shutdown Switch1 (config-if)# ip address 10.4.120.106 255.0.0.0 Switch1 (config-if)# exit Step 12 Exit from global configuration mode: Switch (config)# exit Switch # Step 13 View the configuration you just created and confirm that it is what you want. Switch1# show run ! hostname Switch1 ! banner motd ^C 170 West Tasman Drive, San Jose, CA ^C ! !--- Output suppressed. Step 14 Verify the IP information by using the show ip interface brief and show ip route commands. Switch1# show ip interface brief Catalyst 4900 Series Switch Installation Guide B-6 78-18039-02

  • 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

Appendix B
Initial Configuration for the Switch
Entering the Initial Configuration Information
B-6
Catalyst 4900 Series Switch Installation Guide
78-18039-02
The password can be from 1 to 25 alphanumeric characters, can start with a
number, is case sensitive, allows spaces, but ignores leading spaces. The secret
password is encrypted and the enable password is in plain text.
Switch1 (config)#
enable secret
SecretPassword
Step 9
Configure an enable password, and press
Return
.
Switch1 (config)#
enable password
EnablePassword
Step 10
Configure a virtual terminal (Telnet) password, and press
Return
.
The password can be from 1 to 25 alphanumeric characters, is case sensitive,
allows spaces, but ignores leading spaces.
Switch1 (config)#
password
terminal-password
Switch1 (config)#
line vty
0 15
Step 11
Configure the interface that connects to the management network. (The IP address
and subnet mask shown are for example only. Use an address appropriate for your
network.)
Switch1 (config)#
ip routing
Switch1 (config)#
interface
gigabitethernet
24
Switch1 (config-if)#
no switchport
Switch1 (config-if)#
no shutdown
Switch1 (config-if)#
ip address
10.4.120.106 255.0.0.0
Switch1 (config-if)#
exit
Step 12
Exit from global configuration mode:
Switch (config)#
exit
Switch #
Step 13
View the configuration you just created and confirm that it is what you want.
Switch1#
show run
!
hostname Switch1
!
banner motd ^C
170 West Tasman Drive, San Jose, CA ^C
!
!--- Output suppressed.
Step 14
Verify the IP information by using the
show ip interface brief
and
show ip route
commands.
Switch1#
show ip interface brief