|
|
This chapter describes basic software configuration of the ATM switch router, and includes the following sections:
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 | | Enter privileged EXEC mode. |
| 2 | Switch(config)# | Enter global configuration mode. |
| 3 | Name | 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 Name | Return to privileged EXEC mode. |
Switch> enable Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# hostname Nevada_Switch Nevada_Switch(config)#
Switch# more system:running-config ! version xx.x no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption !![]()
hostname Nevada_Switch ! <<Information omitted.>>
Configure an administrative password on the ATM switch router to prevent unauthorized configuration changes.
Take these steps:
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter privileged EXEC mode. |
| 2 | | Enter global configuration mode. |
| 3 | | Enter the enable password. |
| 4 | | Return to privileged EXEC mode. |
Switch> enable Switch# configure terminal Switch(config)# enable password guessme Switch(config)# exit Switch#
Switch# exit Switch con0 is now available Press RETURN to get started. Switch> enable Password: guessme Switch#
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.
Take these steps:
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter privileged EXEC mode. |
| 2 | | Enter global configuration mode. |
| 3 | | 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 | | Enter interface configuration mode on the Ethernet interface. |
| 5 | | |
| 6 | | Return to privileged EXEC mode. |
Switch> enable 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 Switch(config-if)# end Switch#
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 Queueing strategy: fifo 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 Switch#
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Aug 16 14:25:52 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.