Configuring Routing Interface Settings ip address
16-6 IP Configuration
ip address
Usethiscommandtoset,remove,ordisableaprimaryorsecondaryIPaddressforaninterface.
Syntax
ip address ip-address ip-mask [secondary]
no ip address ip-address ip-mask
Parameters
Defaults
Ifsecondaryisnotspecified,theconfiguredaddresswillbetheprimaryaddressfortheinterface.
Mode
Routercommand,Interfaceconfiguration:Matrix>Router(config‐if(Vlan1))#
MAC-Address MAC address mapped to this interface. Set using the ip mac-address
command as described in “ip mac-address” on page 16-17.
Incoming | Outgoing Access List Whether or not an access control list (ACL) has been configured on
this interface using the commands described in “Configuring Access
Lists” on page 24-15.
IP Helper Address Whether or not an IP address has been designated for forwarding UDP
datagrams from this interface. Set using the ip helper-address
command as described in “ip helper-address” on page 16-21
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 16-17.
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 16-16.
ICMP ICMP (ping) settings. By default, ICMP messaging is enabled on a
routing interface for both echo-reply and mask-reply modes. If, for
security reasons, ICMP has been disabled, it can be re-enabled using
the ip icmp command as described in “ip icmp” on page 16-27.
Policy routing Whether or not policy-based routing has been configured on this
interface as described in “Configuring Denial of Service (DoS)
Prevention” on page 24-22.
Table 16-2 show ip interface Output Details (continued)
Output... What it displays...
ip‐address SpecifiestheIPaddressoftheinterfacetobeaddedorremoved.
ip‐mask SpecifiesthemaskfortheassociatedIPsubnet.
secondary (Optional)Specifies thattheconfiguredIPaddressisasecondary
address.