纺织
思科cisco 3560配置命令讲解
发布日期: 2022-04-13 09:46  浏览:111

 思科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 地址 详细地址

推荐资讯
拨打电话