Huawei S6700 Series Configuration Manual page 190

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
l
l
Issue 01 (2012-03-15)
peer 4.4.4.4 connect-interface LoopBack 0
#
ipv4-family unicast
undo synchronization
peer 4.4.4.4 enable
peer 10.1.1.2 enable
peer 10.1.2.2 enable
#
ospf 1
area 0.0.0.0
network 1.1.1.1 0.0.0.0
network 10.1.1.0 0.0.0.3
network 10.1.2.0 0.0.0.3
#
return
Configuration file of Switch B
#
sysname SwitchB
#
vlan batch 10 40
#
router id 2.2.2.2
#
interface Vlanif10
ip address 10.1.1.2 255.255.255.252
#
interface Vlanif40
ip address 10.1.3.1 255.255.255.252
#
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
#
bgp 10
router-id 2.2.2.2
peer 1.1.1.1 as-number 10
peer 1.1.1.1 connect-interface LoopBack 0
peer 3.3.3.3 as-number 10
peer 3.3.3.3 connect-interface LoopBack 0
peer 4.4.4.4 as-number 10
peer 4.4.4.4 connect-interface LoopBack 0
#
ipv4-family unicast
undo synchronization
peer 10.1.1.1 enable
peer 10.1.3.2 enable
#
ospf 1
area 0.0.0.0
network 10.1.1.0 0.0.0.3
network 10.1.3.0 0.0.0.3
network 2.2.2.2 0.0.0.0
#
return
Configuration file of Switch C
#
sysname SwitchC
#
vlan batch 30 20
#
router id 3.3.3.3
interface Vlanif30
ip address 10.1.4.1 255.255.255.252
#
interface Vlanif20
ip address 10.1.2.2 255.255.255.252
#
interface LoopBack0
ip address 3.3.3.3 255.255.255.255
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 OSPF Configuration
171

Advertisement

Table of Contents
loading

Table of Contents