NA复习
- IP规划. IP地址的作用是寻址;
- 路由技术. 高速路上的路标;路由形成的3种方式,直连路由/静态路由/动态路由.
- 静态路由
- OSPF协议
- VLAN技术
- VLAN间通信
- ACL技术
- NAT技术
# 关闭系统日志
undo info-center enable
# 修改系统语言
> language-mode Chinese
language-shell复制代码

NA实验
NA实验
# access
port link-type access
port default vlan 10
# trunk
port link-type trunk
port trunk allow-pass vlan all
# vlanif
int vlanif 10
ip add 10.1.10.254 24
# 单臂路由子接口
int g0/0/1.30
dot1q termination vid 30
arp broadcast enable
ip address 10.1.30.254 24
# OSPF
ospf router-id 2.2.2.2
area 0
interface g0/0/1
ospf enable area 0
interface vlanif 10
ospf enable area 0
interface g0/0/1.30
ospf enable area 0
# 静态路由
ip route-static 0.0.0.0 0 100.1.1.1
# 默认路由下放
ospf
default-route-advertise
# NAT
acl 2000
rule permit source any
quit
int g0/0/0
nat outbound 2000
language-shell复制代码
生成树 Spanning tree protocal
概述
使用场景
- 现网环境一般不会使用,一般默认设备会启动MSTP.
- 解决二层环路,MAC地址漂移。二层环路的原因是交换机尽力而为的
二层环路
STP的作用
STP的运行原理
s
转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以邮件至 hjxstart@126.com