华为USG防火墙配置命令

  • 前言
  • 华为USG防火墙配置命令
  • 常用命令
  • 查看license信息及esn码
  • 查看接口IP信息
  • 设置接口IP地址
  • 设置vlan1管理地址,并允许ssh及https访问
  • 设置静态默认路由
  • 设置旗标和登录成功后提示
  • 设置时区及日期
  • 设置console口密码及超时时间
  • 设置console口使用用户名密码登录(usg2000)
  • 创建AAA用户管理console口,ssh,web
  • web登录配置管理
    • 1. 配置USG的IP地址(略)
    • 2. 配置UGS接口Web设备管理
    • 3. 启动web管理功能
  • telnet登录配置管理
    • 1. 开启telnet服务
    • 2. 配置USG接口telnet设备管理
    • 3. 配置vty 并设置密码登录(或者参照下一条使用用户密码登录)
    • 4. 配置vty并设置用户名密码登录即AAA认证
  • 通过SSH方式登录管理
    • 1. 启用Stelnet服务
    • 2. 配置防火墙管理接口允许SSH管理
    • 3. 配置RSA本地密钥对
    • 4. 配置vty线路
    • 5. 配置ssh登录用户名密码
  • 文件管理
  • 将flash中的文件备份到TFTP和FTP
  • 设置系统启动使用的文件及配置文件
  • 将防火墙设置为ftp服务器
  • 安全区域设置并将接口划入该区域
  • 配置安全策略
    • 配置安全策略示例
    • 使用地址组,服务组,时间组的方式配置安全策略
  • 查看路由及设置默认路由
  • 设置接口为交换口
  • 查看防火墙会话表
  • 将ASPF检测FTP流量的端口改为其他端口
  • 番外:SSH方式连接华为USG2000防火墙报错
  • 华为USG防火墙重置密码
  • 总结

前言

其实防火墙配置,只需要配置到能使用web方式管理,剩下的都在网页上配置即可,有人喜欢用命令配置,但我说下用命令配置的弊端,首先是安全策略的备注不好写,还有就是策略的顺序不方便调整,需要提前规划好,还有就是容易出错,真的完全没有必要,你又不是配置交换机,防火墙用网页配置,又方便又不容易出错。需要注意的一点,华为的USG防火墙型号不同,在用命令创建用户的命令会有些出入,不过都是大同小异。再啰嗦一下,防火墙的安全策略是讲究顺序的,从上到下依次执行,在这点上和windows系统自带的防火墙是不同的,windows防火墙不讲究什么顺序,是按照最佳匹配原则。

华为USG防火墙配置命令

常用命令

<SRG>     //用户视图,用户视图只能使用查看命令
<SRG>?        //查看用户视图下的所有命令
<SRG>display version      //查看VRP系统版本
<SRG>system-view      //进入系统视图
[SRG]sysname R1         //修改设备名称为R1
[R1]display clock       //查看系统时间
[R1]quit        //返回上一级
<SRG>save       //保存配置
<SRG>display saved-configuration     //查看保存的配置
<SRG>display current-configuration        //查看当前运行的配置
<SRG>reboot       //重启设备
<USG6000>reset saved-configuration    //恢复出厂配置

查看license信息及esn码

[USG6000]display license //查看license信息
[USG6000]display esn    //查看esn码

查看接口IP信息

[USG6000]display ip interface brief    //查看接口IP简要信息
[USG6000]display current-configuration interface GigabitEthernet 1/0/0  //查看该接口的运行信息

设置接口IP地址

[SRG]interface GigabitEthernet 0/0/0     //进入接口模式
[SRG-GigabitEthernet0/0/0]ip address 10.10.10.11 24         //24为子网掩码
[SRG-GigabitEthernet0/0/0]shutdown         //禁用接口
[SRG-GigabitEthernet0/0/0]undo shutdown     //启用接口
[SRG-GigabitEthernet0/0/0]display this      //查看该接口信息

设置vlan1管理地址,并允许ssh及https访问

[USG6000]interface Vlanif 1
[USG6000-Vlanif1]ip address 192.168.80.100 24
[USG6000-Vlanif1]service-manage ssh permit
[USG6000-Vlanif1]service-manage https permit
[USG6000-Vlanif1]service-manage ping permit        //注意这种方式会导致策略不生效
[USG6000-Vlanif1]undo service-manage enable        //必须关闭服务管理,策略才生效

