Configuring Static Routing on AOS-CX

Static routes provide a means for restricting and troubleshooting routed traffic flows. In small networks, static routes provide the simplest and most reliable configuration for routing. Static routes are manually configured in the routing table.

For each static route, you can configure the destination and next hop IP addresses to route the packets, VRF Virtual Routing and Forwarding. VRF is a technology that allows multiple instances of a routing table to co-exist within the same router., and the administrative distance. You can add static routes only for the management and default VRFs.

The following are the maximum number of static routes (IPv4 and IPv6) that are supported on AOS-CX switches.

  • AOS-CX 4100i, 6100 switch series—512
  • AOS-CX 6200 switch series—1024
  • AOS-CX 6300, 8360 switch series—65536
  • AOS-CX 8320 switch series—163796
  • AOS-CX 8325 switch series—29696

AOS-CX 6400 and 8400 switch series are not supported in Classic Central UI configuration.

To add static routes on AOS-CX switches, complete the following steps:

  1. In the WebUI, select one of the following options:
    • To select a group in the filter:
      1. Set the filter to a group.

        The dashboard context for the group is displayed.

      2. Under Manage, click Devices > Switches.
      3. A list of switches is displayed in the List view.

      4. Click the Config icon to view the AOS-CX switch configuration dashboard.
    • To select a switch:
      1. Set the filter to Global or a group containing at least one switch.
      2. Under Manage, click Devices > Switches.

        A list of switches is displayed in the List view.

      3. Click an AOS-CX switch under Device Name.

        The dashboard context for the switch is displayed.

      4. Under Manage, click Device.

        The AOS-CX UI configuration page is displayed.

  2. Click RoutingStatic Routing.

    The Static Routing page is displayed.

  3. In the Static Routing table, click + to add a static route and configure the following parameters in the Create Static Route page.

    When the maximum number of routes are added for a switch, the +  icon is disabled.

    Table 1: Static Route Parameters

    Parameters

    Description

    Value

    Destination

    A valid network or device IP address with subnet Subnet is the logical division of an IP network. mask.

    IPv4 or IPv6 address.

    • IPv4 address in the x.x.x.x/M format, where x is an integer from 0 to 255, and /M is the subnet mask.
    • IPv6 address in the xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/M format, where x is a hexadecimal number from 0 to F, and /M is the subnet mask.

    Next Hop

    Address of the next node in the route.

    VRF

    VRF on which the static route is configured.

    Default or Management.

    When you select Management, you can configure only the Next Hop field.

    NOTE:  

    Distance

    The administrative distance helps routers determine the best route when there are multiple routes to the destination. A lower value is recommended.

    The default administrative distance for static IP routes is 1, but can be configured to any value in the range 1 to 255.

    If the administrative distance is set to a lower value for static routes, switches use the static IP routes as the best route for routing traffic. For example, if the administrative distance for a static route is set to 20 and for an OSPF Open Shortest Path First. OSPF is a link-state routing protocol for IP networks. It uses a link-state routing algorithm and falls into the group of interior routing protocols that operates within a single Autonomous System (AS).-based route is set to its default value, 110, then the switch choose the static route as the best route for routing traffic.

  4. Click Save.