Cisco Switch Configuration IEEE 802.1w RSTP和MSTP能够提供独立于生成树计数器的快速生成树收敛,并提供第二层负载均衡和分布式处理的优势。 每VLAN快速生成树(PVRST+)能够基于每VLAN实现快速生成树的重新收敛,而不需要部署生成树实例。 能够利用HSRP创建冗余的、故障保护的路由拓扑。 UDLD和主动UDLD能在光纤接口上检测...
switch#config switch(config)#feature interface-vlan(备注:这一步很关键,否则无法配置vlan的ip) switch(config)#vlan 10 switch(config-vlan)#interface Eth1/1(备注:这里设置好接口,不同的交换机可能不一致) switch(config-if)#switch-port mode access switch(config-if)#switch-port access vlan 10 switch(...
server(服务器模式): 可创建、修改、删除VLAN; 中继端口向外发送或接收并转发从VTP域中其他交换机接收到的最新信息; 接收到的信息同步自已的VLAN配置中; 将vlan配置存到NVRAM中。 clinet(客户模式) : 不能创建、修改、删除VLAN; 中继端口接收并转发从VTP域中其他交换机接收到的最新信息; 接收到的信息同步到自已...
Switch(config-if)#switchport access vlan 10 Switch(config-if)#exit Switch(config)#interface fastEthernet 0/2 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 10 Switch(config-if)#exit Switch(config)#interface range fastEthernet 0/3-6 Switch(config-if-range)#sw...
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 line. End with CNTL/Z ...
进入Switch0 CLI界面,开始设置: # 1、进入config模式 Switch>en Switch#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. # 2、创建vlan,创建10以及20两个 Switch(config)#vlan 10 ...
Switch(config)#int vlan 30 Switch(config-if)#und int vlan 10 Switch(config-if)#no shutdown Switch(config-if)#ip address 10.1.3.254 255.255.255.0 Switch(config-if)#exit Switch(config)# Switch(config)#int vlan 40 Switch(config-if)#ip address 10.1.3.254 255.255.255.0 Switch(config-if)#no...
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 ...
en conf t vlan 10 创建vlan 10 ip address 192.168.1.1 255.255.25.0 给vlan10 创建虚接口IP地址 如不需要省略此步骤。。exit inte fa 0/1 进入接口fa0/1 switchport access vlan 10 把这个0/1划到vlan10 内 no shut exit 以此类推 ...
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, one per line. End with...