单臂路由典型配置.docxVIP

  • 11
  • 0
  • 约小于1千字
  • 约 2页
  • 2021-02-26 发布于辽宁
  • 举报
VLAN1 1、划分 via n switch#vla n database switch(vla n) #vla n 2 switch(vla n) #vla n 3 2、 将端口加入vlan switch(c on fig)#i nterface range fO/6 -8 switch(c on fig-if-ra nge)#switchport access vla n 2 switch(c on fig-if-ra nge)# in terface range fO/9 -11 switch(c on fig-if-ra nge)#switchport access vla n 3 3、 配置 trunk switch(config)#interface f0/12 switch(c on fig-if)#switchport mode trunk 4、 配置路由器的子接口封装 dotlq,并设置IP地址 router(c on fig)#i nterface f0/0.1 router(c on fig-subif)#e ncapsulati on dotlq 1 router(config-subif)#ip address 192.168.0.1 255.255.255.0 router(c on fig-subif)# no shut router(c on fig)#i nterface f0/0.2 router(c on fig-subif)#e ncapsulati on dot1q 2 router(config-subif)#ip address 192.168.1.1 255.255.255.0 router(c on fig-subif)# no shut router(c on fig)#i nterface f0/0.3 dot1q 3 dot1q 3 router(config-subif)#ip address 192.168.2.1 255.255.255.0 router(config-subif)#no shut router(config)#interface f0/0 router(config-if)#no shut

文档评论(0)

1亿VIP精品文档

相关文档