Cisco Cisco Email Security Appliance X1050 Referencia técnica
269
Cisco AsyncOS 8.5.5 CLI Reference Guide
Chapter 3 The Commands: Reference Examples
Networking Configuration / Network Tools
Note
You must use Control-C to end the
ping
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.
--- anotherhost.example.com ping statistics ---
11 packets transmitted, 11 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.115/0.242/1.421/0.373 ms
^C
Table 3-118
ping
(Continued)