设置静态默认路由

[USG6000]ip route-static 0.0.0.0 0.0.0.0 192.168.80.1

设置旗标和登录成功后提示

[SRG]header login information "zhuhai huanao zaixianjianceshi usg2000"
[SRG]header shell information "Wecome to Huawei USG2000"

设置时区及日期

<R1>clock timezone beijin add 08:00        //设置时区为北京东八区
<R1>clock datetime 11:20:10 2021/02/03        //11点20分10秒,2021年02月03日

设置console口密码及超时时间

[SRG]user-interface console 0        //进入console口配置模式
[SRG-ui-console0]authentication-mode password cipher huawei@123    //设置密码为huawei@123
[SRG-ui-console0]idle-timeout 20        //设置超时时间为20分钟

设置console口使用用户名密码登录(usg2000)

[SRG]user-interface console 0
[SRG-ui-console0]authentication-mode aaa    //认证模式为AAA
[SRG]aaa        //进入AAA配置模式
[SRG-aaa]local-user chb password cipher huawei@123     //创建chb用户名,密码为huawei@123
[SRG-aaa]local-user chb service-type terminal       //指定chb用户的类型为console口用
[SRG-aaa]local-user chb level 15        //指定chb用户的权限等级为15(15表示最高权限)
[SRG-aaa]display local-user     //查看本地用户

创建AAA用户管理console口,ssh,web

[USG6000]aaa //进入AAA配置模式
[USG6000-aaa]manager-user chbadmin      //创建用户chbadmin
[USG6000-aaa-manager-user-chbadmin]password cipher huawei@123    //设置密码为huawei@123
[USG6000-aaa-manager-user-chbadmin]service-type terminal ssh web    //指定为console,ssh,web用
[USG6000-aaa-manager-user-chbadmin]level 15     //设置级别为15,数值越大权限越高,15是最高权限

web登录配置管理

1. 配置USG的IP地址(略)

2. 配置UGS接口Web设备管理

[SRG-GigabitEthernet0/0/0]service-manage enable        //默认已开启
[SRG-GigabitEthernet0/0/0]service-manage https permit     //允许https,也可以设置允许Ping

3. 启动web管理功能

[SRG]web-manager enable
[SRG]web-manager security enable port 8443
[SRG]web-manager timeout 60    //设置超时时间为60分钟

telnet登录配置管理

1. 开启telnet服务

[SRG]telnet server enable

2. 配置USG接口telnet设备管理

[SRG-GigabitEthernet0/0/0]service-manage enable
[SRG-GigabitEthernet0/0/0]service-manage telnet permit    //设置接口允许telnet
[SRG-GigabitEthernet0/0/0]service-manage ping permit      //设置接口允许ping

3. 配置vty 并设置密码登录(或者参照下一条使用用户密码登录)

[SRG]user-interface vty 0 4       //进入vty配置模式
[SRG-ui-vty0-4]protocol inbound telnet    //配置vty允许telnet
[SRG-ui-vty0-4]authentication-mode password cipher huawei@123   //设置认证模式为密码
[SRG-ui-vty0-4]user privilege level 3   //设置权限级别为3

4. 配置vty并设置用户名密码登录即AAA认证

[USG6000]user-interface vty 0 4
[USG6000-ui-vty0-4]protocol inbound telnet
[USG6000-ui-vty0-4]authentication-mode aaa     //设置认证模式为AAA
[USG6000-ui-vty0-4]idle-timeout 60      //设置超时时间60分钟[USG6000]aaa          //进入AAA配置
[USG6000-aaa]manager-user telchb     //创建用户telchb
[USG6000-aaa-manager-user-telchb]password cipher huawei@123    //设置密码为huawei@123
[USG6000-aaa-manager-user-telchb]service-type telnet         //设置服务类型为telnet
[USG6000-aaa-manager-user-telchb]level 3       //设置级别为3

通过SSH方式登录管理

1. 启用Stelnet服务

[SRG]stelnet server enable

2. 配置防火墙管理接口允许SSH管理

[SRG-GigabitEthernet0/0/0]service-manage enable
[SRG-GigabitEthernet0/0/0]service-manage ssh permit

3. 配置RSA本地密钥对

[SRG]rsa local-key-pair create

