User guide

3-13
Configuration Guide for Cisco DSLAMs with NI-2
OL-2074-03
Chapter 3 Initially Configuring the Cisco DSLAM
Configuring IP Interface Parameters
You define subnet mask bits as a decimal number between:
0 and 22 for Class A addresses
0 and 14 for Class B addresses
0 and 6 for Class C addresses
Note Do not specify 1 as the number of bits for the subnet field. That specification is reserved by
Internet conventions.
To configure the IP address, perform the following steps, beginning in global configuration mode:
Example
This example shows how to configure the Ethernet CPU interface 0/0 with IP address 172.20.40.93 and
subnetwork mask 255.255.255.0, and displays the interface information:
DSLAM# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DSLAM(config)# interface ethernet 0/0
DSLAM(config-if)# ip address 172.20.40.93 255.255.255.0
DSLAM(config-if)# end
DSLAM# show interface ethernet 0/0
Ethernet0/0 is up, line protocol is up
Hardware is AmdP2, address is 0001.64ff.a97f (bia 0001.64ff.a97f)
Internet address is 172.21.186.145/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 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
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 4000 bits/sec, 5 packets/sec
5 minute output rate 2000 bits/sec, 3 packets/sec
906236 packets input, 202482126 bytes, 0 no buffer
Received 889038 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
163965 packets output, 21172110 bytes, 0 underruns
0 output errors, 9 collisions, 1 interface resets
0 babbles, 0 late collision, 33 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Command Task
Step 1
DSLAM(config) interface ethernet slot/port Select the interface to be configured.
Step 2
DSLAM(config) ip address A.B.C.D sub_net_A.B.C.D Configure the IP and subnetwork address.