zoukankan      html  css  js  c++  java
  • H3C初始化基础配置(不含网络路由配置)

    设备命名

    system-view
    sysname TEST

    配置管理地址

    interface LoopBack1
     description For-Management
     ip address 1.1.1.1 255.255.255.255

    NTP和时区设置

     clock timezone GMT add 08:00:00
     clock protocol ntp mdc 1

     ntp服务配置:
     ntp-service enable
     ntp-service source LoopBack1
     ntp-service unicast-server 2.2.2.2 priority

    配置SysLog-ng日志,及syslog服务器

     info-center loghost source LoopBack1
     info-center loghost 3.3.3.3
     info-center source default logbuffer level warning

    配置上联互联地址

    reserve-vlan-interface 3000 to 3500  配置预留VLAN(端口要从交换口转路由口必须先设置这项)
    interface HundredGigE 2/0/1
     port link-mode route
     description uT:******
     ip address 192.168.1.1 255.255.255.252

    interface HundredGigE 3/0/1
     port link-mode route
     description uT:******
     ip address 192.168.2.1 255.255.255.252

    配置Telnet Snmp ACL

    acl number 2577
     description This acl is used telnet
     rule 10 permit source 10.1.1.1 0  
     rule 3000 deny

    acl number 2578
     description This acl is used SNMP
     rule 10 permit source 10.1.1.1 0  
     rule 3000 deny     

                 
     SNMP代理设置:
     snmp-agent
     snmp-agent community read snmptest acl 2578
     snmp-agent sys-info version all
     snmp-agent target-host trap address udp-domain 3.3.3.3 params securityname snmptest v2c
     snmp-agent trap enable arp
     snmp-agent trap enable radius
     snmp-agent trap source LoopBack1 

     配置Telnet远程

     undo ip http enable  关闭WEB管理

     telnet server enable
     telnet server acl 2577


     local-user test class manage   配置test用户密码设置为:123456
     password hash 123456
     service-type telnet ssh
     authorization-attribute user-role level-15
     authorization-attribute user-role network-operator

    本文来自博客园,作者:袁与张,转载请注明原文链接:https://www.cnblogs.com/ytyzhn/p/13175731.html

  • 相关阅读:
    关于iTunes11.1 不能刷自制固件的解决方案
    关于网上流传的四个原版Windows XP_SP2全面了解
    什么是S-OFF,什么是S-ON,HBOOT命令,玩转Android
    用UltraISO制作的u盘ubuntu11.04,启动失败解决方案
    关于个人防火墙的真相
    AVAST 4.8
    忆旧:关于“天网防火墙”的破解
    McAfee VirusScan Enterprise
    记录日志框架:log4net使用
    C#网络编程二:Socket编程
  • 原文地址:https://www.cnblogs.com/ytyzhn/p/13175731.html
Copyright © 2011-2022 走看看