PREV NEXT INDEX

Avici Systems Inc.


ip address


Assigns an IP address and enables IPCP on the selected interface.

Syntax: [no] ip address ip-addr mask

ip-addr

The IP address of the selected interface in dotted decimal notation.

mask

The mask that specifies how many of the bits of the IP address are recognized as network address bits, in dotted decimal notation.

Description: You must assign an IP address and network mask to each interface before that interface is configured to support routing. Assigning an IP address to an interface also enables the IP Network Control Protocol (IPCP) on the interface. Deleting the IP address from an interface disables IPCP.

Use the ip address command to assign an IP address and mask to a specific interface.

Use the no ip address command to delete an IP address from the specified interface.

Factory Default: No IP address defined.

Command Mode: Interface configuration.

Example: In the following example, the ip address command configures Packet over SONET (POS) interface 1/1/1 with IP address 190.167.0.2 using a 16 bit mask (255.255.0.0) and the show interfaces pos command displays the new setting in the Internet address field:

router(config)#interface pos 1/1/1

router(config-if)#ip address 190.167.0.2 255.255.0.0

router(config-if)#end

router#show interface pos 1/1/1

POS 1/1/1 is up, line protocol is up

Internet address is 190.167.0.2 255.255.0.0

    MTU 4470 bytes

Payload BW: 601 Mbit/Sec, Total BW: 622 Mbit/Sec

Encapsulation PPP, CRC-32

Loopback: None, Keepalive: Enabled, Scramble: Enabled

LCP: Opened, IPCP: Opened, OSICP: Closed, MPLSCP: Opened

Received:

17862397 bytes

191915 directed packets, 0 multicast packets, 0 broadcast packets

0 discards, 0 errors, 0 unknown protocols

Transmitted:

13656630 bytes

168004 directed packets, 0 multicast packets, 0 broadcast packets

0 discards, 0 errors

Medium Type SONET, Line Coding: NRZ, Line Type: Other

Sonet Loopback: None, Sonet Clock Source: Line

PPP: SNMP Trap link-status: enabled

Sonet/Path: SNMP Trap sonet link-status: enabled

Tx J0 Section Trace: "1"

Rx J0 Section Trace: "1"

Tx Path Trace: "TSR10:1/1/1"

Rx Path Trace: "LDP-GSR50POS1/0201.1.1.50F1FF0800"

Related Commands: show ip interface
show interfaces ethernet
show interfaces loopback
show interfaces pos


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: IP_Commands.fm
    HTML File Name: IP_Commands2.html
    Last Updated: 05/10/04 at 16:34:20

Please email suggestions and comments to: doc@avici.com