interface Vlan1 no ip address shutdown ! ip default-gateway 1.4.0.1 ip forward-protocol nd no ip http server no ip http secure-server ip route 223.255.0.0 255.255.0.0 1.4.0.1 ! ! control-plane ! ! voice-port 0/2/0:23 ! voice-port 0/3/0:1 ! voice-port 0/1/0 !...
interface Vlan1 no ip address ! no ip nat service dns tcp no ip nat service dns udp ip nat inside source list 2 interface Cellular0/2/0 overload ip forward-protocol nd ip http server no ip http secure-server ip http max-connections 16 ip tftp source-interface GigabitEthernet0/...
没加三层路由所以ping不通。使用扩展ping,也就是敲ping后直接回车 有一步是问你是否使用扩展ping,选y 后面还有一步让你提供ip地址。使用192.168.1网段的即可。
没有问题呀,这是一个很标准的Vlan建立模板,进入config模式后,初始化配置两个Fa口,然后建立Vlan,我按照你的配置思路和命令尝试一次后,一切正常.后来Show了一下,输出正常.也许是你用的模拟器吧...我用的是PacketTracer
1–80 — routing Enables layer-3 forwarding on the VLAN interface. To disable layer-3 forwarding, you must configure the IP address for the interface and specifyno ip routing. — enabled ipv6 Configures IPv6 for this interface. —
给Catalyst 2960 交换机配置管理地址() A. Switch(config)#interface f0/1Switch(config-if)#ip address 192.168.0.1Switch(config-if)#no shutdown B. Switch(config)#interface f0/1Switch(config-if)#ip address 1
#ip address 192.168.0.1 255.255.255.0 Switch(config-if)#no shutdownC.Switch(config)#interface vlan 1 Switch(config-if)#ip address 192.168.0.1 Switch(config-if)#no shutdownD.Switch(config)#interface vlan 1 Switch(config-if)#ip address 192.168.0.1 255.255.255.0 Switch(config-if)#no shutdown...
hostname Switch1interface Vlan10ip address 172.16.10.32 255.255.255.0no ip redirectsstandby 1 ip 172.16.10.110standby 1 tmers msec 200 msec 700standby 1 preempthostname Switch2interface Vlan10ip address 172.16.10.33 255.255.255.0no ip redirectsstandby 1 ip 172.16.10.110standby 1 tmers msec 200 ms...
一台汇聚交换机通过G 1/1接口连接到OSPFarea 0,VLAN2和VLAN3分别连接到OSPF area2和area3。三个接口的IP配置如下: interface gigabitethernet 1/1 no switchport ip address 172.16.255.2 255.255.255.252 no shutdown interface vlan 2 ip address 172.16.2.253 255.255.255.0...
Run the port default vlan vlan-id [ step step-number [ increased | decreased ] ] command in the interface view to add an access interface to a VLAN. Run the port trunk allow-pass vlan { { vlan-id1 [ to vlan-id2 ] }&<1-10> | all } command in the interface view to add a ...