xxx#sh run
Building configuration...
Current configuration:
!
version 11.3
service timestamps debug uptime
service timestamps log uptime
no service passWord-encryption
!
hostname xxxxxx
!
enable secret 5 $1$ytiO$SdPBfG.qBHMK.NpMPC6vq. // enable secret 口令为xxxxx
enable password xxxxxxx
!
!
!
!
interface Ethernet0/0
ip address 10.14.145.254 255.255.255.0
!
interface Serial0/0
ip address 10.14.255.253 255.255.255.252 //二级机构的城域DDN线路
!
router ospf 10
network 10.14.145.0 0.0.0.255 area 0 // 定义ospf的工作范围
network 10.14.255.0 0.0.0.255 area 0 // 定义ospf的工作范围
!
ip classless
!
snmp-server community public RO // 定义网管用 Read-Only权限 的community 为public
snmp-server community private RW // 定义网管用 Read&Write权限的community 为private
snmp-server host 10.14.128.25 private // 定义网管机的IP地址和权限
!
line con 0
line aux 0 // 将Aux口配置成可以终端远程拨号访问方式,提供远程配置能力
password cisco // 口令为cisco
login
modem InOut
transport input all
stopbits 1
speed 38400
flowcontrol hardware
line vty 0 4
password cisco
login
!
end