cisco网络设备基本命令
部署与网络规划 命令 三层交换 开启路由功能 ip routing 开启路由接口 no switchport 生成树STP 开启生成树 spanning-tree vlan vlan-list 指定根网桥 spanning-tree vlan vlan-list root {primary/secondary} 指定根网桥(优先级) spanning-tree vlan vlan-list priority 0-65535 修改端口成本 spanning-tree vlan vlan-list cost cost 修改端口优先级 spanning-tree vlan vlan-list port-priority 0-255 配置速端口 spanning-tree portfast 热备份路由HSRP 配置为HSRP组成员 standby group-number ip 虚拟ip 配置HSRP优先级 standby group-number priority 0-255 配置HSRP占先权 standby group-number preempt 配置HSRP端口跟踪 standby group-number track f0/0 interface-priority IP地址跟踪 tracert ip ACL 标准acl access-list 表号 permit