Cisco Cisco Email Security Appliance X1050 Referencia técnica
3-178
CLI Reference Guide for AsyncOS 9.7 for Cisco Email Security Appliances
Chapter 3 The Commands: Reference Examples
Networking Configuration / Network Tools
Usage
Commit: This command requires a ‘commit’.
Cluster Management: This command can be used in all three machine modes (cluster, group, machine).
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.
•
Creating a new SMTP route
•
Deleting an existing SMTP route
•
Clear a listing of SMTP routes
•
Print a listing of SMTP routes
•
Import a listing of SMTP routes
•
Export a listing of SMTP routes
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.)
mail3.example.com> smtproutes
There are no routes configured.
Choose the operation you want to perform:
smtproutes new <source> <destination> [destination] [destination] [...]
smtproutes delete <source>
smtproutes clear
smtproutes print
smtproutes import <filenames>
smtproutes export <filenames>