![background image](http://html1.mh-extra.com/html/foundry-networks/fastiron-edge-switch-x424/fastiron-edge-switch-x424_manual_2324269072.webp)
Foundry Configuration Guide for the FESX, FSX, and FWSX
5 - 2
© Foundry Networks, Inc.
December 2005
Adding a Static IP Route
To add a static IP route, enter a command such as the following at the global CONFIG level of the CLI:
FESX424 Router(config)# ip route 209.157.2.0 255.255.255.0 192.168.2.1
This command adds a static IP route to the 209.157.2.x/24 subnet.
Syntax:
[no] ip route <dest-ip-addr> <dest-mask> <next-hop-ip-addr> [<metric>]
or
Syntax:
[no] ip route <dest-ip-addr>/<mask-bits> <next-hop-ip-addr> [<metric>]
The <dest-ip-addr> is the route’s destination. The <dest-mask> is the network mask for the route’s destination IP
address. Alternatively, you can specify the network mask information by entering a forward slash followed by the
number of bits in the network mask. For example, you can enter 192.0.0.0 255.255.255.0 as 192.0.0.0/.24. To
configure a default route, enter 0.0.0.0 for <dest-ip-addr> and 0.0.0.0 for <dest-mask> (or 0 for the <mask-bits> if
you specify the address in CIDR format). Specify the IP address of the default gateway using the <next-hop-ip-
addr> parameter.
The <next-hop-ip-addr> is the IP address of the next-hop router (gateway) for the route.
The <metric> parameter specifies the cost of the route and can be a number from 1 – 16. The default is 1. The
metric is used by RIP. If you do not enable RIP, the metric is not used.
NOTE:
You cannot specify
null0
or another interface as the next hop in the Base Layer 3 image.
Adding a Static ARP Entry
Static entries are useful in cases where you want to pre-configure an entry for a device that is not connected to the
Foundry device, or you want to prevent a particular entry from aging out. The software removes a dynamic entry
from the ARP cache if the ARP aging interval expires before the entry is refreshed. Static entries do not age out,
regardless of whether the Foundry device receives an ARP request from the device that has the entry’s address.
The software places a static ARP entry into the ARP cache as soon as you create the entry.
To add a static ARP entry, enter a command such as the following at the global CONFIG level of the CLI:
FESX424 Router(config)# arp 1 209.157.22.3 aaaa.bbbb.cccc ethernet 3
This command adds a static ARP entry that maps IP address 209.157.22.3 to MAC address aaaa.bbbb.cccc. The
entry is for a MAC address connected to FESX424 Router port 3.
Syntax:
[no] arp <num> <ip-addr> <mac-addr> ethernet [<slotnum>/]<portnum>
The <num> parameter specifies the entry number. You can specify a number from 1 up to the maximum number
of static entries allowed on the device. You can allocate more memory to increase this amount. To do so, enter
the
system-max ip-static-arp
<num> command at the global CONFIG level of the CLI.
The <ip-addr> command specifies the IP address of the device that has the MAC address of the entry.
The <mac-addr> parameter specifies the MAC address of the entry.
The <portnum> command specifies the port number attached to the device that has the MAC address of the entry.
If you are configuring a chassis device, specify the slot number as well as the port number (<slotnum>/
<portnum>).
Enabling or disabling Layer 2 switching
5-7
Table 5.1: Procedures in This Chapter (Continued)
Task
See Page
Summary of Contents for FastIron Edge Switch X424
Page 36: ...Foundry Configuration Guide for the FESX FSX and FWSX 2 12 Foundry Networks Inc December 2005...
Page 56: ...Foundry Configuration Guide for the FESX FSX and FWSX 3 20 Foundry Networks Inc December 2005...
Page 70: ...Foundry Configuration Guide for the FESX FSX and FWSX 4 14 Foundry Networks Inc December 2005...
Page 198: ...Foundry Configuration Guide for the FESX FSX and FWSX 8 38 Foundry Networks Inc December 2005...
Page 316: ...Foundry Configuration Guide for the FESX FSX and FWSX 12 26 Foundry Networks Inc December 2005...
Page 350: ...Foundry Configuration Guide for the FESX FSX and FWSX 15 12 Foundry Networks Inc December 2005...
Page 458: ...Foundry Configuration Guide for the FESX FSX and FWSX 18 18 Foundry Networks Inc December 2005...
Page 712: ...Foundry Configuration Guide for the FESX FSX and FWSX 22 32 Foundry Networks Inc December 2005...
Page 760: ...Foundry Configuration Guide for the FESX FSX and FWSX A 34 Foundry Networks Inc December 2005...
Page 796: ...Foundry Configuration Guide for the FESX FSX and FWSX C 18 Foundry Networks Inc December 2005...
Page 820: ...Foundry Configuration Guide for the FESX FSX and FWSX E 10 Foundry Networks Inc December 2005...