网络技术常用配置命令.pptVIP

  • 1
  • 0
  • 约1.96千字
  • 约 7页
  • 2018-02-15 发布于河南
  • 举报
网络技术常用配置命令

常用配置命令 CLI的五种模式 五种模式的进入与退出 1.进入: Red_Giantenable !当前模式是用户模式,输入enable进入特权模式 Password:xcxy2006 !密码验证 Red_Giant#configure terminal !当前模式是特权模式,输入configure terminal进入全局配置模式 Red_Giant(config)#hostname RouterA !更改主机名 RouterA (config)#interface fastethernet 1/1 !接口配置模式 RouterA (config-if)# ip address 192.168.0.1 255.255.255.0 !为路由器接口配置ip地址 switch(config)#vlan 10 !vlan配置模式 在交换机上创建vlan 2.退出: disable !从特权模式退到用户模式 end !从当前状态退到特权模式 exit !从当前状态退到上一级,一次只能退一级 接口名字的命名: 交换机:fastethernet 0/1-24 路由器:以太网口: fastethernet 1/1-2 广域网口:serial 1/1-2 * Red-Giant (config-vlan)# vlan配置模式 Red-Giant (config-if)# 接口配置模式 Red-Giant (config)# 全局配置模式 Red-Giant# 特权模式 Red-Giant 用户模式 特征 模式 实验步骤1: switch#configure terminal !进入全局模式 switch(config)# vlan 10 !创建vlan 10 switch(config-vlan)# name test10 !改名为test10 Switch(config)#vlan 20 !创建vlan 20 Switch(config-vlan)# name test20 !改名为test20 验证测试 Switch#show vlan !显示vlan配置 步骤2:将接口分配到vlan. Switch(config-if)# interface fastethernet 0/5 !进入f0/5 的接口配置模式 Switch(config-if)#switchport access vlan 10 !将f0/5 端口加入vlan 10中。 Switch(config-if)#interface range fastethernet 0/6-10 !进入f0/6 的接口配置模式 Switch(config-if)#switchport access vlan 20 !将f0/6 端口加入vlan 20中。 验证测试 :Switch#show vlan * * * Purpose: This figure introduces students to routing. The router must accomplish the items listed in the figure for routing to occur. Emphasize: Path determination occurs at Layer 3, the network layer. The path determination function enables a router to evaluate the available paths to a destination and to establish the best path. Routing services use network topology information when evaluating network paths. This information can be configured by the network administrator (static routes) or collected through dynamic processes (routing protocols) running in the network. Transition: How do you represent the path to the packet’s destination?

文档评论(0)

1亿VIP精品文档

相关文档