ip address
Enterasys B5 CLI Reference 19-5
Thisexampleshowstheoutputforaloopbackinterface.
B5(su)->router#show ip interface loopback 2
Loopback 2 is Admin UP
Loopback 2 is Oper DOWN
Primary IP Address is 10.10.10.10 Mask 255.255.255.0
ip address
Usethiscommandtoset,remove,ordisableaprimaryorsecondaryIPaddressforaninterface.
ThenoformofthiscommandremovesthespecifiedIPaddressanddisablestheinterfaceforIP
processing.
Syntax
ip address ip-address ip-mask [secondary]
no ip address ip-address ip-mask
Parameters
Defaults
Ifsecondaryisnotspecified,theconfiguredaddresswillbetheprimaryaddressfortheinterface.
Mode
Routerinterfaceconfiguration:B5(su)‐>router(Config‐if(Vlan1))#
Usage
RefertotheRouterCapacitiestableintheReleaseNotesforthisproductforthenumberof
primaryandsecondaryIPinterfacessupportedbythisproduct.
Example
ThisexamplesetstheIPaddressto192.168.1.1andthenetwork maskto255.255.255.0forVLAN1:
B5(su)->router(Config)#interface vlan 1
B5(su)->router(Config-if(Vlan 1))#ip address 192.168.1.1 255.255.255.0
MTU Interface’s Maximum Transmission Unit size.
ARP Timeout Duration for entries to stay in the ARP table before expiring. Set using the arp
timeout command as described in “arp timeout” on page 19-11.
Direct Broadcast Whether or not IP directed broadcast is enabled. Set using the ip directed-broadcast
command described in “ip directed-broadcast” on page 19-12.
Proxy Arp Whether or not proxy ARP is enabled or disabled for this interface. Set using the ip
proxy arp command as described in “ip proxy-arp” on page 19-10.
Table 19-1 show ip interface Output Details (Continued)
Output Field What It Displays...
ip‐address SpecifiestheIPaddressoftheinterfacetobeadded orremoved.
ip‐mask Specifies themaskfortheassociatedIPsubnet.
secondary (Optional)SpecifiesthattheconfiguredIPaddressisasecondaryaddress.