配置交换机网关:Switch(config)#ip default-gateway 网关 switch(config)#int vlan 1 设置ip地址和掩码: switch(config-if)#ip address 10.65.1.3 255.255.0.0 设置switch的网关: switch(config)#ip defaule-gateway 10.65.1.9 查看当前配置: switch#sh run 8.清除思科所有配置 SWA#del vlan.dat SWA#reload 9...
Set switch IP address:set IP_ADDRESSip_address Example: switch:set IP_ADDRESS 192.0.2.123 Set switch subnet mask:set IP_SUBNET_MASKsubnet_mask Example: switch:set IP_SUBNET_MASK 255.255.255.0 Set default gateway:set DEFAULT_GA...
(on ip: 192.168.1.20), i cannot even ping default gateway ip nor i can ping the internet. please advise resolution to this issue. i have this problem too labels: labels: other switches 0 helpful 7 replies 7 - ok, but 'ip default-gateway' usually applies locally to the swi...
switch(config-if)# ip default-gateway ip-address 在基于CLI的交换机上设置远程访问: switch(enable) set interface sc0 ip-address netmask broadcast-address switch(enable) set interface sc0 vlan switch(enable) set ip route default gateway 4.在基于IOS的交换机上启用和浏览CDP信息: switch(config-if)...
rommon 2>set IP_ADDRESS=192.168.247.10rommon 3>set IP_SUBNET_MASK=255.255.0.0rommon 4>set DEFAULT_GATEWAY=172.20.52.35rommon 5>set TFTP_SERVER=198.51.100.2 步骤3 输入set 命令以确保保存设置,然后启动系统 示例: rommon 6>setrommon 7>boot
switch(config-if)#ipdefault-gatewayip-address 在基于CLI的交换机上设置管理IP: switch(enable)setinterfacesc0ip-addressnetmaskbroadcast-address switch(enable)setinterfacesc0vlan switch(enable)setiproutedefaultgateway 4.在基于IOS的交换机上启用和浏览CDP信息: ...
switch(config-if)# ip address ip-address netmask switch(config-if)# ip default-gateway ip-address 在基于CLI的交换机上设置远程访问: switch(enable) set interface sc0 ip-address netmask broadcast-address switch(enable) set interface sc0 vlan ...
switch(enable) set enalbepass 3.在基于IOS的交换机上设置远程访问: switch(config)# interface vlan 1 switch(config-if)# ip address ip-address netmask switch(config-if)# ip default-gateway ip-address 在基于CLI的交换机上设置远程访问: switch(enable) set interface sc0 ip-address netmask broadcast...
Configure the default gateway? (yes/no) [y]: //配置网关 Mgmt0 IPv4 gateway :192.168.10.1 Configure advanced IP options? (yes/no) [n]: //配置高级IP选项? Enable the ssh service? (yes/no) [y]: //启用SSH服务 Type of ssh key you would like to generate (dsa/rsa) [rsa]: //希望生...
Switch(config)#enable secret 123456 Router(config)#enable secret level 1 pass123 Router(config)#enable secret level 15 pass123 Switch(config)#ip address 192.168.1.1 255.255.255.0---设置交换机的管理IP地址 Switch(config)#ip default-gateway 192.168.1.254---设置交换机的网关地址 Switch(config)#ip d...