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> enable
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# hostname Nevada_Switch
Nevada_Switch(config)#
Verify
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.>>
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> enable
Switch# configure terminal
Switch(config)# enable password guessme
Switch(config)# exit
Switch#
Verify
Switch# exit
Switch con0 is now available
Press RETURN to get started.
Switch> enable
Password: guessme
Switch#
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 routeprefixmaskethernet 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 addressaddress
Configure an IP address on the Ethernet interface.
2If 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> 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#
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)