Huawei S9300 Configuration Manual page 243

Terabit routing switch
Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - IP Service
3.
4.
5.
Issue 01 (2012-03-15)
[SwitchE-GigabitEthernet1/0/0] quit
[SwitchE] interface vlanif 200
[SwitchE-Vlanif200] ip address 10.1.3.2 30
[SwitchE-Vlanif200] quit
[SwitchE] ospf 1
[SwitchE-ospf-1] area 0
[SwitchE-ospf-1-area-0.0.0.0] network 10.1.3.0 0.0.0.3
[SwitchE-ospf-1-area-0.0.0.0] quit
[SwitchE-ospf-1] quit
Configure tunnel interfaces.
# Create a tunnel interface, set the IPv4 address, source IPv6 address (or source interface),
destination IPv6 interface for the tunnel interface.
# Configure Switch B.
[SwitchB] interface tunnel 2/0/0
[SwitchB-Tunnel2/0/0] tunnel-protocol ipv4-ipv6
[SwitchB-Tunnel2/0/0] ip address 10.1.1.1 30
[SwitchB-Tunnel2/0/0] source vlanif 200
[SwitchB-Tunnel2/0/0] destination 2002::2
[SwitchB-Tunnel2/0/0] quit
# Configure Switch D.
[SwitchD] interface tunnel 1/0/0
[SwitchD-Tunnel1/0/0] tunnel-protocol ipv4-ipv6
[SwitchD-Tunnel1/0/0] ip address 10.1.1.2 30
[SwitchD-Tunnel1/0/0] source vlanif 100
[SwitchD-Tunnel1/0/0] destination 2001::1
[SwitchD-Tunnel1/0/0] quit
Configure static routes.
# Configure a static route between Switch A and Switch E.
# Configure Switch A.
[SwitchA] ip route-static 10.1.3.2 255.255.255.252 vlanif 100 10.1.2.1
Configure Switch E.
[SwitchE] ip route-static 10.1.2.2 255.255.255.252 vlanif 200 10.1.3.1
# Configure a static route through the tunnel.
# Configure Switch B.
[SwitchB] ip route-static 10.1.1.2 255.255.255.252 tunnel 1/0/0
# Configure Switch D.
[SwitchD] ip route-static 10.1.2.2 255.255.255.252 10.1.1.2
Verify the configuration.
After the preceding configurations are complete, view the tunnel interface on Switch B and
Switch D. You can find that the protocol status of the tunnel interface is Up.
[SwitchB] display interface tunnel 2/0/0
Tunnel2/0/0 current state : UP
Line protocol current state : UP
Description : HUAWEI, Quidway Series, Tunnel2/0/0 Interface, Route Port
Route Port,The Maximum Transmit Unit is 1500
Internet Address is 10.1.1.1/30
Encapsulation is TUNNEL6, loopback not set
Tunnel protocol/transport (IPv6 or IPV4) over IPv6
Tunnel Source 2001::1 (Vlanif200)
Tunnel Destination 2002::2
Tunnel Encapsulation limit 4
Tunnel Traffic class not set
Tunnel Flow label not set
QoS max-bandwidth : 64 Kbps
Output queue : (Urgent queue : Size/Length/Discards)
Output queue : (Protocol queue : Size/Length/Discards) 0/1000/0
Output queue : (FIFO queue : Size/Length/Discards)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
12 IPv4 over IPv6 Tunnel Configuration
0/50/0
0/256/0
232

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents