beautypg.com

Source-ip – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 2078

background image

Ping-Polling Commands

Software Reference for x310 Series Switches

79.20

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

source-ip

This command specifies the source IP address to use in ping packets.

By default, the polling instance uses the address of the interface through which it
transmits the ping packets. It uses the device’s local interface IP address when it is set.
Otherwise, the IP address of the interface through which it transmits the ping packets is
used.

The no variant of this command resets the source IP in the packets to the device’s local
interface IP address.

Syntax

source-ip {<ip-address>|<ipv6-address>}

no source-ip

Mode

Ping-Polling Configuration

Examples

To configure the ping-polling instance 43 to use the source IP address 192.168.0.1 in
ping packets, use the commands:

To configure the ping-polling instance 43 to use the source IPv6 address 2001:db8:: in
ping packets, use the commands:

To reset the source IP address to the device’s local interface IP address for ping-poll
instance 43, use the commands:

Related Commands

description (ping-polling)
ip (ping-polling)
length (ping-poll data)
ping-poll
show ping-poll

Parameter

Description

<ip-address>

An IPv4 address in dotted decimal notation A.B.C.D

<ipv6-address>

An IPv6 address in hexadecimal notation X:X::X:X

awplus#

configure terminal

awplus(config)#

ping-poll 43

awplus(config-ping-poll)#

source-ip 192.168.0.1

awplus#

configure terminal

awplus(config)#

ping-poll 43

awplus(config-ping-poll)#

source-ip 2001:db8::

awplus#

configure terminal

awplus(config)#

ping-poll 43

awplus(config-ping-poll)#

no source-ip