Huawei S9300 Configuration Manual page 227

Terabit routing switch
Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - IP Service
2.
Issue 01 (2012-03-15)
[PE1-GigabitEthernet1/0/0] port hybrid pvid vlan 100
[PE1-GigabitEthernet1/0/0] port hybrid untagged vlan 100
[PE1-GigabitEthernet1/0/0] quit
[PE1] interface vlanif 100
[PE1-Vlanif100] ipv6 enable
[PE1-Vlanif100] ipv6 address 3000:435::1 64
[PE1-Vlanif100] quit
[PE1] interface loopback 0
[PE1-LoopBack0] ip address 1.1.1.9 255.255.255.255
[PE1-LoopBack0] quit
# Set the IPv6 address for VLANIF 100 of PE2 and the IP address for Loopback0.
[PE2] vlan batch 100 200
[PE2] interface gigabitethernet 1/0/0
[PE2-GigabitEthernet1/0/0] port hybrid pvid vlan 100
[PE2-GigabitEthernet1/0/0] port hybrid untagged vlan 100
[PE2-GigabitEthernet1/0/0] quit
[PE2] interface vlanif 100
[PE2-Vlanif100] ipv6 enable
[PE2-Vlanif100] ipv6 address 3000:1065::1 64
[PE2-Vlanif100] quit
[PE2] interface loopback 0
[PE2-LoopBack0] ip address 2.2.2.9 255.255.255.255
[PE2-LoopBack0] quit
Configure the 6PE to enable the MPLS capability.
NOTE
The PE devices are directly connected in this example, you need to run the label advertise command
to enable the egress node to assign labels normally to the penultimate hop.
# Set the IP address for VLANIF 200 of PE1 and enable MPLS and LDP.
[PE1] mpls lsr-id 1.1.1.9
[PE1] mpls
[PE1-mpls] lsp-trigger all
[PE1-mpls] label advertise non-null
[PE1-mpls] quit
[PE1] mpls ldp
[PE1-mpls-ldp] quit
[PE1] interface gigabitethernet 2/0/0
[PE1-GigabitEthernet2/0/0] port hyrbid pvid vlan 200
[PE1-GigabitEthernet2/0/0] port hyrbid untagged vlan 200
[PE1-GigabitEthernet2/0/0] quit
[PE1] interface vlanif 200
[PE1-Vlanif200] ip address 4.3.5.1 255.255.255.0
[PE1-Vlanif200] mpls
[PE1-Vlanif200] mpls ldp
[PE1-Vlanif200] quit
# Set the IP address for VLANIF 200 of PE2 and enable MPLS and LDP.
[PE2] mpls lsr-id 2.2.2.9
[PE2] mpls
[PE2-mpls] lsp-trigger all
[PE2-mpls] label advertise non-null
[PE2-mpls] quit
[PE2] mpls ldp
[PE2-mpls-ldp] quit
[PE2] interface gigabitethernet 2/0/0
[PE2-GigabitEthernet2/0/0] port hyrbid pvid vlan 200
[PE2-GigabitEthernet2/0/0] port hyrbid untagged vlan 200
[PE2-GigabitEthernet2/0/0] quit
[PE2] interface vlanif 200
[PE2-Vlanif200] ip address 4.3.5.2 255.255.255.0
[PE2-Vlanif200] mpls
[PE2-Vlanif200] mpls ldp
[PE2-Vlanif200] quit
# Configure OSPF on PE1 and trigger the setup of the LSP.
[PE1] ospf
[PE1-ospf-1] area 0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
11 IPv6 over IPv4 Tunnel Configuration
216

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents