Cisco Cisco Email Security Appliance C670 Technical References
3-176
CLI Reference Guide for AsyncOS 10.0 for Cisco Email Security Appliances
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
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>