Configuring Basic Unicast Routing

To configure IP unicast routing on the switch:

  1. Create and configure two or more VLANs.
  2. For each VLAN that participates in IP routing, assign an IP address, use the following command:
    configure {vlan} vlan_name ipaddress [ipaddress {ipNetmask} | ipv6-link-local | {eui64} ipv6_address_mask]
    Ensure that each VLAN has a unique IP address.
  3. Configure a default route using the following command:
    configure iproute add default gateway {metric} {multicast | multicast-only | unicast | unicast-only} {vr vrname}
    Default routes are used when the router has no other dynamic or static route to the requested destination.
  4. Turn on IP routing for one or all VLANs using the following command:
    enable ipforwarding {ipv4 | broadcast | ignore-broadcast | fast-direct-broadcast} {vlan vlan_name}
  5. Configure the routing protocol, if required. For a simple network using RIP, the default configuration may be acceptable.
  6. Turn on RIP or OSPF using one of the following commands:
    enable rip
    enable ospf