博达交换机命令

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Switch_config#interface range fastEthernet 0/1 – 8

Switch_config_if_range#switchport pvid 2

多个VLAN进行配置

4 . 交换机配置用户名和密码

如果交换机登陆时候需要用户名和密码验证,如下命令: switch_config#username bdcom password bdcom switch_config#aaa authentication login d efault local switch_config#aaa authentication enable default none

配置如上三条命令后,交换机的登陆用户名和密码为bdcom

5.3 S2228典型配置 Switch>enable Switch#config

Switch_config#interface fastEthernet 0/1 //进入f0/1口进行配置

switch_config_f0/1#switchport mode trunk //配置f0/1口为trunk口做为上连口 swicth_config_f0/1#interface range fastEthernet 0/2 – 12 //对f0/2 - 12口这11个口进行配置 Switch_config_if_range#switchport pvid 2 //将f0/2 – 12口配置成vlan2 swicth_config_ if_range #interface range fastEthernet 0/13 – 24 //对f0/13 - 24口这12个口进行配置 Switch_config_if_range#switchport pvid 3 //将f0/13 – 24口配置成vlan3 Switch_config_if_range#exit //退回到配置模式 Switch_config#write //保存配置 5.3 S2228典型配置 Switch>enable Switch#config

Switch_config#interface fastEthernet 0/1 //进入f0/1口进行配置

switch_config_f0/1#switchport mode trunk //配置f0/1口为trunk口做为上连

口 swicth_config_f0/1#interface range fastEthernet 0/2 – 12 //对f0/2 - 12口这11个口进行配置 Switch_config_if_range#switchport pvid 2 //将f0/2 – 12口配置成vlan2 swicth_config_ if_range #interface range fastEthernet 0/13 – 24 //对f0/13 - 24口这12个口进行配置 Switch_config_if_range#switchport pvid 3 //将f0/13 – 24口配置成vlan3 Switch_config_if_range#exit //退回到配置模式 Switch_config#write //保存配置

相关文档
最新文档