User's Manual

Table Of Contents
475
Users Manual of CS-6306R
Configuration Example 46.2
Pay attention to the following content when you configure the routing items:
As to the direct-connecting routing, the next hop is CPU. If the next hop is a routing interface not an IP
address, do as in the direct-connecting routing.
When the number of the routing items in the system is bigger than that of the IP hardware subnet routing
items, the default routing cannot be the IP hardware subnet routing. Two or several routes, which are
prefix to each other, must be used together when IP hardware subnet routing is adopted. For other items,
advise to add heavy-traffic items to the hardware subnet routing table. Our 3224 series switches support
15 hardware subnet routes, including the default subnet route.
The ARP of the next-hop IP address does not exist, the system will send an ARP request and
temporarily designate the next-hop routing item as CPU. After the system receives the ARP response,
the system then update the next hop to the user-designating address. If the VLAN interface where the
next hop resides is found different from the configured interface during the ARP response, the next hop
of the route is designated as CPU. Users then need to correct the configuration.
If the next-hop interface or the interface protocol does not exist, the item will not be added to the
hardware subnet routing table.
Suppose a switch has the following routing items:
(1) 192.168.0.0/16 next hop 192.168.26.3/vlan1
(2) 192.168.20.0/24 next hop 192.168.26.1/vlan1
(3) 192.168.1.0/24 direct-connecting routing
(4) 192.168.26.0/24 direct-connecting routing
(5) 10.0.0.0/8 next hop 192.168.1.4/vlan2
(6) 0.0.0.0/0 next hop 192.168.1.6/vlan2
The destination subnet of route item 1 is the prefix of subnet 2, 3 and 4. Therefore,these items should be
added to the hardware subnet routing table together. Item 3 and 4 are direct-connecting routing and the next
hop is CPU.
The relative configuration is as follows:
ip exf 192.168.20.0 255.255.255.0 nexthop 192.168.26.1 vlan 1
ip exf 192.168.1.0 255.255.255.0 cpu
ip exf 192.168.26.0 255.255.255.0 cpu
ip exf 192.168.0.0 255.255.0.0 nexthop 192.168.26.3 vlan 1
ip exf 10.0.0.0 255.0.0.0 nexthop 192.168.1.4 vlan 2
ip exf 0.0.0.0 0.0.0.0 nexthop 192.168.1.6 vlan 2