Huawei quidway s7700 Configuration Manual page 60

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
<Quidway> system-view
[Quidway] sysname P
[P] vlan batch 5 6 7
[P]interface gigabitethernet 1/0/1
[P-GigabitEthernet1/0/1] port hybrid pvid vlan 7
[P-GigabitEthernet1/0/1] port hybrid tagged vlan 7
[P-GigabitEthernet1/0/1] quit
[P]interface gigabitethernet 1/0/2
[P-GigabitEthernet1/0/2] port hybrid pvid vlan 5
[P-GigabitEthernet1/0/2] port hybrid tagged vlan 5
[P-GigabitEthernet1/0/2] quit
[P]interface gigabitethernet 1/0/3
[P-GigabitEthernet1/0/3] port hybrid pvid vlan 6
[P-GigabitEthernet1/0/3] port hybrid tagged vlan 6
[P-GigabitEthernet1/0/3] quit
[P] interface vlanif 7
[P-Vlanif7] ip address 100.1.1.1 24
[P-Vlanif7] quit
[P] interface vlanif 5
[P-Vlanif5] ip address 100.2.1.1 24
[P-Vlanif5] quit
[P] interface vlanif 6
[P-Vlanif6] ip address 100.3.1.1 24
[P-Vlanif6] quit
[P]isis 1
[P-isis-1] network-entity 10.0000.0000.0000.0002.00
[P-isis-1] is-level level-2
[P-isis-1] quit
[P] interface vlanif 5
[P-Vlanif5] isis enable 1
[P-Vlanif5] quit
[P] interface vlanif 6
[P-Vlanif6] isis enable 1
[P-Vlanif6] quit
[P] interface vlanif 7
[P-Vlanif7] isis enable 1
[P-Vlanif7] quit
[P] interface loopback 1
[P-LoopBack1] ip address 1.1.1.9 32
[P-LoopBack1] isis enable 1
[P-LoopBack1]
# Run the display ip routing-table command in any view of the PEs, and you can see that the
PEs can learn the loopback address of each other.
# Take the display on PE1 as an example:
[PE1] display ip routing-table
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
127.255.255.255/32
255.255.255.255/32
Issue 01 (2011-07-15)
quit
Destinations : 14
Proto
1.1.1.9/32
Direct 0
2.2.2.9/32 ISIS
3.3.3.9/32 ISIS
4.4.4.9/32 ISIS
100.1.1.0/24
Direct 0
100.1.1.1/32
Direct 0
100.1.1.2/32
Direct 0
100.1.1.255/32
Direct 0
100.2.1.0/24
ISIS
100.3.1.0/24
ISIS
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
Direct 0
Direct 0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 14
Pre
Cost
Flags NextHop
0
D
15
20
D
15
20
D
15
10
D
0
D
0
D
0
D
0
D
15
20
D
15
20
D
0
D
0
D
0
D
0
D
1 VPN Tunnel Management Configuration
Interface
127.0.0.1
InLoopBack0
100.1.1.2
Vlanif7
100.1.1.2
Vlanif7
100.1.1.2
Vlanif7
100.1.1.1
Vlanif7
127.0.0.1
InLoopBack0
100.1.1.2
Vlanif7
127.0.0.1
InLoopBack0
100.1.1.2
Vlanif7
100.1.1.2
Vlanif7
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
45

Advertisement

Table of Contents
loading

Table of Contents