switch(config-if)#ip address //设置IP地址 switch(config)#ip default-gateway //设置默认网关 switch#dir flash: //查看闪存 六、交换机显示命令 switch#write //保存配置信息 switch#show vtp //查看vtp配置信息 switch#show run //查看当前配置信息 switch#show vlan //查看vlan配置信息 switch#show inter...
Since you are only using one vlan (vlan1) between the 3750 and the ISP gateway router, you don't need a trunk port, you just need an access port on fa2/0/1. Also, since the 3750 switch is just layer-2, all you need is a default-gateway. Your end devices gateway should ...
switch(enable) set ip route default gateway 4.在基于IOS的交换机上启用和浏览CDP信息: switch(config-if)# cdp enable switch(config-if)# no cdp enable 为了查看Cisco邻接设备的CDP通告信息: switch# show cdp interface [type modle/port] switch# show cdp neighbors [type module/port] [detail] 在基...
switch(enable) set interface sc0 vlan switch(enable) set ip route default gateway 4.在基于IOS的交换机上启用和浏览CDP信息: switch(config-if)# cdp enable switch(config-if)# no cdp enable 为了查看Cisco邻接设备的CDP通告信息: switch# show cdp interface [type modle/port] switch# show cdp neighb...
switch(enable) set ip route default gateway 4.在基于IOS的交换机上启用和浏览CDP信息: switch(config-if)# cdp enable switch(config-if)# no cdp enable 为了查看Cisco邻接设备的CDP通告信息: switch# show cdp interface [type modle/port] switch# show cdp neighbors [type module/port] [detail] 在基...
1、Cisco 路由器(Router)和交换机(Switch)命令详解2010年06月25日 星期五 14:20Cisco路由器交换机配置命令详解 1. 交换机支持的命令: 交换机基本状态: switch: ;ROM状态, 路由器是rommon> hostname> ;用户模式 hostname# ;特权模式 hostname(config)# ;全局配置模式 hostname(config-if)# ;接口状态 交换...
Hello, I have a standard base imaged layer-2 switch that has a default gateway configured (no ip routing), but host routes seem to be learning a different next-hop address (which is a firewall interface): SLHC3551#sh ip def 172.21.64.254 SLHC3551#
switch(enable)setiproutedefaultgateway 4.在基于ios的交换机上启用和阅读cdp信息: switch(config-if)#cdpenable switch(config-if)#nocdpenable 为了查看CISCO邻接设备的cdp通告信息: switch#showcdpinterface[typemodle/port] switch#showcdpneighbors[typemodule/port][detail] ...
This chapter describes how to create the initial switch configuration (for example, assigning the IP address and default gateway information) by using a variety of automatic and manual methods. It also describes how to modify the switch startup configuration. Unless ...
Set the default gateway: switch:set DEFAULT_ROUTER 192.0.2.1 Ping the terminal that contains the TFTP server in order to test the connectivity: switch:ping 192.0.2.1 ping 192.0.2.1 with 32 bytes of data ... Host 192.0.2.1 is alive. ...