Ipsetup Ipv6 Address - HPE OfficeConnect 1950 Series User Manual

Hide thumbs Also See for OfficeConnect 1950 Series:
Table of Contents

Advertisement

Views
User view
Predefined user roles
network-admin
Parameters
ip-address: Specifies an IPv4 address for the interface, in dotted decimal notation.
mask-length: Specifies the subnet mask length, the number of consecutive 1s in the mask. The value
range for this argument is 1 to 31.
mask: Specifies the subnet mask in dotted decimal notation.
default-gateway ipv4-gateway-address: Specifies the IPv4 address of the default gateway, in dotted
decimal notation. If you specify this option, the command not only assigns an IPv4 gateway address
to the interface, but also specifies a default route for the device. For this option to take effect, make
sure the ipv4-gateway-address setting is in the same segment with the ip-address setting.
Usage guidelines
You can use either of the following methods to assign an IPv4 address to VLAN-interface 1:
DHCP—VLAN-interface 1 acts as a DHCP client to dynamically obtain an IPv4 address from
the DHCP server.
Manual—Allows you to use the ipsetup ip address command to assign an IPv4 address to
this interface.
Whichever method is used, the newly obtained IPv4 address overwrites the existing IPv4 address.
Examples
# Assign 192.168.1.2 to the interface, and specify 192.168.1.1 as the default gateway.
<Sysname> ipsetup ip-address 192.168.1.2 24 default-gateway 192.168.1.1
Related commands
ipsetup dhcp

ipsetup ipv6 address

Use ipsetup ip address to assign an IPv6 global unicast address to VLAN-interface 1.
Syntax
ipsetup ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length } [ default-gateway
ipv6-gateway-address ]
Default
No IPv6 global unicast address is assigned to VLAN-interface 1.
Views
User view
Predefined user roles
network-admin
Parameters
ipv6-address: Specifies an IPv6 global unicast address for the interface.
prefix-length: Specifies the prefix length of the IPv6 address, in the range of 1 to 128.
143

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents