p; 与路由器在接口上的配置IP不同, 交换机是在全局配置模式配置
switch(config)# ip default-gateway 192.158.0.1 给交换机配置一个缺省网关,请注意, 不用写掩码
switch(config)# vlan2 name cisco 配置一个vlan2并且指定名字叫CISCO
switch# show interfaces 查看端口状态 switch(config)# interface e0/10 进入端口e0/10
switch(config-if)# vlan-membership static 2  上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] 下一页 |