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

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

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

  AS5200#2
  !
  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 AS5200-2
  !
  aaa new-model
  aaa authentication login default local
  aaa authentication login console enable
  aaa authentication login vty local
  aaa authentication login dialin radius
  aaa authentication ppp default local
  aaa authentication ppp dialin if-needed radius
  aaa authorization exec local radius
  aaa authorization network radius
  aaa accounting network start-stop radius
  aaa accounting exec start-stop radius
  enable secret cisco
  !
  username admin password cisco
  username MYSTACK password STACK-SECRET
  sgbp group MYSTACK
  sgbp member AS5200-1 10.1.1.11
  sgbp member AS5200-3 10.1.1.13
  sgbp member 7200 10.1.1.14
  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.126 255.255.255.192
  !
  interface Ethernet0
  ip address 10.1.1.12 255.255.255.0
  ip summary address eigrp 10 10.1.2.64 255.255.255.192
  !
  interface Serial0
  no ip address
  shutdown
  !
  interface Serial1
  no ip address
  shutdown
  !
  interface Serial0:23
  no ip address
  encapsulation ppp
  isdn incoming-voice modem
  dialer rotary-group 0
  dialer-group 1
  no fair-queue
  no cdp enable
  !
  interface Serial1:23
  no ip address
  encapsulation ppp
  isdn incoming-voice modem
  dialer rotary-group 0
  dialer-group 1
  no fair-queue
  no cdp enable
  !
  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
  !
  interface Dialer0
  ip unnumbered Loopback0
  no ip mroute-cache
  encapsulation ppp
  peer default ip address pool dialin_pool
  dialer in-band
  dialer-group 1
  no fair-queue
  no cdp enable
  ppp authentication chap pap dialin
  ppp multilink
  !
  router eigrp 10
  network 10.0..0.0
  passive-interface Dialer0
  no auto-summary
  !
  ip local pool dialin_pool 10.1.2.65 10.1.2.114
  ip default-gateway 10.1.1.1
  ip classless
  !
  dialer-list 1 protocol ip permit
  radius-server host 10.1.1.23 auth-port 1645 acct-port 1646
  radius-server host 10.1.1.24 auth-port 1645 acct-port 1646
  radius-server key cisco
  !
  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


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