客服热线:4006986916

思科cisco 3560配置命令讲解

发布日期: 2022-04-13 09:46 浏览:97
核心摘要:有两种方式   第一种:   config#vlan ID 这里的ID是需要你个人给要划分的vlan起的编号   config-if#name 名字   switch#show vlan brief 查看vlan 用来检验是否配置成功   第二种:   switch#vlan database 交换机的vlan配置状态   switch(vlan)#vlan ID name 名字 配置vlan 并且分配相应的名字   二、3560上开启路由功能配置   switch(config)#ip routing

 思科cisco 3560配置命令讲解:cisco的好多个配置模式

  switch> 命令行模式;config#权利模式

  一、配置网络交换机vlan模式;有这两种方法

  第一种:

  config#vlan ID 这儿的ID是想要你本人给要区分的vlan起的序号

  config-if#name 名称

  switch#show vlan brief 查询vlan 用于检测是不是配置取得成功

  第二种:

  switch#vlan database 网络交换机的vlan配置情况

  switch(vlan)#vlan ID name 名称 配置vlan 而且分派对应的名称

  二、3560上打开路由器作用配置

  switch(config)#ip routing

  switch(config)#ip route ipaddress net-hop 配置路由器(静态数据)

  switch(config)#ip default-gateway ipaddress 配置网关ip

  三、打开汇聚链接配置

  #conf t

  SW(config)#interface range f1/1 -2

  SW(config-if)#channel-group 1 mode desirable/on

  SW(config-if)#swithport

  SW(config-if)#switchport mode trunk

  SW(config-if)#switchport trunk encap dot1q

  四、运行telnet管理方法模式

  switch(config)#line vty 0 4

  switch(config-line)#password 登陆密码

  switch(config-line)#login

  五、打开cisco日志作用

  switch(config)#logging on

  switch(config)#logging trap 信息内容

  switch(config)#logging host 你的IP地址

  switch(config)#logging facility 你选择的信息内容

  配置3550做为dhcp服务器

  六、配置cisco运行dhcp作用

  配置详细地址池

  switch(config)ip dhcp pool 名称

  switch(config-pool)network mask

  switch(config-pool)dns-server

  switch(config-pool)default-router 网关ip

  设定dhcp保存不分派的详细地址

  switch(config)ip dhcp excluded-address 地址 详细地址

免责声明:以上内容(如有图片或视频亦包括在内)为网络转载资源,内容的真实性、准确性和合法性未核实,本平台仅提供查询服务,如遇侵权、有害信息等,请联系网站管理员QQ通知, 我们将在核实后24小时内删除,感谢您的配合!
下一篇:

海尔冰箱噪音大怎么解决?

上一篇:

通过对无线路由器限速功能