4. 配置vty线路

[SRG]user-interface vty 0 4
[SRG-ui-vty0-4]authentication-mode aaa
[SRG-ui-vty0-4]protocol inbound ssh   //允许ssh
[SRG-ui-vty0-4]idle-timeout 60    //设置超时时间为60分钟

5. 配置ssh登录用户名密码

[SRG]ssh user chbssh
[SRG]ssh user chbssh authentication-type password
[SRG]ssh user chbssh service-type stelnet [SRG]aaa
[SRG-aaa]local-user chbssh password cipher huawei@123
[SRG-aaa]local-user chbssh service-type ssh[SRG-aaa]local-user chbssh level 3

文件管理

<SRG>dir       //查看当前目录文件
<SRG>copy private-data.txt 123.txt        //复制private-data.txt到当前目录并改名为123.txt
<SRG>move 123.txt 111.txt             //移动123.txt到当前目录并改名为111.txt
<SRG>delete 111.txt       //删除111.txt,并非彻底删除可以恢复
<SRG>dir /all         //查看当前目录所有文件
<SRG>undelete 111.txt         //恢复刚才删除的文件111.txt
<SRG>delete /unreserved 111.txt           //彻底删除111.txt
<SRG>mkdir flash:/backup          //在根目录下创建文件夹backup
<SRG>cd backup        //切换目录到backup文件夹中
<SRG>pwd      //查看当前路径
<SRG>cd /         //切换到根目录
<SRG>copy private-data.txt flash:/backup/private-data-bak.txt //复制文件到指定路径
<SRG>move private-data.txt flash:/private-data.txt        //移动文件到指定路径

将flash中的文件备份到TFTP和FTP

#将flash中的vrpcfg.zip上传到tftp服务器
<R1>tftp 192.168.10.11 put flash:/vrpcfg.zip      #将tftp服务器的vrpcfg2.zip下载到flash中
<R1>tftp 192.168.10.11 get vrpcfg2.zip flash:/vrpcfg2.zip     <R1>ftp 192.168.10.11 21      //登录ftp服务器端口号21
输入用户名
输入密码
[R1-ftp]get 111.txt 111.txt         //下载ftp中的111.txt到flash中
[R1-ftp]put vrpcfg.zip vrpcfg-bak.zip       //上传flash中的vrpcfg.zip到ftp中

设置系统启动使用的文件及配置文件

<SRG>display startup           //查看系统启动使用的系统文件和配置文件
<SRG>startup system-software filename1.zip        //设置系统启动文件
<SRG>startup saved-configuration vrpcfg2.zip      //指定保存配置的文件

将防火墙设置为ftp服务器

需设置防火墙规则允许(略)

[USG6000]ftp server enable   //开启ftp服务[USG6000]aaa
[USG6000-aaa]manager-user ftpchb
[USG6000-aaa-manager-user-ftpchb]password cipher huawei@123
[USG6000-aaa-manager-user-ftpchb]service-type ftp      //指定服务类型为ftp
[USG6000-aaa-manager-user-ftpchb]ftp-directory hda1:     //指定ftp的根目录为hda1
[USG6000-aaa-manager-user-ftpchb]level 3[USG6000]undo ftp server    //关闭ftp服务

安全区域设置并将接口划入该区域

[USG6000]firewall zone untrust     //进入untrust区域配置
[USG6000-zone-untrust]add interface GigabitEthernet 1/0/0   //将该接口加入到该区域
[USG6000-zone-untrust]display this    //查看该区域的配置信息[USG6000]firewall zone trust
[USG6000-zone-trust]add interface Vlanif 1     //将vlan1接口划入该区域[USG6000]firewall zone name Inbound     //创建区域Inbound ,并进入该区域配置
[USG6000-zone-Inbound]set priority 90    //设置优先级为90,数值越大信任级别越高
[USG6000-zone-Inbound]add interface GigabitEthernet 1/0/5    //将该接口加入到该区域[USG6000]display zone   //查看区域信息

配置安全策略

