Cisco IOS中有两种方式创建vlan,在全局模式下使用vlan vlanid命令,如switch(config)#vlan 10; 在vlan database 下创建vlan ,如 switch(vlan)#vlan 20; 交换机配置: Switch>enable Switch#configure terminal Enter configuration commands, one per
w-backbone-6#configure terminal Enter configuration commands, one per line. End with CNTL/Z.w-backbone-6(config)#interface gigabitethernet 8/25w-backbone-6(config-if)#switchport w-backbone-6(config-if)#switchport trunk encapsulation dot1qw-backbone-6(config-if)#switchport trunk native vlan 999...
L2_Switch#configure terminalEnter configuration commands, one per line. End with CNTL/Z. L2_Switch(config)#interface vlan 1L2_Switch(config-if)#ip address 10.10.0.2 255.255.255.0L2_Switch(config-if)#no ip directed-broadcast L2_Switch(config-if)#no ip route-cache L2_Switch(config-if)#exit ...
documentation for configuring VTP/VLAN in config mode. Switch(vlan)#vlan 20 name Chinese VLAN 20 added: Name: Chinese Switch(vlan)#vlan 30 name Other VLAN 30 added: Name: Other Switch(vlan)#exit APPLY completed. Exiting... Switch#configure terminal Enter configuration commands, one per line。...
configure terminal意为配置终端,单词较长,可采用以下解决办法: tab键自动补全 简写成conf t 4.全局配置模式 代码语言:javascript 代码运行次数:0 运行 AI代码解释 特权用户模式下的命令提示符:(configure)+#Switch(config)#?Configure commands:access-list Add an access list entry ...
将端口分配给一个VLAN configure terminal 进入配置状态 interface interface-id 进入要分配的端口 switchport mode access 定义二层口 switchport access vlan vlan-id 把端口分配给某一VLAN 例 Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. ...
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的密码 switchport mode trunk启用中继 ...
cisco交换机配置vlan方法 cisco交换机配置vlan⽅法 Cisco IOS中有两种⽅式创建vlan,在全局模式下使⽤vlan vlanid命令,如switch(config)#vlan 10; 在vlan database 下创建vlan ,如 switch(vlan)#vlan 20;交换机配置:复制代码 代码如下:Switch>enable Switch#configure terminal Enter configuration commands, ...
Basically you are refering to VTP (Vlan Trunking Protocol). To configure VTP, you need to specify one switch as VTP SERVER and all other switches as VTP CLIENT. Then, you configure VLANsonlyon the VTP SERVER switch, and all these VLANs are propagated and appear also on the Client switche...
2)在交换机上创建vlan2 和vlan3并将指定的接口划分到相对应的vlan下 Switch >enable Switch#configure terminal Switch(config)#vlan 2 Switch(config-vlan)#exit Switch(config)#vlan 3 Switch(config-vlan)#exit Switch(config)#interface fastEthernet 0/3 ...