networktool2

Shell> ping6 -?

Ping a target machine with UEFI IPv6 network stack.

Ping6 [-l size] [-n count] [-s SourceIp] TargetIp

-l size     Send buffer size, in bytes(default=16, min=16, max=32768).   -n count    Send request count, (default=10, min=1, max=10000).   -s SourceIp Source IPv6 address.   TargetIp    Target IPv6 address.

Examples:   * To ping the target host by sending 5 request with 1000 bytes from 2002::1     Shell:\> Ping6 -s 2002::1 2002::2 -l 1000 -n 5

* To ping the target host with 1000 bytes     Shell:\> Ping6 2002::2 -l 1000

Shell> ifconfig6 -?

Displays or modifies IPv6 configuration for network interface.

IfConfig6 -r [Name] | -l [Name] IfConfig6 -s <Name> [dad <Num>] [auto | [man [id <mac>] [host <IPv6> gw <IPv6>]              [dns <IPv6>]]]

Name                     Adapter name, i.e., eth0   -r [Name]                Reconfigure all or specified interface, and set                            automatic policy. If specified interface is already                            set to automatic,then refresh the IPv6 configuration.   -l [Name]                List the configuration of the specified interface.   -s <Name> dad <Num>      Set dad transmits count of the specified interface.   -s <Name> auto           Set automatic policy of the specified interface.   -s <Name> man id <Mac>   Set alternative interface id of the specified                            interface. Must under manual policy.   -s <Name> man host <IPv6> gw <IPv6>                            Set static host IP and gateway address of the                            specified interface. Must under manual policy.   -s <Name> man dns <IPv6> Set DNS server IP addresses of the specified                            interface.Must under manual policy.

EXAMPLES:   * To list the configuration for the interface eth0:     Shell:\> ifConfig6 -l eth0

* To use automatic configuration to request the IPv6 address configuration     dynamically for the interface eth0:     Shell:\> ifconfig6 -s eth0 auto

* To set the dad transmits count for eth0 under automatic policy:     Shell:\> ifconfig6 -s eth0 auto dad 10

* To set the alternative interface id of eth0 under manual policy:     Shell:\> ifconfig6 -s eth0 man id ff:dd:aa:88:66:cc

* To use the static IP6 addresses configuration for the interface eth0,     and this configuration survives the network reload:     Shell:\> ifconfig6 -s eth0 man host 2002::1/64 2002::2/64 gw 2002::3/64

Shell> ifconfig6 -l ----------------------------------------------------------------- name         : eth0 policy       : manual dad xmits    : 1 interface id : 02:1E:67:FF:FE:C0:CF:9A mac addr     : 00:1E:67:C0:CF:9A

host addr    : FE80::021E:67FF:FEC0:CF9A/64

dns server   :

route table  : FE80::/64 >> :: ----------------------------------------------------------------- name         : eth1 policy       : manual dad xmits    : 1 interface id : 02:1E:67:FF:FE:C0:CF:9B mac addr     : 00:1E:67:C0:CF:9B

host addr    : FE80::021E:67FF:FEC0:CF9B/64

dns server   :

route table  : FE80::/64 >> :: -----------------------------------------------------------------

时间: 2024-12-24 21:40:36

networktool2的相关文章