【电信局华为路由器配置一例】分享给互联网从爱好者学习参考。
SAXTMNBJ-BJX-R01#sh ru
;;Now create configuration...
;;Current configuration
;;!
;;;;version 1.4.1
;;;;login con
;;;;login telnet
;;;;enable passWord >>;;×××××
;;;;user master service-type exec password 7
;;;;radius-server host 133.64.X.5
;;;;radius-server key teleteleco
;;;;aaa-enable
;;;;aaa authentication ppp default local
;;;;aaa authentication login default radius local
;;;;aaa accounting optional
;;;;snmp-server community ro ERMGPIUCKG
;;;;snmp-server community rw MEEICDNYPD
;;;;snmp-server host 133.64.X.3
;;;;hostname SAXTMNBJ-BJX-R01
;;!
;;controller e1 0
;;;;using E1
;;!
;;controller e1 1
;;;;using E1
;;!
;;interface Ethernet0
;;;;speed auto
;;;;duplex auto
;;;;no loopback
;;;;ip address 133.81.x.1 255.255.255.240
;;;;ip address 133.82.x.146 255.255.255.240 secondary
;;;;ip address 133.81.x.225 255.255.255.240 secondary
;;;;ip address 133.81.x.33 255.255.255.240 secondary
;;;;ip address 133.81.x.129 255.255.255.240 secondary
;;;;ip ospf enable area 0.0.82.0
;;;;ip ospf authentication md5;;vehaedts;;1
;;!
;;interface Serial0:0
;;;;encapsulation ppp
;;;;description -- E1 to Baoji NMCenter --
;;;;ip address 133.82.x.41 255.255.255.252
;;;;ip ospf enable area 0.0.82.0
;;;;ip ospf authentication md5;;vehaedts;;1
;;!
;;interface Serial1:0
;;;;encapsulation ppp
;;;;description -- E1 to Baojixian Laoju --
;;;;ip address 133.82.x.41 255.255.255.252
;;;;ip ospf enable area 0.0.82.0
;;;;ip ospf authentication md5;;vehaedts;;1
;;!
;;exit
;;router ospf enable
;;;;redistribute ospfase connected;;type;;;2;;metric;;;1;;tag;;;1
;;!
;;end