Configuring Explicit Routing (SRC CLI)

Explicit routing rules can be configured for accounting and authentication requests. When you configure an accounting or authentication route, you specify:

To configure explicit routes:

  1. From configuration mode, access the configuration statement used to configure explicit routes. For example, to configure an accounting route called route66 for the server svr1, in a group called g1:
    [edit]user@host# edit shared sic group g1 server svr1 accounting-route route66
  2. (Optional) Specify the name of the predefined editing rule you want applied to the request before it is forwarded to the target. For example to apply an editing rule called er1:
    [edit shared sic group g1 server svr1 accounting-route route66]user@host# edit editing er1
  3. Specify a predefined accounting method or authentication routing target to use as the target of the route. If this route is selected, packets are routed to this target. For example, to specify an accounting method called acctg-meth1 as the target:
    [edit shared sic group g1 server svr1 accounting-route route66 editing er1]user@host# up[edit shared sic group g1 server svr1 accounting-route route66 editing]user@host# up[edit shared sic group g1 server svr1 accounting-route route66]user@host# edit target[edit shared sic group g1 server svr1 accounting-route route66 target]user@host# set accounting-method acctg-meth1
  4. (Optional) Specify the conditions that must be matched for the route to be selected. For example, to specify that the request must contain a realm=abc.com:
    [edit shared sic group g1 server svr1 accounting-route route66 target]user@host# up[edit shared sic group g1 server svr1 accounting-route route66]user@host# edit condition realm equals abc.com[edit shared sic group g1 server svr1 accounting-route route66 condition realm equals abc.com]user@host#
  5. Commit the configuration.
    user@host# commitcommit complete.
  6. Verify the routing configuration.
    [edit shared sic group g1 server svr1 accounting-route route66 condition realm equals abc.com]user@host# up[edit shared sic group g1 server svr1 accounting-route route66 condition realm]user@host# up[edit shared sic group g1 server svr1 accounting-route route66 condition]user@host# up[edit shared sic group g1 server svr1 accounting-route route66]user@host# show
    condition {
      realm {
        equals abc.com;
      }
    }
    editing {
      er1;
    }
    target {
      accounting-method acctg-meth1;
    }
    
    [edit shared sic group g1 server svr1 accounting-route route66]
    user@host#
    

Related Documentation