Brocade Communications Systems 8/80 Service Manual Page 30

  • Download
  • Add to my manuals
  • Print
  • Page
    / 62
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 29
ServerIron Switching and Routing Guide
2 - 22 © 2012 Brocade Communications Systems, Inc. May 2012
Adding a Static IP Route
The software places the static route in the IP route table only if the virtual routing interface is up.
To add a static IP route to the 209.157.2.x/24 sub-net, enter a command such as the following:
ServerIron(config)#ip route 209.157.2.0 255.255.255.0 192.168.2.1
Syntax: [no] ip route <dest-ip-addr> <dest-mask> <next-hop-ip-addr> | null0 [<metric>]
Syntax: [no] ip route <dest-ip-addr>/<mask-bits> <next-hop-ip-addr> | null0 [<metric>]
The <dest-ip-addr> parameter specifies 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> parameter specifies the IP address of the next-hop router (gateway) for the route. If you
specify null0 instead of a next hop IP address, the ServerIron discards packets addressed to the route’s
destination IP address instead of forwarding them to another device.
If you add a default route, the gateway address of the route replaces the default gateway address configured by
the ip default-gateway command. Likewise, if you use the ip default-gateway command to change the default
gateway address, the gateway address in the default route is automatically changed also.
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: The ServerIron supports IP fragmentation but is not in the position to perform IP fragmentation. It is
recommended to perform IP fragmentation on routers connecting to the ServerIron.
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
ServerIron, 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 ServerIron 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 commands such as the following:
ServerIron(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 ServerIron port 3.
Syntax: [no] arp <num> <ip-addr> <mac-addr> ethernet <portnum> [vlan <vlan-id>]
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 128 entries. See
“Setting System Max” on page 2-23.
The <ip-addr> parameter 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 ethernet <portnum> parameter specifies the port number attached to the device that has the MAC address of
the entry.
The vlan <vlan-id> parameter specifies the port-based VLAN the entry belongs to. This parameter is required if
the port you specify is a member of more than one port-based VLAN. Otherwise, the parameter is optional.
To display the static ARP entries, see “Displaying Static ARP Entries” on page 2-28.
Page view 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 61 62

Comments to this Manuals

No comments