Technical References

3-174
CLI Reference Guide for AsyncOS 9.7 for Cisco Email Security Appliances
Chapter 3 The Commands: Reference Examples
Networking Configuration / Network Tools
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:
Editing a static route:
routeconfig new 4|6 <name> <destination_address> <gateway_ip>
Table 3-11 routeconfig Arguments
Argument Description
4 | 6
The IP version (IPv4 or IPv6) to apply this command
to. For
clear and print this option can be omitted
and the command applies to both versions.
name
The name of the route.
destination_address
The IP or CIDR address to match on for outgoing IP
traffic.
gateway_ip
The IP address to send this traffic to.
routeconfig edit 4|6 <name> <new_name> <destination_address>
<gateway_ip>