登录交换机典型配置指导...........................................................................................................7 1.1 通过 Console 口配置 Telnet 登录方式典型配置指导 ..........................................................7 1.1.1 组网图....................................................................................................................7 1.1.2 应用要求................................................................................................................7 1.1.3 配置过程和解释......................................................................................................7 1.1.4 完整配置................................................................................................................8 1.2 通过 Telnet 配置 Console 口登录方式典型配置指导 ..........................................................9 1.2.1 组网图....................................................................................................................9 1.2.2 应用要求................................................................................................................9 1.2.3 配置过程和解释......................................................................................................9 1.2.4 完整配置..............................................................................................................10 1.3 通过 WEB 网管登录交换机典型配置指导.........................................................................11 1.3.1 组网图..................................................................................................................11 1.3.2 应用要求..............................................................................................................11 1.3.4 配置过程和解释....................................................................................................11 1.3.5 完整配置..............................................................................................................12 1.3.6 配置注意事项.......................................................................................................12 1.4 对登录用户的控制典型配置指导......................................................................................12 1.4.1 组网图..................................................................................................................12 1.4.2 应用要求..............................................................................................................12 1.4.3 配置过程和解释....................................................................................................12 1.4.4 完整配置..............................................................................................................13 VLAN 典型配置指导................................................................................................................14 2.1 基于端口的 VLAN 典型配置指导 .....................................................................................14 2.1.1 组网图..................................................................................................................14 2.1.2 应用要求..............................................................................................................14 2.1.3 配置过程和解释....................................................................................................14 2.1.4 完整配置...............................................................................................................15 2.2 基于 MAC 的 VLAN 典型配置指导...................................................................................16 2.2.1 组网图 ..................................................................................................................16 2.2.2 应用要求..............................................................................................................16 2.2.3 配置过程和解释....................................................................................................16 2.2.4 完整配置..............................................................................................................172.2.5 配置注意事项.......................................................................................................18 2.3 基于协议的 VLAN 典型配置指导 .....................................................................................18 2.3.1 组网图..................................................................................................................18 2.3.2 应用要求..............................................................................................................19 2.3.3 配置过程和解释....................................................................................................19 2.3.4 完整配置..............................................................................................................19 2.4 基于 IP 子网的 VLAN 典型配置指导................................................................................20 2.4.1 组网图..................................................................................................................20 2.4.2 应用要求..............................................................................................................20 2.4.3 配置过程和解释....................................................................................................21 2.4.5 完整配置..............................................................................................................21 2.5 Isolate-user-vlan 典型配置指导........................................................................................22 2.5.1 组网图..................................................................................................................22 2.5.2 应用要求..............................................................................................................22 2.5.3 配置过程和解释....................................................................................................22 2.5.6 完整配置..............................................................................................................23 IPv4 ACL 典型配置指导..........................................................................................................25 3.1 基本 IPv4 ACL 典型配置指导..........................................................................................25 3.1.1 组网图..................................................................................................................25 3.1.2 应用要求..............................................................................................................25 3.1.3 配置过程和解释....................................................................................................25 3.1.4 完整配置..............................................................................................................26 3.1.5 配置注意事项.......................................................................................................26 3.2 高级 IPv4 ACL 典型配置指导..........................................................................................27 3.2.1 组网图..................................................................................................................28 3.2.2 应用要求..............................................................................................................28 3.2.3 配置过程和解释....................................................................................................28 3.2.4 完整配置..............................................................................................................29 3.2.5 配置注意事项.......................................................................................................30 3.3 二层 ACL 典型配置指导..................................................................................................30 3.3.1 组网图..................................................................................................................31 3.3.2 应用要求..............................................................................................................31 3.3.3 配置过程和解释....................................................................................................31 3.3.4 完整配置..............................................................................................................31 3.3.5 配置注意事项.......................................................................................................32 3.4 用户自定义 ACL 和流模板典型配置指导..........................................................................32 3.4.1 组网图 ..................................................................................................................33 3.4.2 应用要求..............................................................................................................33 3.4.3 配置过程和解释....................................................................................................33 3.4.4 完整配置..............................................................................................................343.4.5 配置注意事项.......................................................................................................34 IPv6 ACL 典型配置指导..........................................................................................................37 4.1 基本 IPv6 ACL 典型配置指导..........................................................................................37 4.1.1 组网图..................................................................................................................37 4.1.2 应用要求..............................................................................................................37 4.1.3 配置过程和解释....................................................................................................37 4.1.4 完整配置..............................................................................................................38 4.1.5 配置注意事项.......................................................................................................38 4.2 高级 IPv6 ACL 典型配置指导..........................................................................................38 4.2.1 组网图..................................................................................................................39 4.2.2 应用要求..............................................................................................................39 4.2.3 配置过程和解释....................................................................................................39 4.2.4 完整配置..............................................................................................................40 4.2.5 配置注意事项.......................................................................................................40 QoS 典型配置指导..................................................................................................................41 5.1 端口限速和流量监管典型配置指导..................................................................................41 5.1.1 组网图..................................................................................................................41 5.1.2 应用要求..............................................................................................................41 5.1.3 配置过程和解释....................................................................................................42 5.1.4 完整配置..............................................................................................................43 5.1.5 配置注意事项.......................................................................................................43 5.2 优先级重标记和队列调度典型配置指导...........................................................................46 5.2.1 组网图..................................................................................................................46 5.2.2 应用要求..............................................................................................................46 5.2.3 配置过程和解释....................................................................................................47 5.2.4 完整配置..............................................................................................................48 5.2.5 配置注意事项.......................................................................................................48 5.3 优先级映射和队列调度典型配置指导...............................................................................50 5.3.1 组网图..................................................................................................................50 5.3.2 应用要求..............................................................................................................50 5.3.3 配置过程和解释....................................................................................................51 5.3.4 完整配置..............................................................................................................51 5.3.5 配置注意事项.......................................................................................................52 5.4 流镜像和重定向至端口典型配置指导...............................................................................55 5.4.1 组网图..................................................................................................................55 5.4.2 应用要求..............................................................................................................55 5.4.3 配置过程和解释....................................................................................................56 5.4.4 完整配置..............................................................................................................57 5.4.5 配置注意事项.......................................................................................................57 5.5 重定向至下一跳典型配置指导.........................................................................................585.5.1 组网图..................................................................................................................58 5.5.2 应用要求..............................................................................................................58 5.5.3 配置过程和解释....................................................................................................58 5.5.4 完整配置..............................................................................................................59 5.5.5 配置注意事项.......................................................................................................59 交换机端口链路类型介绍.......................................................................................................60 6.1 交换机端口链路类型介绍................................................................................................60 6.2 各类型端口使用注意事项................................................................................................60 6.3 各类型端口在接收和发送报文时的处理...........................................................................61 6.4 交换机 Trunk 端口配置....................................................................................................62 6.4.1 组网需求:...........................................................................................................62 6.4.2 组网图:..............................................................................................................62 6.4.3 配置步骤:...........................................................................................................63 6.5 交换机 Hybrid 端口配置..................................................................................................64 6.5.1 组网需求: ...........................................................................................................64 6.5.2 组网图:...............................................................................................................65 6.5.2 配置步骤:...........................................................................................................66 链路聚合典型配置指导...........................................................................................................70 7.1 链路聚合典型配置指导....................................................................................................70 7.1.1 组网图..................................................................................................................70 7.1.2 应用要求..............................................................................................................70 7.1.3 配置过程和解释....................................................................................................70 7.1.4 完整配置..............................................................................................................71 7.1.5 配置注意事项.......................................................................................................71 7.2 链路聚合典型配置指导....................................................................................................72 7.2.1 组网图..................................................................................................................72 7.2.2 应用要求..............................................................................................................72 7.2.3 配置过程和解释....................................................................................................72 7.2.4 配置注意事项.......................................................................................................73 端口镜像典型配置指导..........................................................................................................73 8.1 本地端口镜像典型配置指导.............................................................................................73 8.1.1 组网图..................................................................................................................73 8.1.2 应用要求..............................................................................................................74 8.1.3 配置过程和解释....................................................................................................74 8.1.4 完整配置..............................................................................................................74 8.1.5 配置注意事项.......................................................................................................74 8.2 远程端口镜像典型配置指导(方式一)...........................................................................75 8.2.1 组网图..................................................................................................................76 8.2.2 应用要求..............................................................................................................768.2.3 配置过程和解释....................................................................................................76 8.2.4 完整配置..............................................................................................................77 8.2.5 配置注意事项.......................................................................................................78 8.3 远程端口镜像典型配置指导(方式二)...........................................................................79 8.3.1 组网图..................................................................................................................80 8.3.2 应用要求..............................................................................................................80 8.3.3 配置过程和解释....................................................................................................80 8.3.4 完整配置..............................................................................................................81 8.3.5 配置注意事项.......................................................................................................82 端口隔离典型配置指导.............................................................................................................83 9.1 端口隔离概述 .................................................................................................................83 9.2 端口隔离配置指导(方式一).........................................................................................83 9.2.1 组网图..................................................................................................................83 9.2.2 配置过程和解释....................................................................................................84 9.2.3 配置注意事项.......................................................................................................84 9.3 端口隔离配置指导(方式二).........................................................................................84 9.3.1 组网图..................................................................................................................84 9.3.2 配置过程和解释....................................................................................................85 9.3.3 配置注意事项.......................................................................................................85 0. LLDP 典型配置指导..............................................................................................................86 10.1 LLDP 简介.....................................................................................................................86 10.2 LLDP 典型配置指导.......................................................................................................87 10.2.1 组网图................................................................................................................87 10.2.2 应用要求............................................................................................................87 10.2.3 配置过程和解释..................................................................................................87 10.2.4 完整配置............................................................................................................89 10.2.5 配置注意事项 ...................................................................................................89 . DHCP 典型配置指导 ..........................................................................................................90 11.1 DHCP 服务器静态绑定地址典型配置指导 ......................................................................90 11.1.1 组网图................................................................................................................90 11.1.2 应用要求............................................................................................................90 11.1.3 配置过程和解释..................................................................................................90 11.1.4 完整配置............................................................................................................90 11.1.5 配置注意事项.....................................................................................................91 11.2 DHCP 服务器动态分配地址典型配置指导 ......................................................................91 11.2.1 组网图................................................................................................................91 11.2.2 应用要求............................................................................................................91 11.2.3 配置过程和解释..................................................................................................92 11.2.4 完整配置............................................................................................................92 11.2.5 配置注意事项.....................................................................................................9311.3 DHCP 中继典型配置指导............................................................................................93 11.3.1 组网图................................................................................................................94 11.3.2 应用要求............................................................................................................94 11.3.3 配置过程和解释..................................................................................................94 11.3.4 完整配置............................................................................................................95 11.3.5 配置注意事项.....................................................................................................95 11.4 DHCP Snooping 典型配置指导......................................................................................95 11.4.1 组网图................................................................................................................96 11.4.2 应用要求............................................................................................................96 11.4.3 配置过程和解释..................................................................................................96 11.4.4 完整配置............................................................................................................97 11.4.5 配置注意事项.....................................................................................................97 11.5 DHCP Snooping 支持 Option 82 典型配置指导..............................................................97 11.5.1 组网图................................................................................................................98 11.5.2 应用要求............................................................................................................98 11.5.3 配置过程和解释................................................................................................98 11.5.4 完整配置...........................................................................................................100 11.5.6 配置注意事项....................................................................................................100 11.6 自动配置功能典型配置指导.......................................................................................100 11.6.1 组网图..............................................................................................................101 11.6.2 应用需求...........................................................................................................101 11.6.3 配置过程和解释.................................................................................................102 11.6.4 完整配置...........................................................................................................105 11.6.7 注意事项...........................................................................................................106