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

最大连接数及相关配置

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

  Step 1 Enter a test username command that can only establish one connection:
  
  Router(config)#username althea user-maxlinks 1 passWord settleback
  
  
  Step 2 Configure AAA, name authentication, and PPP encapsulation on the interfaces that will be used as described in the following configuration example.
  
  Step 3 Use the show running-config command to verify the configuration.
  
  Step 4 Connect to the router using the connection-limited username.
  
  Step 5 Attempt to open a second connection.
  
  Step 6 Observe the failed PPP authentication相关配置
  aaa new-model
  aaa authorization network default local
  enable secret saintstephen
  enable password witharose
  !
  username sTephen user-maxlinks 5 password gardenhegoes
  !
  interface Serial0/0:23
  no ip address
  encapsulation ppp
  dialer pool-member 1
  ppp authentication chap
  ppp multilink
  !
  interface Serial1/0
  ip address 2.2.2.4 255.255.255.0
  encapsulation ppp
  dialer in-band
  dialer map ip 2.2.2.13 name sTephen 12345
  dialer-group 1
  ppp authentication chap
  !
  interface Dialer0
  ip address 1.1.1.4 255.255.255.0
  encapsulation ppp
  dialer remote-name sTephen
  dialer string 23456
  dialer pool 1
  dialer-group 1
  ppp authentication chap
  ppp multilink
  !
  dialer-list 1 PRotocol ip permit

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