[USG6000]security-policy //进入安全策略配置
[USG6000-policy-security]default action deny    //设置默认策略为禁止
[USG6000-policy-security]rule name SUL02    //新建一条规则名称是SUL02
[USG6000-policy-security-rule-SUL02]source-zone untrust     //源区域是untrust
[USG6000-policy-security-rule-SUL02]destination-zone local  //目标区域是local
[USG6000-policy-security-rule-SUL02]action permit       //动作是允许[USG6000]display security-policy rule all    //查看所有安全策略条目名称[USG6000]display security-policy rule name SUL02  //查看SUL02这条安全策略[USG6000]interface GigabitEthernet 1/0/1     //进入该接口模式
[USG6000-GigabitEthernet1/0/0]undo service-manage enable    //关闭服务管理,才能使安全策略生效

配置安全策略示例

[USG6000]security-policy
[USG6000-policy-security]rule name UT02    //新建一个规则名称叫UT02
[USG6000-policy-security-rule-UT02]source-address 192.168.10.12 32
[USG6000-policy-security-rule-UT02]source-address 192.168.11.0 0.0.0.255   //使用反掩码表示地址范围,即192.168.11.0/24这个网段
[USG6000-policy-security-rule-UT02]source-address range 192.168.12.1 192.168.12.50     //指定地址范围在192.168.12.1~192.168.12.50
[USG6000-policy-security-rule-UT02]destination-address any     //目标地址是any,表示所有地址
[USG6000-policy-security-rule-UT02]user any    //用户是所有用户,这条命令是默认的,可以省略
[USG6000-policy-security-rule-UT02]service protocol  tcp destination-port 22    //指定目标端口是TCP的22号端口
[USG6000-policy-security-rule-UT02]service protocol udp destination-port 888    //指定目标端口是UDP的888端口
[USG6000-policy-security-rule-UT02]service protocol  icmp    //允许ping
[USG6000-policy-security-rule-UT02]service protocol icmp icmp-type echo-reply   //上一条命令包含这条命令,这个表示只允许icmp的回显包[USG6000-policy-security]undo rule name UT02    //删除UT02这条规则
[USG6000-policy-security]display this     //查看规则内容

使用地址组,服务组,时间组的方式配置安全策略

  1. 创建相应的地址组
[USG6000]ip address-set A01 type object    //创建对象A01
[USG6000-object-address-set-A01]address 192.168.11.0 0.0.0.255    //添加地址范围,注意是反掩码写法
[USG6000-object-address-set-A01]address 192.168.12.0 0.0.0.255[USG6000]ip address-set A02 type object      //创建对象A02
[USG6000-object-address-set-A02]address 192.168.20.0 0.0.0.255
[USG6000-object-address-set-A02]address 192.168.21.0 0.0.0.255[USG6000]ip address-set A type group     //创建组A
[USG6000-group-address-set-A]address address-set A01   //添加对象A01
[USG6000-group-address-set-A]address address-set A02
[USG6000-group-address-set-A]address 192.168.3.0 0.0.0.255    //也可以在组里面,直接添加地址范围[USG6000]display ip address-set all     //查看地址组
[USG6000]display ip address-set verbose A01 item    //查看地址组A01详细
[USG6000]display ip address-set verbose A item
  1. 创建相应的服务组
[USG6000]ip service-set S01 type object     //创建服务对象S01
[USG6000-object-service-set-S01]service protocol tcp destination-port 80    //添加目的地址端口为TCP的80
[USG6000-object-service-set-S01]service protocol tcp destination-port 22[USG6000]ip service-set S02 type object
[USG6000-object-service-set-S02]service protocol tcp destination-port 8080
[USG6000-object-service-set-S02]service protocol tcp destination-port 8081[USG6000]ip service-set S type group     //创建服务组
[USG6000-group-service-set-S]service service-set S01   //添加服务对象S01
[USG6000-group-service-set-S]service service-set S02[USG6000]display ip service-set all      //查看服务组
[USG6000]display ip service-set verbose S01 item    //查看服务组S01详细
[USG6000]display ip service-set verbose S item
  1. 创建相应的时间组
[USG6000]time-range T      //创建时间组T
[USG6000-time-range-T]period-range 08:00:00 to 18:00:00 working-day    //设置周期时间为,工作日为周一到周五的8点到18点
[USG6000-time-range-T]absolute-range 08:00:00 2021/04/02 to 18:00:00 2020/12/30    //设置绝对时间
[USG6000-time-range-T]undo absolute-range all       //删除上一条命令
[USG6000-time-range-T]display this
  1. 配置安全策略时使用刚才创建的组
