Table of Contents
Getting Started
Naming the ATM Switch Router
Assigning a Password
Setting Up Remote Administrative Access
Getting Started
This chapter describes basic software configuration of the ATM switch router, and includes the following sections:
Note For more software configuration information, refer to the ATM Switch Router Software Configuration Guide. Refer to the ATM Switch Router Command Reference publication for command syntax.
Naming the ATM Switch Router
You can name the ATM switch router to distinguish it from other Cisco devices in your network. This feature is especially useful when you have multiple console windows open and you need to distinguish one Cisco device from another. Naming the switch changes the default prompt (Switch>) to a prompt name of your choice; for example, Nevada_Switch>.
Take these steps:
| Step |
Command |
Purpose |
| 1 |
Switch> enable
|
Enter privileged EXEC mode.
|
| 2 |
Switch# configure terminal
Switch(config)#
|
Enter global configuration mode.
|
| 3 |
Switch(config)# hostname name
Name(config)#
|
Enter the host name for the switch. Note that the prompt changes to match the host name.
Note The pound sign (#) that follows the host name indicates the current mode of operation and is added automatically. |
| 4 |
Name(config)# end
Name#
|
Return to privileged EXEC mode.
|
Example
Switch#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
hostname Nevada_Switch
Verify
Switch#
more system:running-config
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
hostname Nevada_Switch
Assigning a Password
Configure an administrative password on the ATM switch router to prevent unauthorized configuration changes.
Take these steps:
| Step |
Command |
Purpose |
| 1 |
Switch> enable
|
Enter privileged EXEC mode.
|
| 2 |
Switch# configure terminal
Switch(config)#
|
Enter global configuration mode.
|
| 3 |
Switch(config)# enable password password
|
Enter the enable password.
|
| 4 |
Switch(config)# exit
Switch#
|
Return to privileged EXEC mode.
|
Example
Switch#
configure terminal
Switch(config)#
enable password guessme
Verify
Switch con0 is now available
Press RETURN to get started.
Setting Up Remote Administrative Access
You can configure the Ethernet interface on the processor card (CPU card) so that you can Telnet to the ATM switch router and configure it remotely. This section describes how to configure the Ethernet port for remote administrative access.
Note For local administrative access, connect a PC or workstation to the console port on the processor card. This requires physical access to the ATM switch router.
Take these steps:
| Step |
Command |
Purpose |
| 1 |
Switch> enable
|
Enter privileged EXEC mode.
|
| 2 |
Switch# configure terminal
Switch(config)#
|
Enter global configuration mode.
|
| 3 |
Switch(config)# ip route prefix mask ethernet 0[.subinterface]
|
Configure a static route on the Ethernet interface. If your management station or TFTP1 server is on a different subnet than the switch, you must configure a static IP route.2
|
| 4 |
Switch(config)# interface ethernet 0
Switch(config-if)#
|
Enter interface configuration mode on the Ethernet interface.
|
| 5 |
Switch(config-if)# ip address address
|
Configure an IP address on the Ethernet interface.
|
| 6 |
Switch(config)# end
Switch#
|
Return to privileged EXEC mode.
|
| TFTP = Trivial File Transfer Protocol.
If you fail to configure a static IP route before installing a new image, you might lose remote administrative access to the switch. If this happens, you can regain access from a direct console connection, although this requires physical access to the console port on the processor card.
|
Example
Switch#
configure terminal
Switch(config)#
ip route 172.20.52.0 255.255.255.0 ethernet 0
Switch(config)#
interface ethernet 0
Switch(config-if)#
ip address 172.20.52.20
Verify
Switch#
show interface ethernet 0
Ethernet0 is up, line protocol is up
Hardware is SonicT, address is 00e0.4fac.b400 (bia 00e0.4fac.b400)
Internet address is 172.20.52.20/26
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/255
Encapsulation ARPA, loopback not set, keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 1000 bits/sec, 2 packets/sec
5 minute output rate 0 bits/sec, 1 packets/sec
897 packets input, 55088 bytes, 0 no buffer
Received 337 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 input packets with dribble condition detected
20731 packets output, 2024862 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out