Cisco Cisco Email Security Appliance C190 Referencia técnica
239
Cisco AsyncOS 8.0.1 CLI Reference Guide
Chapter
Batch Format
The batch format of the
smtproutes
command can be used to perform all the fuctions of the traditional
CLI command.
•
Creating a new SMTP route
smtproutes new <source> <destination> [destination] [destination] [...]
•
Deleting an existing SMTP route
smtproutes delete <source>
•
Clear a listing of SMTP routes
smtproutes clear
•
Print a listing of SMTP routes
smtproutes print
•
Import a listing of SMTP routes
smtproutes import <filenames>
•
Export a listing of SMTP routes
smtproutes export <filenames>
Example
In the following example, the
smptroutes
command is used to construct a route (mapping) for the
domain
example.com
to
relay1.example.com
,
relay2.example.com
, and
backup-relay.example.com
.
Use
/pri=#
to specify a destination priority. THE # should be from 0-65535, with larger numbers
indicating decreasing priority. If unspecified, the priority defaults to 0.
(Note that you may have constructed the same mapping during the
systemsetup
command when you
configured the InboundMail public listener.)
Table 3-124
smtproutes
mail3.example.com> smtproutes
There are no routes configured.
Choose the operation you want to perform: