R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)

120
Field Descri
p
tion
Protocol
Link layer protocol state of the interface:
down—The protocol state of the interface is down.
up—The protocol state of the interface is up.
up(s)The protocol state of the interface is up (spoofing).
up(l)The protocol state of the interface is up (loopback).
down(l)The protocol state of the interface is down (loopback).
IP Address
IP address of the interface. If no IP address is configured, two hyphens (--) are
displayed.
Description
Interface description information. If no IP address is configured, two hyphens (--)
are displayed.
At most, 27 characters can be displayed. If there are more than 27 characters,
only the first 24 characters and three dots (…) are displayed.
Related commands
display ip interface
ip address
Use ip address to assign an IP address to the interface.
Use undo ip address to remove the IP address from the interface.
Syntax
ip address ip-address { mask-length | mask } [ sub ]
undo ip address [ ip-address { mask-length | mask } [ sub ] ]
Default
No IP address is assigned to any interface.
Views
Interface view
Default command level
2: System level
Parameters
ip-address: Specifies the IP address of the interface, in dotted decimal notation.
mask-length: Specifies the subnet mask length.
mask: Specifies the subnet mask in dotted decimal notation.
sub: Assigns a secondary IP address to the interface.
Usage guidelines
Use this command to configure a primary IP address for an interface. If the interface connects to multiple
subnets, configure primary and secondary IP addresses on the interface so the subnets can
communicate with each other through the interface.
An interface can have only one primary IP address. A newly configured primary IP address overwrites
the previous address.