-- On the router, configure VLAN1 as the native VLAN. Router(config)#interface gigabitEthernet 1.1Router(config-subif)#encapsulation dot1Q 1 nativeRouter(config-subif)#ip address 10.10.0.1 255.255.255.0Router(c
1,将接口划分至对应VLAN Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#vlan 30 Switch(config-vlan)#exit Switch(config)#vlan 40 Switch(config-vlan)#exit Switch(config)#vlan 50 Switch(config-vlan)#exit Switch(config)# Switch(config)#int e0/1 Swit...
Router(config-if)#no shutdown Router(config-if)#interface f0/0.10 Router(config-subif)#encapsulation dot1Q ? <1-1005> IEEE 802.1Q VLAN ID Router(config-subif)#encapsulation dot1Q 10 Router(config-subif)#ip address 172.16.10.254 255.255.255.0 Router(config-subif)#interface f0/0.20 Router(con...
wlan +vlan号+名称 创建VLAN sithport access wlan +vlan号 为VLAN为配接 interface vlan +vlan号进入VLAN接口模式 ip add+ip地址 为VLAN配置管理IP地址 vp+ seice/tracsparent/elient 配置SW的VTP工作模式 vip +domain+城名 配置Sw的VTP城名 vip +passwerd +密码 配置SW的密码 ...
switchport access vlan +vlan号 为VLAN为配接口 interface vlan +vlan号 进入VLAN接口模式 ip add +ip地址 为VLAN配置管理IP地址 vtp+service/tracsparent/client 配置SW的VTP工作模式 vtp +domain+域名 配置SW的VTP域名 vtp +password +密码 配置SW的密码 ...
Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# interface fastethernet0/1 Switch(config-if)# switchport mode access Switch(config-if)# switchport access vlan 2 Switch(config-if)# end Switch# 配置VLAN trunk configure terminal进入配置状态 interface interface-Id进入端口...
!-- On the router, configure VLAN1 as the native VLAN. Router(config)#interface gigabitEthernet 1.1Router(config-subif)#encapsulation dot1Q 1 nativeRouter(config-subif)#ip address 10.10.0.1 255.255.255.0Router(config-subif)#end !-- Remember to save the configuration. ...
在公司这边通过一个路由器,再接了一台交换机,然后在交换机上面划分两个VLAN,下面的PC通过各自的VLAN自动学习IP地址,然后去访问公网上面的WWW服务器。 Router1端的配置: Router>en Router#conf t nter configuration commands, one per line. End with CNTL/Z. ...
Vlan1 unassigned YES unset administratively down down R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#interface fastethernet0/0进入端口F0/0 R1(config-if)#ip add 192.168.1.1 255.255.255.0配置IP和掩码
I am looking for a way (Commands) to configure VLANs on Cisco Router and a way to make my Switch learn these VLANs dynamically i.e the likes of VTP or any other means. What are the configurations commands on both switch and router. I have a physical router and switch BUT i will ...