[USG6000]security-policy
[USG6000-policy-security]rule name UT03    //创建或者是进入条目UT03编辑
[USG6000-policy-security-rule-UT03]service S     //指定服务组为S
[USG6000-policy-security-rule-UT03]destination-address address-set A    //指定目标地址为地址组A[USG6000-policy-security-rule-UT03]time-range T    //设置时间组为T
[USG6000-policy-security-rule-UT03]undo time-range    //删除上一条命令[USG6000-policy-security-rule-UT03]action permit      //动作允许

查看路由及设置默认路由

[USG6000]ip route-static 0.0.0.0 0.0.0.0 172.16.10.3 //设置默认路由
[USG6000]undo ip route-static 0.0.0.0 0.0.0.0   //删除上一条命令
[USG6000]ip route-static 0.0.0.0 0.0.0.0 GigabitEthernet 1/0/0 172.16.10.3      //设置默认路由,并指定出去的接口[USG6000]display ip routing-table     //查看路由表

设置接口为交换口

[USG6000]interface GigabitEthernet 1/0/1     //进入接口模式
[USG6000-GigabitEthernet1/0/1]portswitch    //设置接口为交换口
[USG6000-GigabitEthernet1/0/1]port link-type access   //设置接口类型为接入接口
[USG6000-GigabitEthernet1/0/1]undo portswitch   //取消上一条命令,即接口恢复为路由口

查看防火墙会话表

[USG6000]display firewall session table  //查看会话表简要信息
[USG6000]display firewall session table verbose //查看会话表详细信息
[USG6000]display firewall server-map    //查看server-map信息

将ASPF检测FTP流量的端口改为其他端口

  • 防火墙默认是开启ASPF检测的,针对多协议服务,如FTP服务,ASPF会针对FTP服务临时开放安全策略
[USG6000]acl 2001    //创建ACL编号2001
[USG6000-acl-basic-2001]rule permit source 10.21.50.10 0.0.0.0      //允许该源地址
[USG6000]port-mapping FTP port 2121 acl 2001    //将关于ASFP检测的FTP服务转移到2121端口,ACL条目是2001
[USG6000]undo firewall detect ftp   //关闭aspf检测ftp浏览

番外:SSH方式连接华为USG2000防火墙报错

SecureCRT使用SSH方式连接华为USG2000防火墙报错如下:

