Tip
This is the documentation for the 19.02 version. Looking for the documentation of the latest version? Have a look here.
- orphan:
Managing RoutesΒΆ
Routes are entered into TNSR using the route
command in configuration mode.
When managing routes, the address family and table name must be
specified in order to esablish the routing context.
From there, individual routes can be managed:
tnsr(config)# route ipv4 table ipv4-VRF:0
tnsr(config-rt-table-v4)# route 10.2.10.0/24
tnsr(config-rt4-next-hop)# next-hop 0 via 10.2.0.2 GigabitEthernet0/14/2
Breaking down the example above, first the route table is specified. Within that context a destination network route is given. The destination network establishes a sub-context for a specific route. From there, the next hop configuration is entered.
Note
When entering a next hop for a route, both the IP address of the destination router and the interface must be given.
To specify more than one route, exit out of the next-hop
context so that
TNSR is in the correct context for the route table itself, then enter an
additional destination and next-hop.