H3C入门配置

发布时间:2019-07-13 11:32:19编辑:auto阅读(1827)

    1.初始化,还原出厂配置

    rest saved-configuration


    2.设置名称

    sys

    sysname S1


    3.配置管理IP网关

    int vlan1

    undo ip address

    q

    undo int vlan 1   二层交换机要取消vlan1的逻辑虚拟

    vlan 32

    int vlan 32

    ipaddress 10.26.32.224 255.255.255.0         设置交换机IP

    q

    iproute-static 0.0.0.0 0.0.0.0 10.26.32.254   设置路由


    4.配置登录用户,密码,级别。

    local-user  netadmin

    password cipher 123456@bd    密码为密文

    service-type telnet ssh 

    authentication-mode scheme 

    user-interface vty 0 4

    authentication-attribute level 3

    protocol inbound telent  --允许远程


    5.snmp设置,用于监控流量,例如用于ZABBIX监控。

    snmp-agent community read SnmpAdmin   团体号可以随意设置,这里统一设置为SnmpAdmin

    snmp-agent sys-info version all       加所有版本


关键字