Huawei quidway s7700 Configuration Manual page 262

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
Data Preparation
To complete the configuration, you need the following data:
l
l
l
l
Procedure
Step 1 Configure OSPF on the user network.
Configure common OSPF on CE1, Switch and CE2 and advertise the segment address of each
interface.
# Configure CE1.
<Quidway> system-view
[Quidway] sysname CE1
[CE1] vlan batch 20 50
[CE1] interface gigabitethernet 2/0/0
[CE1-GigabitEthernet2/0/0] port hybrid pvid vlan 20
[CE1-GigabitEthernet2/0/0] port hybrid untagged vlan 20
[CE1-GigabitEthernet2/0/0] quit
[CE1] interface gigabitethernet 1/0/0
[CE1-GigabitEthernet1/0/0] port hybrid pvid vlan 50
[CE1-GigabitEthernet1/0/0] port hybrid untagged vlan 50
[CE1-GigabitEthernet1/0/0] quit
[CE1] interface vlanif 20
[CE1-Vlanif20] ip address 20.1.1.1 24
[CE1-Vlanif20] quit
[CE1] interface vlanif 50
[CE1-Vlanif50] ip address 100.1.1.1 24
[CE1-Vlanif50] quit
[CE1] ospf
[CE1-ospf-1] area 0
[CE1-ospf-1-area-0.0.0.0] network 20.1.1.0 0.0.0.255
[CE1-ospf-1-area-0.0.0.0] network 100.1.1.0 0.0.0.255
[CE1-ospf-1-area-0.0.0.0] quit
[CE1-ospf-1] quit
# Configure Switch.
<Quidway> system-view
[Quidway] sysname Switch
[Switch] vlan 20 30
[Switch] interface gigabitethernet 1/0/0
[Switch-GigabitEthernet1/0/0] port hybrid pvid vlan 20
[Switch-GigabitEthernet1/0/0] port hybrid untagged vlan 20
[Switch-GigabitEthernet1/0/0] quit
[Switch] interface gigabitethernet 2/0/0
[Switch-GigabitEthernet2/0/0] port hybrid pvid vlan 30
[Switch-GigabitEthernet2/0/0] port hybrid untagged vlan 30
[Switch-GigabitEthernet2/0/0] quit
[Switch] interface vlanif 20
[Switch-Vlanif20] ip address 20.1.1.2 24
[Switch-Vlanif20] quit
[Switch] interface vlanif 30
[Switch-Vlanif30] ip address 30.1.1.1 24
[Switch-Vlanif30] quit
[Switch] ospf
Issue 01 (2011-07-15)
MPLS LSR-IDs of PE and P
Name of the VPN instance, RD, and VPN target on the PE
OSPF processes running on the interior of the backbone network and user networks, which
are different from that running on the PEs connected to CEs
Cost of the sham link, which must be less than the cost for forwarding OSPF routes through
the user network
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 BGP MPLS IP VPN Configuration
247

Advertisement

Table of Contents
loading

Table of Contents