Cisco Cisco Email Security Appliance C170 Referências técnicas

Página de 462
 
3-245
Cisco AsyncOS 8.5.6 CLI Reference Guide
 
Chapter 3      The Commands: Reference Examples
  Networking Configuration / Network Tools
setgateway
Description
The 
setgateway
 command configures the default next-hop intermediary through which packets should 
be routed. Alternate (non-default) gateways are configured using the 
routeconfig
 command.
Usage
Commit: This command requires a ‘commit’.
Cluster Management: This command can be used in all three machine modes (cluster, group, machine).
Batch Command: This command does not support a batch format.
Please enter the destination IPv6 address to match on.
CIDR addresses such as 2001:db8::/32 are also allowed.
[]>  2620:101:2004:4202::/6
Please enter the gateway IP address for traffic to 
2620:101:2004:4202::/6:
[]> 2620:101:2004:4202::23
Currently configured routes:
1. EuropeIPv6Net Destination: 2620:101:2004:4202::/6 Gateway:
2620:101:2004:4202::23
Choose the operation you want to perform:
- NEW - Create a new route.
- EDIT - Modify a route.
- DELETE - Remove a route.
- CLEAR - Clear all entries.
[]>