直接ping命令回车,在【Interface】这里输入接口名称,接口实际上跟IP地址是对应的,指定了interface就相当于指定了源地址
ASA5580# show interface ip bri | inc manu
Management0/0 10.1.126.2 YES manual up up
TenGigabitEthernet0/8 10.1.25.158 YES manual up up
Port-channel5 10.1.216.26 YES manual up up
Port-channel10 10.1.25.165 YES manual up up
Port-channel20 10.1.87.141 YES manual up up
ASA5580# show int
ASA5580# show interface ?
detail Detailed interface information
ip IP configuration
stats Interface statistics
Current available interface(s):
GigabitEthernet GigabitEthernet IEEE 802.3z
Management Management interface
Port-channel Ethernet Channel of interfaces
Redundant Redundant Interface
TenGigabitEthernet Ten GigabitEthernet
dmz Name of interface Port-channel10
dmz-2 Name of interface Port-channel20
inside Name of interface TenGigabitEthernet0/8
man Name of interface Management0/0
outside Name of interface Port-channel5
| Output modifiers
<cr>
ASA5580# ping
TCP Ping [n]:
Interface: man
Target IP address: 10.1.25.167
Repeat count: [5]
Datagram size: [100]
Timeout in seconds: [2]
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.25.167, timeout is 2 seconds:
?????
Success rate is 0 percent (0/5)
ASA5580# ping
TCP Ping [n]:
Interface: inside
Target IP address: 10.1.25.167
Repeat count: [5]
Datagram size: [100]
Timeout in seconds: [2]
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.25.167, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
ASA5580#
网友评论