beautypg.com

Paradyne CSU User Manual

Page 388

background image

C. Router CLI Commands, Codes, and Designations

C-6

September

2002

9128-A2-GB20-80

ip

address

ip-addr subnet-mask

no

ip

address

[

ip-addr subnet-mask ]

Minimum Access Level: Administrator
Command Mode: config-if (Ethernet), config-subif (Serial)

Assigns an IP address to the Ethernet interface or a Serial port sub-interface. No IP
addresses are assigned to interfaces or sub-interfaces by default.

Example:

ip address 132.53.4.2 255.255.255.255

Use the

no ip address

command to remove an IP address assigned to an interface or

sub-interface, and disable IP processing on the interface. The following rules apply:

T

Each sub-interface must be assigned to a different subnet.

T

A customer data IP address and subnet mask must be different from any IP address
used for management.

T

When an IP address and subnet mask are assigned to an interface or sub-interface,
the device automatically creates a routing table entry with the same destination
address and subnet mask, saying that IP addresses within that range are directly
reachable on the interface. This is the

interface route

.

T

If the maximum number of static routes have already been configured, you cannot
assign an IP address to the interface or sub-interface.

T

When an interface address and subnet mask are deleted, any routing entries with a
Next Hop Router address that fall within the interface’s address range are deleted
automatically.

ip-address

– IP address of the interface or sub-interface.

subnet-mask

– Subnet mask to be used when the IP address is being compared during

route table lookups. The subnet mask cannot be 0.0.0.0 and only contiguous, left-justified
subnet masks are allowed.

encapsulation

encapsulation-type encapsulation-protocol

Minimum Access Level: Administrator
Command Mode: config-if (Serial)

Specifies the type of encapsulation on an interface.

Example:

encapsulation frame-relay ietf

encapsulation-type

– Specifies Frame Relay encapsulation on the serial interface. The

default is frame-relay.

encapsulation-protocol

– Specifies RFC 1490 encapsulation protocol on the serial

interface. The default is ietf.

Table C-4.

Interface Commands (2 of 3)

This manual is related to the following products: