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

Página de 316
S E T G A T E W A Y
C H A P T E R   3 :   T H E   C O M M A N D S :   R E F E R E N C E   E X A M P L E S
 167
Example
setgateway
Description
The 
setgateway
 command configures the default next-hop intermediary through which 
Code Example 3-109 
routeconfig
 
mail3.example.com> routeconfig
Currently configured routes:
1. WestNet Destination: 192.168.11.0/24 Gateway: 192.168.14.2
2. EastNet Destination: 192.168.13.0/24 Gateway: 192.168.14.3
Choose the operation you want to perform:
- NEW - Create a new route.
- EDIT - Modify a route.
- DELETE - Remove a route.
- CLEAR - Clear all entries.
[]> new
Please create a name for the route:
[]> EuropeNet
Please enter the destination IP address to match on.
CIDR addresses such as 192.168.42.0/24 are also allowed.
[]> 192.168.12.0/24
Gateway address for traffic to 192.168.12.0/24:
[]> 192.168.14.4
Currently configured routes:
1. WestNet Destination: 192.168.11.0/24 Gateway: 192.168.14.2
2. EastNet Destination: 192.168.13.0/24 Gateway: 192.168.14.3
3. EuropeNet Destination: 192.168.12.0/24 Gateway: 192.168.14.4
Choose the operation you want to perform:
- NEW - Create a new route.
- EDIT - Modify a route.
- DELETE - Remove a route.
- CLEAR - Clear all entries.
[]>
mail3.example.com> commit
Please enter some comments describing your changes:
[]> Created new static route
Changes committed: Mon Jan 01 12:00:01 2003