Connecting and configuring the switch
Configuring a static route
Create static routes to manually configure a path to destination IP address prefixes.
Procedure
1. Enter Global Configuration mode:
enable
configure terminal
2. Enter the following command to enable IP routing globally:
ip routing
3. Enter the following command to configure an IP address on a VLAN:
ip address <ip address> <mask> [<MAC-offset>]
4. Enter the following command to configure a static route:
ip route <destination ip> <mask> <next-hop> {<cost> | disable |
enable | weight <cost>}
5. Enter the following command to display all the static routes:
show ip route static [<dest-ip>] [-s <subnet> <mask>]
6. Save the configuration.
Variable definitions
Use the definitions in the following table to use the ip route command.
Variable
<ipaddr>
<mask>
<MAC-offset>
<destination ip>
<mask>
October 2015
Definition
Specify the IP address to attach to the VLAN.
Specify the subnet mask to attach to the VLAN
Specify the value used to calculate the VLAN MAC
address, which is offset from the switch MAC
address. The valid range is 1 to 256. Specify the
value 1 for the Management VLAN only. If no MAC
offset is specified, the switch applies one
automatically.
Specify the destination IP address for the route being
added.
0.0.0.0 is considered the default route.
Specify the destination subnet mask for the route
being added.
Quick Start Configuration for Avaya ERS 5900 Series
Comments on this document? infodev@avaya.com
Table continues...
40