Cisco Cisco Email Security Appliance C160 Références techniques

Page de 314
 
168
Cisco AsyncOS 9.1 for Email CLI Reference Guide
 
Chapter 3      The Commands: Reference Examples
  Networking Configuration / Network Tools
Note
You must use Control-C to end the 
ping6
 command.
routeconfig
Description
The 
routeconfig
 command allows you to create, edit, and delete static routes for TCP/IP traffic. By 
default, traffic is routed through the default gateway set with the 
setgateway
 command. However, 
AsyncOS allows specific routing based on destination.
Routes consist of a nickname (for future reference), a destination, and a gateway. A gateway (the next 
hop) is an IP address such as 
10.1.1.2
. The destination can be one of two things:
an IP address, such as 
192.168.14.32
a subnet using CIDR notation. For example, 
192.168.5.0/24
 means the entire class C network from 
192.168.5.0
 to 
192.168.5.255
For IPv6 addresses, you can use the following formats:
2620:101:2004:4202::0-2620:101:2004:4202::ff
2620:101:2004:4202::
2620:101:2004:4202::23
2620:101:2004:4202::/64
The command presents a list of all currently configured TCP/IP routes for you to select from using the 
edit
 and 
delete
 subcommands. 
Usage
Commit: This command requires a ‘commit’.
Cluster Management: This command is restricted to machine mode.
Batch Command: This command supports a batch format.
Batch Format
The batch format of the 
smtproutes
 command can be used to perform all the fuctions of the traditional 
CLI command. You can choose whether to use IPv4 or IPv6 addresses for the route.
Creating a static route:
routeconfig new 4|6 <name> <destination_address> <gateway_ip>