The client has disconnected from the server. Reason:
Message Authentication Code did not verify (packet #4). Data integrity has been
compromised.

解决方法:
改为使用SSH1协议登录即可
通过telnet该地址的22端口可以看出SSH使用的版本是1.9

华为USG防火墙重置密码

以下操作会初始化华为USG防火墙,所有配置清空哦

通电情况下,用圆珠笔按住reset按钮10秒,笔记本接好console口,等待画面,出现提示按ctrl+B,输入默认密码O&m15213 然后选择对应的数字“Reset Factory Configuration”,返回后选择数字1,启动系统,然后输入默认的用户名admin,默认密码Admin@123 网页登录地址是https://192.168.0.1:8443 用户名密码也是admin和Admin@123

总结

其实防火墙本身的管理web也是有漏洞的,可以通过只让某一个IP地址能够访问来增加安全性,但也不能保证绝对安全,我这边的做法是,单独留一个接口,用与web管理,当然弊端就是配置防火墙需要到现场用笔记本接上那个保留的接口才能配置,好处就是黑客想入侵,必须要通过社工的方式,接触到这台设备。说实话有点异想天开了,首先问问自己,你的设备值不值得别人这样做,简直是拿高射炮去打蚊子,没人会去干这种蠢事的。

华为USG防火墙配置命令相关推荐

  1. 华为防火墙查看日志命令_华为路由器防火墙配置命令总结(上)

    华为路由器防火墙配置命令总结(上) 作者:IT168 2006-06-12 11:35 评论 分享 一.access-list 用于创建访问规则. (1)创建标准访问列表 access-list [ ...

  2. 华为路由器防火墙配置命令总结(上)

    一.access-list 用于创建访问规则. (1)创建标准访问列表 access-list [ normal | special ] listnumber1 { permit | deny } s ...

  3. 华为防火墙配置命令-trust-dmz-untrust

    R1配置命令 <Huawei>sys Enter system view, return user view with Ctrl+Z. [Huawei]undo inf enable In ...

  4. 华为防火墙查看日志命令_华为USG防火墙运维命令大全word精品

    华为 USG 防火墙运维命令大全 i 查会话 使用场合 针对可以建会话的报文,可以通过查看会话是否创建以及会话详细信息来确定报文是否正常通过防火墙. 命令介绍(命令类) display firewal ...

  5. 华为交换机基本配置命令

      华为交换机基本配置命令 一.单交换机VLAN划分 命令 命令解释 system 进入系统视图 system-view 进入系统视图 quit 退到系统视图 undo vlan 20 删除vlan ...

  6. 华为USG防火墙及NGFW高可用性的规划与实施详解

    华为USG防火墙及NGFW高可用性的规划与实施详解 课程目标: 该课程程为卷B,它紧接卷A所描述的基础内容,开始进入防火墙的高可性的规划与实施,本课程卷B的核心目标是:一.从真正意义上去理解防火墙的双 ...

  7. usg2100虚拟服务器,华为USG2100 防火墙配置文档-配置IP-Link.pdf

    华为USG2100 防火墙配置文档-配置IP-Link Secoway USG2100 配置指南 可靠性分册 目 录 目 录 2 配置 IP-Link2-1 2.1 简介2-2 2.2 配置 IP-L ...

  8. 华为交换机端口配置删除_华为交换机基本配置命令

    华为交换机基本配置命令 交换机是按照通信两端传输信息的需要,用人工或设备自动完成的方法,把要传输的信息送到符合要求的相应路由上的技术的统称.那么华为交换机的配置命令有哪些呢?下面跟yjbys小编一起来 ...

  9. Cisco PIX防火墙配置命令大全

    Cisco PIX防火墙配置命令大全 来源: 作者:XUEYAN 出处:巧巧读书 2007-04-26 进入讨论组 关 键 词:子网掩码   协议   路由器   服务器   访问控制    一.PI ...

  10. 【收藏】华为路由器交换机配置命令大全

    华为路由器交换机配置命令:计算机命令 PCAlogin:root;使用root用户 password:linux;口令是linux #shutdown-hnow;关机 #init0;关机 #logou ...

最新文章

  1. pandas使用duplicated函数删除dataframe中重复列名称的数据列、默认保留重复数据列中的第一个数据列(removing duplicate columns in dataframe)
  2. SpringBoot取出信息
  3. 10行Python代码自动清理电脑内重复文件
  4. 几个最短路径算法Floyd、Dijkstra、Bellman-Ford、SPFA的比较
  5. Fatal Error[Pe1696]:cannot open source file “sys.h”
  6. 十年积累,5.4万GitHub Star一朝清零:开源史上最大意外损失
  7. jQuery 的选择器 元素选择器
  8. django-区分时区的时间类型
  9. PAT甲级1054 map的使用
  10. python3 range函数_为什么python3中的xrange函数不能用
  11. 普通Java类获取Spring的bean
  12. 自定义IBaseAdapter,简化适配器重复的步骤
  13. 基于java的邮件服务器以及webmail的搭建
  14. OpenCV-图像处理(03、Mat对象)
  15. dynamips之入门篇(dynamipsGUI小凡模拟器)
  16. 北大青鸟汉字注释机内码_众海常用汉字机内码表
  17. php怎么分栏,wps怎么分栏排版
  18. 亚马逊新手卖家如何快速出单必掌握的运营技巧分享?
  19. autojs脚本通用ui模板解决了一些已知问题
  20. CSS单行/多行文本溢出显示省略号(...)

热门文章

  1. xcode5 xcode6 xcode6.2beta网盘下载地址
  2. 立潮头 筑根基 赢未来——ZDNS合作伙伴大会成功举办
  3. 网吧服务器系统ghost,深度网吧GHOST辅助工具
  4. python 实现相关系数计算和检验
  5. 如何查询硬盘序列号,百度的答案全是错的
  6. [源码解析] TensorFlow 分布式环境(6) --- Master 动态逻辑
  7. 简单实用的下载百度文库文档的方法
  8. 基于php的外卖订餐系统开题报告_网上订餐系统开题报告
  9. 谷歌浏览器html调试iphone11,FireFox chrome 模拟手机浏览器 调试手机网页
  10. 线性代数知识点总结,基础概念和计算整理(手写版)