Huawei S9300 Configuration Manual page 122

Terabit routing switch
Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - IP Service
2.
3.
4.
Data Preparation
To complete the configuration, you need the following data:
l
l
Procedure
Step 1 Enable DHCP.
<Quidway> system-view
[Quidway] dhcp enable
Step 2 Add interfaces to VLANs.
# Add GigabitEthernet1/0/1 to VLAN 10.
[Quidway] interface gigabitethernet 1/0/1
[Quidway-GigabitEthernet1/0/1] port hybrid pvid vlan 10
[Quidway-GigabitEthernet1/0/1] port hybrid untagged vlan 10
[Quidway-GigabitEthernet1/0/1] quit
# Add GigabitEthernet1/0/2 to VLAN 20.
[Quidway] interface gigabitethernet 1/0/2
[Quidway-GigabitEthernet1/0/2] port hybrid pvid vlan 20
[Quidway-GigabitEthernet1/0/2] port hybrid untagged vlan 20
[Quidway-GigabitEthernet1/0/2] quit
Step 3 Set IPv6 addresses of VLANIF interfaces.
# Enable the IPv6 packet forwarding function.
[Quidway] ipv6
# Set the IPv6 address of VLANIF 10.
[Quidway] vlan batch 10 20
[Quidway] interface vlanif 10
[Quidway-Vlanif10] ipv6 enable
[Quidway-Vlanif10] ipv6 address 2000::1 64
[Quidway-Vlanif10] quit
# Set the IPv6 address of VLANIF 20.
[Quidway] interface vlanif 20
[Quidway-Vlanif20] ipv6 enable
[Quidway-Vlanif20] ipv6 address 3000::1 64
[Quidway-Vlanif20] quit
Step 4 Enable the DHCPv6 relay function.
# Enable the DHCPv6 relay function on VLANIF 10 and set the IP address of the DHCPv6
server.
[Quidway] interface vlanif 10
[Quidway-Vlanif10] dhcpv6 relay destination 3000::3
Step 5 Configure the Switch as the gateway.
Issue 01 (2012-03-15)
Create VLANIF interfaces and set IPv6 addresses of the VLANIF interfaces.
Enable the DHCPv6 relay function and set the DHCPv6 server address.
Configure the Switch as the gateway.
IPv6 addresses of the interfaces
IP address of the DHCPv6 server
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5 DHCPv6 Configuration
111

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents