Huawei S9300 Configuration Manual page 219

Terabit routing switch
Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - IP Service
[SwitchA] ipv6 route-static 2002:: 16 tunnel 1/0/1
Step 2 # Configure Switch B.
# Enabling the service loopback function on an Eth-Trunk interface.
The interface must be idle. That is, the interface does not transmit services.
<Quidway> system-view
[Quidway] interface eth-trunk 1
[Quidway-Eth-Trunk1] service type tunnel
[Quidway-Eth-Trunk1] quit
[Quidway] interface gigabitethernet 1/0/3
[Quidway-GigabitEthernet1/0/3] eth-trunk 1
[Quidway-GigabitEthernet1/0/3] quit
# Configure the IPv4/IPv6 stack.
<Quidway> system-view
[Quidway] sysname SwitchB
[SwitchB] ipv6
[SwitchB] vlan batch 100 200
[SwitchB] interface gigabitethernet1/0/1
[SwitchB-GigabitEthernet1/0/1] port hybrid pvid vlan 100
[SwitchB-GigabitEthernet1/0/1] port hybrid untagged vlan 100
[SwitchB-GigabitEthernet1/0/1] quit
[SwitchB] interface vlanif 100
[SwitchB-Vlanif100] ip address 2.1.1.2 8
[SwitchB-Vlanif100] quit
[SwitchB] interface gigabitethernet1/0/2
[SwitchB-GigabitEthernet1/0/2] port hybrid pvid vlan 200
[SwitchB-GigabitEthernet1/0/2] port hybrid untagged vlan 200
[SwitchB-GigabitEthernet1/0/2] quit
[SwitchB] interface vlanif 200
[SwitchB-Vlanif200] ipv6 enable
[SwitchB-Vlanif200] ipv6 address 2002:0201:0102:1::1/64
[SwitchB-Vlanif200] quit
# Configure a 6to4 tunnel.
[SwitchB] interface tunnel 1/0/1
[SwitchB-Tunnel0/0/1] eth-trunk 1
[SwitchB-Tunnel1/0/1] tunnel-protocol ipv6-ipv4 6to4
[SwitchB-Tunnel1/0/1] ipv6 enable
[SwitchB-Tunnel1/0/1] ipv6 address 2002:0201:0102::1/64
[SwitchB-Tunnel1/0/1] source vlanif 100
[SwitchB-Tunnel1/0/1] quit
# Configure a route to other 6to4 networks.
[SwitchB] ipv6 route-static 2002:: 16 tunnel 1/0/1
Step 3 Verify the configuration.
# View the IPv6 status of Tunnel 1/0/1 on Switch A, and you can find that the status is Up.
Issue 01 (2012-03-15)
CAUTION
NOTE
There must be a reachable route between SwitchA and SwitchB. In this example, the routing protocol needs
to be configured on GigabitEthernet1/0/1 of SwitchA and SwitchB to ensure a reachable route between
SwitchA and SwitchB. For the configuration procedure, see the S9300&S9300E Terabit Routing Switch
Configuration Guide - IP Routing.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
11 IPv6 over IPv4 Tunnel Configuration
208

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents