利用VLAN技术组建三层线速校园网
利用VLAN技术组建三层线速校园网,以解决当今校园网存在的广播问题及安全性。
GYZX3526(config-VLAN30)#exit//退回到全局配置模式
GYZX3526(config)#interfaceVLAN-interface30//进入VLAN接口模式
GYZX3526(config-VLAN-interface30)#ipaddress219.223.41.1255.255.255.224//配置VLAN30的路由接口IP地址
GYZX3526(config)#VLAN40//创建VLAN40
GYZX3526(config-VLAN40)#descriptioneducation1
GYZX3526(config-VLAN40)#switchportgigabitethernet2/1//光纤2口加入valn40
GYZX3526(config-VLAN40)#exit//退回到全局配置模式
GYZX3526(config)#interfaceVLAN-interface40//进入VLAN接口模式
GYZX3526(config-VLAN-interface40)#ipaddress219.223.41.65255.255.255.192//配置VLAN40的路由接口IP地址
GYZX3526(config-VLAN-interface40)#exit
GYZX3526(config)#VLAN50//创建VLAN50
GYZX3526(config-VLAN50)#descriptionoffice
GYZX3526(config-VLAN50)#switchportethernet0/13toethernet0/16//13-16口加入VLAN50
GYZX3526(config-VLAN50)#exit
GYZX3526(config)#interfaceVLAN-interface50//进入VLAN接口模式
GYZX3526(config-VLAN-interface50)#ipaddress219.223.41.129255.255.255.128//配置VLAN50的路由接口IP地址
GYZX3526(config)#exit
GYZX3526#write//保存配置
Thiswillwritetheconfigurationintheflashmemory.
- 本文关键词:

