Accton Technology ES4548D Switch User Manual


 
Setting an IP Address
5-10
5
CLI – This example configures an IPv6 gateway, specifies the management
interface, configures a global unicast address, and then sets the MTU.
Configuring an IPv6 General Network Prefix
The IPv6 General Prefix page is used to configure general prefixes that are
subsequently used on the IPv6 Configuration web page (see page 5-4) to specify
the network address portion of an interface address.
Command Usage
Prefixes may contain zero-value fields or end in zeros.
A general prefix holds a short prefix that indicates the high-order bits used in the
network portion of the address. Longer, more specific, prefixes can be based on
the general prefix to specify any number of subnets. When the general prefix is
changed, all of the more specific prefixes based on this prefix will also change.
Command Attributes
General Prefix Name – The label assigned to the general prefix.
Prefix Value – The high-order bits of the network address segment assigned to the
general prefix. The prefix must be formatted according to RFC 2373 “IPv6
Addressing Architecture,” using 8 colon-separated 16-bit hexadecimal values. One
double colon may be used in the address to indicate the appropriate number of
zeros required to fill the undefined fields.
Prefix Length – A decimal value indicating how many of the contiguous bits (from
the left) of the address comprise the prefix (i.e., the network portion of the address).
Console#config
Console(config)ipv6 default-gateway 2009:DB9:2229::240 60-12
Console(config)#interface vlan 1 45-1
Console(config-if)#ipv6 address rd 7279::79/64 60-4
Console(config-if)#ipv6 mtu 1280 60-13
Console(config-if)#end
Console#show ipv6 default-gateway 60-12
ipv6 default gateway: 2009:DB9:2229::240
Console#show ipv6 interface 60-10
Vlan 1 is up
IPv6 is enable.
Link-local address:
FE80::200:E8FF:FE90:0/64
Global unicast address(es):
2009:DB9:2229::79, subnet is 2009:DB9:2229:0::/64
Joined group address(es):
FF01::1/16
FF02::1/16
FF02::1:FF00:79/104
FF02::1:FF90:0/104
MTU is 1280 bytes.
ND DAD is enabled, number of DAD attempts: 1.
ND retransmit interval is 1000 milliseconds
Console#show ipv6 mtu 60-14
MTU Since Destination Address
1400 00:04:21 5000:1::3
1280 00:04:50 FE80::203:A0FF:FED6:141D
Console#