Microsens MS453490M Management Guide User Manual

Page 63

Advertising
background image

C

HAPTER

2

| Initial Switch Configuration

Basic Configuration

– 63 –

ND retransmit interval is 1000 milliseconds

Console#

Address for Multi-segment Network — Before you can assign an IPv6

address to the switch that will be used to connect to a multi-segment

network, you must obtain the following information from your network

administrator:

Prefix for this network

IP address for the switch

Default gateway for the network

For networks that encompass several different subnets, you must define

the full address, including a network prefix and the host address for the

switch. You can specify either the full IPv6 address, or the IPv6 address

and prefix length. The prefix length for an IPv6 network is the number of

bits (from the left) of the prefix that form the network address, and is

expressed as a decimal number. For example, all IPv6 addresses that start

with the first byte of 73 (hexadecimal) could be expressed as

73:0:0:0:0:0:0:0/8 or 73::/8.

To generate an IPv6 global unicast address for the switch, complete the

following steps:

1.

From the global configuration mode prompt, type “interface vlan 1” to
access the interface-configuration mode. Press <Enter>.

2.

From the interface prompt, type “ipv6 address ipv6-address” or
“ipv6 address ipv6-address/prefix-length,” where “prefix-length”

indicates the address bits used to form the network portion of the

address. (The network address starts from the left of the prefix and

should encompass some of the ipv6-address bits.) The remaining bits

are assigned to the host interface. Press <Enter>.

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)#exit

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

Console(config)end

Console#show ipv6 interface

Vlan 1 is up

IPv6 is stale.

Link-local address:

FE80::260:3EFF:FE11:6700/64

Global unicast address(es):

Advertising