HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
Configuration Files
l
l
l
Issue 02 (2014-09-30)
Configuration file of the CSG
#
sysname CSG
#
interface GigabitEthernet1/0/0
undo shutdown
ip address 20.1.1.1 255.255.255.0
#
interface GigabitEthernet2/0/0
undo shutdown
ip address 20.1.2.1 255.255.255.0
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
ospf 1
area 0.0.0.0
network 20.1.1.0 0.0.0.255
network 20.1.2.0 0.0.0.255
#
return
Configuration file of UPE1
#
sysname UPE1
#
interface GigabitEthernet1/0/0
undo shutdown
ip address 20.1.1.2 255.255.255.0
#
interface GigabitEthernet2/0/0
undo shutdown
ip address 20.1.3.1 255.255.255.0
vrrp vrid 1 virtual-ip 20.1.3.111
vrrp vrid 1 priority 120
vrrp vrid 1 timer advertise 10
direct-route track vrrp vrid 2 degrade-cost 10203040
#
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
#
ospf 1
area 0.0.0.0
network 20.1.1.0 0.0.0.255
network 20.1.3.0 0.0.0.255
#
return
Configuration file of UPE2
#
sysname UPE2
#
interface GigabitEthernet2/0/0
undo shutdown
ip address 20.1.3.2 255.255.255.0
vrrp vrid 1 virtual-ip 20.1.3.111
#
interface GigabitEthernet1/0/0
undo shutdown
ip address 20.1.2.2 255.255.255.0
#
interface LoopBack0
ip address 3.3.3.3 255.255.255.255
#
ospf 1
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 IP Routing Basic Configuration
71