首页 > 学院 > 网络通信 > 正文

有关上网卡配置举例(1)

2019-11-04 20:39:19
字体:
来源:转载
供稿:网友

  有关上网卡配置举例(1)
  !
  version 11.2
  service timestamps debug datetime msec
  service timestamps log datetime msec
  service passWord-encryption
  no service udp-small-servers
  no service tcp-small-servers
  !
  hostname NAS
  !
  aaa new-model
  aaa authentication login console enable
  aaa authentication login vty tacacs+
  aaa authentication login dialin tacacs+
  aaa authentication ppp default tacacs+
  aaa authentication ppp dialin if-needed tacacs+
  enable secret cisco
  !
  async-bootp dns-server 10.1.3.1 10.1.3.2
  isdn switch-type PRimary-5ess
  !
  controller T1 0
  framing esf
  clock source line primary
  linecode b8zs
  pri-group timeslots 1-24
  !
  controller T1 1
  framing esf
  clock source line secondary
  linecode b8zs
  pri-group timeslots 1-24
  !
  interface Loopback0
  ip address 10.1.2.254 255.255.255.0
  !
  interface Ethernet0
  ip address 10.1.1.10 255.255.255.0
  ip summary address eigrp 10 10.1.2.0 255.255.255.0
  !
  interface Serial0
  no ip address
  shutdown
  !
  interface Serial1
  no ip address
  shutdown
  !
  interface Serial0:23
  no ip address
  encapsulation ppp
  isdn incoming-voice modem
  !
  interface Serial1:23
  no ip address
  isdn incoming-voice modem
  !
  interface Group-Async1
  ip unnumbered Loopback0
  encapsulation ppp
  async mode interactive
  peer default ip address pool dialin_pool
  no cdp enable
  ppp authentication chap pap dialin
  group-range 1 48
  !
  router eigrp 10
  network 10.0.0.0
  passive-interface Dialer0
  no auto-summary
  !
  ip local pool dialin_pool 10.1.2.1 10.1.2.50
  ip default-gateway 10.1.1.1
  ip classless
  !
  dialer-list 1 protocol ip permit
  !
  line con 0
  login authentication console
  line 1 48
  autoselect ppp
  autoselect during-login
  login authentication dialin
  modem DialIn
  line aux 0
  login authentication console
  line vty 0 4
  login authentication vty
  transport input telnet rlogin
  !
  end

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表