设为首页 收藏本站
查看: 1617|回复: 0

[经验分享] 华为AC-适合无线网络工程师

[复制链接]

尚未签到

发表于 2018-7-25 08:25:45 | 显示全部楼层 |阅读模式
  <AC6605>system-view
  [AC6605] user-interface console 0
  [AC6605-ui-console0] user privilege level 15
  配置Console用户界面的用户验证方式为密码验证
  [AC6605-ui-console0] authentication-mode password
  [AC6605-ui-console0] set authentication password cipher
  Info: A plain text password is a string of 8 to 128 case-sensitive
  characters and must be a combination of at least two of the follow
  ing: uppercase letters A to Z, lowercase letters a to z, digits, and
  special characters (including spaces and the following :`~!@#$%
  ^&*()-_=+|[{}];:'&quot;,<.>/?). A cipher text password contains 56 or 68
  characters.
  Current Password: int
  New Password:
  Confirm New Password:
  [AC6605-ui-console0] quit
  [AC6605]quit
  clock timezone BJ add 12:00:00
  <AC6605> clock datetime 12:10:0 2017-07-26# 设置设备名称和管理IP地址
  。本例将设备接口GE0/0/1加入VLAN 1,使用VLANIF 1作为设备的管理网口,这
  里用vlan10。
  说明:
  AC6605可以直接使用MEth接口作为设备的管理网口。
  <AC6605> system-view
  [AC6605] sysname AC
  [AC] vlan 10us
  [AC-vlan1] quit
  [AC] interface gigabitethernet 0/0/1
  [AC-GigabitEthernet0/0/1] port link-type trunk
  [AC-GigabitEthernet0/0/1] port trunk allow-pass vlan 10
  [AC-GigabitEthernet0/0/1] port trunk pvid vlan 10
  [AC-GigabitEthernet0/0/1] quit
  [AC] interface vlanif 10
  [AC-Vlanif1] ip address 192.168.0.1 255.255.255.0
  [AC-Vlanif1] quit# 设置Telnet用户的级别和认证方式
  [AC] telnet server enable
  [AC] user-interface vty 0 4
  [AC-ui-vty0-4] user privilege level 15
  [AC-ui-vty0-4] authentication-mode aaa
  [AC-ui-vty0-4] quit
  [AC] aaa
  [AC-aaa] local-user huawei password irreversible-cipher admin@huawei
  [AC-aaa] local-user huawei privilege level 15
  [AC-aaa] local-user huawei service-type telnet
  [AC-aaa] quit
  [AC] acl 2000
  [AC-acl-basic-2000] rule deny source 10.1.1.1 0
  [AC-acl-basic-2000] rule permit source any
  [AC-acl-basic-2000] quit
  [AC] user-interface vty 0 7
  [AC-ui-vty0-7] acl 2000 inbound
  配置VTY用户界面的终端属性
  [AC-ui-vty0-7] shell

  [AC-ui-vty0-7]>  [AC-ui-vty0-7] screen-length 30
  [AC-ui-vty0-7] history-command max-size 20
  配置VTY用户界面的用户优先级
  [AC-ui-vty0-7] user privilege level 2
  配置VTY用户界面的用户验证方式为密码验证
  [AC-ui-vty0-7] authentication-mode password
  [AC-ui-vty0-7] set authentication password cipher
  Info: A plain text password is a string of 8 to 128 case-sensitive
  characters and must be a combination of at least two of the follow
  ing: uppercase letters A to Z, lowercase letters a to z, digits, and
  special characters (including spaces and the following :`~!@#$%
  ^&*()-_=+|[{}];:'&quot;,<.>/?). A cipher text password contains 56 or 68
  characters.
  Current Password:
  New Password:
  Confirm New Password:
  [AC-ui-vty0-7] quit
  配置自协商速率
  [AC] interface gigabitethernet 0/0/1
  [AC-GigabitEthernet0/0/1] negotiation auto
  [AC-GigabitEthernet0/0/1] quit# 配置GE0/0/2的自协商。
  [AC] interface gigabitethernet 0/0/2
  [AC-GigabitEthernet0/0/2] negotiation auto
  [AC-GigabitEthernet0/0/2] quit# 配置GE0/0/3的自协商。
  [AC] interface gigabitethernet 0/0/3
  [AC-GigabitEthernet0/0/3] negotiation auto
  [AC-GigabitEthernet0/0/3] quit
  配置自协商速率
配置GE0/0/1的自协商速率为10Mbit/s。
  [AC] interface gigabitethernet 0/0/1
  [AC-GigabitEthernet0/0/1] auto speed 10
  [AC-GigabitEthernet0/0/1] q15uit# 配置GE0/0/2的自协商速率为10Mbit/s
  。
  [AC] interface gigabitethernet 0/0/2
  [AC-GigabitEthernet0/0/2] auto speed 10
  [AC-GigabitEthernet0/0/2] quit# 配置GE0/0/3的自协商速率为10Mbit/s。
  [AC] interface gigabitethernet 0/0/3
  [AC-GigabitEthernet0/0/3] auto speed 10
  [AC-GigabitEthernet0/0/3] quit
  配置端口隔离功能————需要隔离个别接口,可以使用此功能
  interface gigabitethernet 0/0/4
  [AC-GigabitEthernet0/0/4] port-isolate enable
  [AC-GigabitEthernet0/0/4] quit
  [AC] interface gigabitethernet 0/0/5
  [AC-GigabitEthernet0/0/5] port-isolate enable
  [AC-GigabitEthernet0/0/5] quit
  注意:保持两边的协商模式一致,要么都工作在自协商模式下,要么都工作在
  非自协商模式下。display interface显示信息是“ENABLE”表示接口工作在
  自协商状态下;显示信息是“DISABLE”表示接口工作在非自协商状态下。
  创建AP组——6005默认ap组名default,用dis ap all查看
  所有AP组缺省已引用了名为default的AP系统模板、2G射频模板、5G射频模板
  、域管理模板、WIDS模板和AP有线口模板。
  [AC]ip pool toy
  Info: It's successful to create an IP address pool.
  注意:如果使用独立的DHCP服务器为AP分配IP地址,必须配置option 43字段
  ,否则AP无法发现AC,最终AP无法在AC上线,具体配置方法参见对应设备的配
  置手册。
  [AC]ip pool toy
  [AC-ip-pool-toy]gateway-list 192.168.0.1
  [AC-ip-pool-toy]network 192.168.0.1 mask 24
  [AC-ip-pool-toy]dns-list 192.168.0.20
  [AC-ip-pool-toy]domain-name huawei
  直接连接AP的网络设备端口,必须配置PVID为管理VLAN。
  配置完了,我们看一下配置:
  查看当前配置:
  [toys]dis current-configuration
  #
  sysname toys
  #
  snmp-agent local-engineid 800007DB03000000000000
  undo snmp-agent community complexity-check disable
  snmp-agent
  #
  http timeout 3
  #
  vlan batch 100 102
  #

  wlan ac-global carrier>  #
  dhcp enable
  #
  diffserv domain default
  #
  pki realm default
  enrollment self-signed
  #
  aaa
  authentication-scheme default
  authorization-scheme default
  accounting-scheme default
  domain default
  domain default_admin
  local-user admin password cipher %@%@bo]Dnyrm1\x`qC3g=d;3Uw}%@%@
  local-user admin service-type http
  local-user huawei password cipher %@%@>eN0<<tjh:VqKG1uK,05,Um%@%@
  local-user huawei service-type telnet
  #
  interface Vlanif100
  ip address 192.168.10.10 255.255.255.0
  #
  interface Vlanif102
  ip address 192.168.1.1 255.255.255.0
  dhcp select interface
  #
  interface GigabitEthernet0/0/1
  port link-type trunk
  port trunk pvid vlan 102
  port trunk allow-pass vlan 102
  port-isolate enable group 1
  #
  interface GigabitEthernet0/0/2
  port link-type trunk
  port trunk pvid vlan 102
  port trunk allow-pass vlan 102
  port-isolate enable group 1
  #
  interface GigabitEthernet0/0/3
  #
  interface GigabitEthernet0/0/4
  #
  interface GigabitEthernet0/0/5
  #
  interface GigabitEthernet0/0/6
  #
  interface GigabitEthernet0/0/7
  #
  interface GigabitEthernet0/0/8
  #
  interface Wlan-Ess0
  port hybrid pvid vlan 102
  port hybrid untagged vlan 102
  #
  interface NULL0
  #
  user-interface con 0
  authentication-mode password
  set authentication password cipher %@%@Ox-rTh0|e>--yD91Sk8G,.7}

  [$sY6{w>W,O+1aXgj%5D8Q.7#,%@%@

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-541023-1-1.html 上篇帖子: 如何实现私有地址访问外网(华为) 下篇帖子: 华为S5700-EI交换机console密码忘记处理
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表