Performing Basic Configuration
This chapter covers the following topics:
Introduction
Table 3-1 lists the sections describing the tasks you should perform for the MAX TNT basic configuration. The table includes a brief description of each task and lists the commands and parameters you will use.
Setting the system date
If the system date displayed on your screen is incorrect, set the correct date and time with the Date command. For example, to set the date and time to October 22, 1997, 8:50 in the morning:
admin> date 9710220850The format for setting the date and time is:
yymmddhhmm
Enter the hour in military (24-hour) time.
Setting the system name
You can assign the MAX TNT a system name of up to 24 characters. Because the system name is used for authenticating connections, you should probably keep it relatively simple and use only standard characters.
admin> read system
SYSTEM read
admin> list
name = ""
system-rmt-mgmt = no
use-trunk-groups = no
idle-logout = 0
parallel-dialing = 5
single-file-incoming = yes
admin> set name = tnt01
admin> write
Setting the log level
While you are configuring the MAX TNT, you might want to increase the log level to display messages that are of interest only when debugging configuration settings. First display the current settings, then enter a new one.
admin> read logTo change the log level, specify an option for the Save-Level parameter:
LOG read
admin> list
save-level = info
save-number = 100
syslog-enabled = no
host = 0.0.0.0
facility = local0
admin> set save-level = [none|emergency|alert|critical|error|warning|notice|info|debug](If your local network supports a Syslog server, you can configure the server's IP address and the syslog facility number by setting the Host and Facility parameters in this profile.)
admin> write
Configuring the shelf-controller IP address
All MAX TNT systems have an Ethernet port on the shelf-controller. This Ethernet port is designed for out-of-band management and light traffic loads. It is not intended to be the primary Ethernet interface for the system. If your MAX TNT will be routing heavy Ethernet traffic use an Ethernet card.
admin> read ip-interface {{1 controller 1 } 0 }After you assign the MAX TNT host name and IP address, you might need to modify the host information on your local DNS server to include the MAX TNT.
IP-INTERFACE/{ { shelf-1 controller 1 } 0 } read
admin> list
interface-address* = { { shelf-1 controller 1 } 0 }
ip-address = 0.0.0.0/0
2nd-ip-address = 0.0.0.0/0
rip-mode = routing-off
ignore-def-route = no
proxy-mode = off
rarp-enabled = no
[More? <ret>=next entry, <sp>=next page, <^C>=abort]
admin> set ip-address = 10.2.3.4/24
admin> write
Configuring a default gateway
If the MAX TNT does not have a route for the destination address of a packet, it forwards the packet to the default router. Most sites use the default router (such as a GRF router or a UNIX host running the route daemon) to distribute routing tasks among devices. If you do not configure a default route, the MAX TNT drops packets for which it has no route.
admin> read ip-route default
IP-ROUTE/default read
admin> list
name* = default
dest-address = 0.0.0.0/0
gateway-address = 0.0.0.0
metric =1
cost =1
preference = 100
third-party = no
ase-type = type-1
ase-tag = c0:00:00:00
private-route = no
active-route = no
admin> set gateway-address = 10.2.3.17
admin> set active-route=yes
admin> write
IP-ROUTE/default written
Configuring basic DNS information
The example in this section uses the domain name abc.com and sets the IP address of the primary Data Name Service (DNS) server on the local network. Setting this basic information enables you to access IP hosts by name instead of by IP address.
admin> read ip-global
IP-GLOBAL read
admin> list
domain-name = ""
dns-primary-server = 0.0.0.0
dns-secondary-server = 0.0.0.0
netbios-primary-ns = 0.0.0.0
netbios-secondary-ns = 0.0.0.0
must-accept-address-assign = no
pool-base-address = [ 0.0.0.0 0.0.0.0 ]
[More? <ret>=next entry, <sp>=next page, <^C>=abort]
admin> set domain-name = abc.com
admin> set dns-primary-server = 10.1.2.3
admin> set dns-secondary-server = 10.24.112.57
admin> write -f
Pinging the MAX TNT from a local host
After you configure the MAX TNT for IP network access, go to an IP host on the local network and use the Ping command to verify that the unit can communicate on the network. For example:
host-1% ping 10.2.3.4or, if the MAX TNT is integrated into your DNS system:
host-1% ping tnt01
Recommended basic security measures
When the MAX TNT is shipped from the factory, its security features are all set to defaults that enable you to configure and set up the unit without any restrictions. Before you make the MAX TNT generally accessible, you should change these default security settings to protect the configured unit from unauthorized access.
Ascend
by default, and you should assign a secret password immediately.The following example changes the Admin password:
default> auth admin
Password: Ascend
admin> read user admin
USER/admin read
admin> set password = secret
admin> writeNote that the Allow-Password permission is set to No in the Admin login. While this protects the unit's passwords, it also prevents the Save command from storing passwords in a configuration file. To save passwords in a configuration file, you can either set Allow-Password to Yes in the Admin profile, or create another User profile for the purpose of backing up the unit, and set Allow-Password to Yes in that profile.
USER/admin written
admin>read serial { 1 17 2}
admin>set user =
admin>set auto-logout = yesThis automatically logs out the current User profile if DTR is lost on the serial port.
admin>write
Following is an example that assigns a Telnet password:
admin> read ip-global
IP-GLOBAL read
admin> set telnet-password = SDwiw87
admin> writeAll users attempting to access the MAX TNT unit via Telnet are prompted for the Telnet-Password. They are allowed three tries, each with a 60-second time limit, to enter the correct password. If all three tries fail, the connection attempt times out.
IP-GLOBAL written
admin> read ip-global
IP-GLOBAL read
admin> set must-accept-address-assign = yes
admin> writeIf you enforce acceptance of the assigned address, the Answer-Defaults profile must enable dynamic assignment, the caller's configured profile must specify dynamic assignment, and the caller's PPP dial-in software must be configured to acquire its IP address dynamically. For more details, see MAX TNT Network Configuration Guide.
IP-GLOBAL written
admin> read ip-global
IP-GLOBAL read
admin> set ignore-icmp-redirects = yes
admin> write
IP-GLOBAL written
SNMP
enabled = no
read-community = public
read-write-community = write
enforce-address-security = no
read-access-hosts = [ 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 ]
write-access-hosts = [ 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 ]
contact = ""
location = ""
queue-depth = 0
admin> read SNMP
SNMP read
admin> set enabled = yes
admin> write
SNMP written
admin> read snmp
SNMP read
admin> list
enabled = yes
read-community = ******
read-write-community = *****
enforce-address-security = no
read-access-hosts = [ 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 ]
write-access-hosts = [ 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 ]
contact = ""
location = here
queue-depth = 0
admin> set read-community = private
admin> set read-write-community = secret
admin> write
SNMP written
The following commands enforce address security and specifies a trusted address for both read and write access:
admin> read snmp
SNMP read
admin> list
enabled = no
read-community = public
read-write-community = write
enforce-address-security = no
read-access-hosts = [ 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 ]
write-access-hosts = [ 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 ]
contact = ""
location = ""
admin> set enforce-address-security = yes
admin> set read-access 1 = 10.2.3.4
admin> set write-access 2 = 10.2.56.123
admin> write
SNMP written
Where to go next
If you are configuring a multishelf system, go to Chapter 4, "Installing a Multishelf System."
Otherwise, proceed to the appropriate chapters to configure your MAX TNT slot cards.
Copyright © 1997, Ascend Communications, Inc. All rights reserved.