多平台统一管理软件接口,如何实现多平台统一管理软件接口
212
2022-09-24
路由交换学习第七天:交换机之间trunk_PC和路由器通信(交换机和路由器用trunk吗)
R1配置:[HW-R1]interface GigabitEthernet 0/0/1 //配置1口[HW-R1-GigabitEthernet0/0/1]ip address 10.10.10.1 24 //配置1口IP
SW1:[HW-SW1]vlan batch 8 to 12 99 //SW1批量创建VLAN8到12和99[HW-SW1]int g0/0/1 //配置g0/0/1接口[HW-SW1-GigabitEthernet0/0/1]port link-type access //G0/0/1端口模式是access[HW-SW1-GigabitEthernet0/0/1]port default vlan 8 //G0/0/1端口加入到VLAN8[HW-SW1-GigabitEthernet0/0/1]int g 0/0/3 //配置g0/0/3接口[HW-SW1-GigabitEthernet0/0/3]port link-type trunk //G0/0/3端口模式是trunk[HW-SW1-GigabitEthernet0/0/3]port trunk allow-pass vlan all //G0/0/3允许所有VLAN通过[HW-SW1-GigabitEthernet0/0/3]display port vlan active //查看端口的VLAN状态T=TAG U=UNTAG
Port Link Type PVID VLAN List
GE0/0/1 access 8 U: 8GE0/0/2 hybrid 1 U: 1GE0/0/3 trunk 99 U: 99T: 1 8 to 12
======================================================
SW3:[HW-SW3]vlan batch 8 to 12 99 //SW3批量创建VLAN8到12和99[HW-SW3]interface g 0/0/3 //配置G0/0/3接口[HW-SW3-GigabitEthernet0/0/3]port link-type trunk //配置G0/0/3接口为trunk[HW-SW3-GigabitEthernet0/0/3]port trunk allow-pass vlan all //G0/0/3允许所有VLAN通过[HW-SW3]int g0/0/10 //配置G0/0/10口[HW-SW3-GigabitEthernet0/0/10]port link-type access //配置当前端口为access[HW-SW3-GigabitEthernet0/0/10]port default vlan 8 //配置当前端口VLAN号为8[HW-SW3-GigabitEthernet0/0/10]int g0/0/11 //配置G0/0/11口[HW-SW3-GigabitEthernet0/0/11] port link-type access //配置当前端口为access[HW-SW3-GigabitEthernet0/0/11] port default vlan 8 //配置当前端口VLAN号为8
[HW-SW3]dis port v a //查看端口的VLAN状态T=TAG U=UNTAG----------------------------------------------------------Port Link Type PVID VLAN List--------------------------------------------------------------GE0/0/1 hybrid 1 U: 1GE0/0/2 hybrid 1 U: 1GE0/0/3 trunk 99 U: 99T: 1 8 to 12GE0/0/4 hybrid 1 U: 1GE0/0/5 hybrid 1 U: 1GE0/0/6 hybrid 1 U: 1GE0/0/7 hybrid 1 U: 1GE0/0/8 hybrid 1 U: 1GE0/0/9 hybrid 1 U: 1GE0/0/10 access 8 U: 8GE0/0/11 access 8 U: 8~~
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~