36-13
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-07
Chapter 36 Configuring IPv6 Unicast Routing
Configuring IPv6
To disable IPv4 routing, use the
no ip routing
global configuration command. To disable IPv6 routing,
use the
no ipv6 unicast-routing
global configuration command. To remove an IPv4 address from an
interface, use the
no
ip address
ip-address mask
interface configuration command. To remove an IPv6
address from an interface, use the
no
ipv6 address
ipv6-prefix/prefix
length
eui-64
or
no ipv6 address
ipv6-address
link-local
interface configuration command. To remove all manually configured IPv6
addresses from an interface, use the
no ipv6 address
interface configuration command without
arguments. To disable IPv6 processing on an interface that has not been explicitly configured with an
IPv6 address, use the
no ipv6 enable
interface configuration command.
This example shows how to enable IPv4 and IPv6 routing on an interface.
Switch(config)#
sdm prefer dual-ipv4-and-ipv6 default
Switch(config)#
ip routing
Switch(config)#
ipv6 unicast-routing
Switch(config)#
interface gigabitethernet0/2
Switch(config-if)#
no switchport
Switch(config-if)#
ip address 192.168.99.1 244.244.244.0
Switch(config-if)#
ipv6 address 2001:0DB8:c18:1::/64 eui 64
Switch(config-if)#
end
Configuring DHCP for IPv6 Address Assignment
•
Default DHCPv6 Address Assignment Configuration, page 36-13
•
DHCPv6 Address Assignment Configuration Guidelines, page 36-14
•
Enabling the DHCPv6 Server Function, page 36-14
•
Enabling the DHCPv6 Client Function, page 36-16
Default DHCPv6 Address Assignment Configuration
By default, no Dynamic Host Configuration Protocol for IPv6 (DHCPv6) features are configured on the
switch.
Step 11
ipv6 address
ipv6-prefix/prefix
length
eui-64
or
ipv6 address
ipv6-address
link-local
or
ipv6 enable
Specify a global IPv6 address. Specify only the network prefix;
the last 64 bits are automatically computed from the switch
MAC address.
Specify a link-local address on the interface to be used instead
of the automatically configured link-local address when IPv6 is
enabled on the interface.
Automatically configure an IPv6 link-local address on the
interface, and enable the interface for IPv6 processing. The
link-local address can only be used to communicate with nodes
on the same link.
Step 12
end
Return to privileged EXEC mode.
Step 13
show interface
interface-id
show ip interface
interface-id
show ipv6 interface
interface-id
Verify your entries.
Step 14
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Содержание ME 3400 Series
Страница 40: ...Contents xl Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 ...
Страница 44: ...xliv Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 Preface ...
Страница 1138: ...Index IN 52 Cisco ME 3400 Ethernet Access Switch Software Configuration Guide OL 9639 07 ...