正解:C
To direct SSH traffic originating from the router (R1) to use a specific next-hop (SP2 in this case),
you must use local policy-based routing (PBR). Local PBR allows you to apply a route-map to
locally generated traffic (traffic initiated by R1 itself).
- Access Control List (ACL) matches the locally generated SSH traffic (permit tcp any any eq 22).
- Route Map specifies the action for the matched traffic (setting the next-hop to SP2, 10.20.20.1).
- Local Policy applies the route map to the router's locally generated traffic using ip local policy
route-map.
This configuration ensures that all SSH traffic generated from R1 is sent to SP2, overriding the
default routing behavior.