Dynamic configuration – LevelOne GTL-2691 User Manual

Page 93

Advertising
background image

C

HAPTER

2

| Initial Switch Configuration

Basic Configuration

– 93 –

3.

Type “exit” to return to the global configuration mode prompt. Press
<Enter>.

4.

To set the IP address of the IPv6 default gateway for the network to
which the switch belongs, type “ipv6 default-gateway gateway,” where

“gateway” is the IPv6 address of the default gateway. Press <Enter>.

Console(config)#interface vlan 1

Console(config-if)#ipv6 address 2001:DB8:2222:7272::/64

Console(config-if)#ipv6 enable

Console(config-if)#exit

Console(config)#ipv6 default-gateway 2001:DB8:2222:7272::254

Console(config)end

Console#show ipv6 interface

VLAN 1 is up

IPv6 is enabled

Link-local address:

FE80::200:E8FF:FE93:82A0/64

Global unicast address(es):

2001:DB8:2222:7272::/64, subnet is 2001:DB8:2222:7272::/64

2005::212:CFFF:FE0B:4600, subnet is ::

Joined group address(es):

FF02::1:2

FF02::1:FF00:0

FF02::1:FF93:82A0

FF02::1

IPv6 link MTU is 1280 bytes

ND DAD is enabled, number of DAD attempts: 2.

ND retransmit interval is 1000 milliseconds

ND advertised retransmit interval is 0 milliseconds

ND reachable time is 30000 milliseconds

ND advertised reachable time is 0 milliseconds

Console#

D

YNAMIC

C

ONFIGURATION

Obtaining an IPv4 Address
If you select the “bootp” or “dhcp” option, the system will immediately

start broadcasting service requests. IP will be enabled but will not function

until a BOOTP or DHCP reply has been received. Requests are broadcast

every few minutes using exponential backoff until IP configuration

information is obtained from a BOOTP or DHCP server. BOOTP and DHCP

values can include the IP address, subnet mask, and default gateway. If

the DHCP/BOOTP server is slow to respond, you may need to use the “ip

dhcp restart client” command to re-start broadcasting service requests.

Note that the “ip dhcp restart client” command can also be used to start

broadcasting service requests for all VLANs configured to obtain address
assignments through BOOTP or DHCP. It may be necessary to use this

command when DHCP is configured on a VLAN, and the member ports

which were previously shut down are now enabled.

If the “bootp” or “dhcp” option is saved to the startup-config file (step 6),

then the switch will start broadcasting service requests as soon as it is

powered on.

Advertising