中职职业技能大赛_企业网精品.pptVIP

  • 3
  • 0
  • 约9.81千字
  • 约 43页
  • 2016-02-20 发布于湖北
  • 举报
RIP协议的redistribute命令 redistribute protocol [ metric metric-value] [ match internal | external nssa-external type] [route-map map-tag] OSPF协议的redistribute命令 redistribute protocol [ metric metric-value ] [ metric-type {1|2} ] [ tag tag-value ] [ route-map map-tag ] 重分发直连路由、静态路由和默认路由 redistribute connected [ metric metric-value ] redistribute connected [ subnets ] [ metric metric-value ] [ metric-type { 1 | 2 } ] [ tag tag-value ] [ route-map map-tag ] redistribute static [ metric metric-value ] redistribute static [ subnets ] [ metric metric-value ] [ metric-type { 1 | 2 } ] [ tag tag-value ] [ route-map map-tag ] default-information originate [ route-map route-map-name ] default-information originate [ always ] [ metric metric-value ] [ metric-type type-value ] [ route-map map-name ] 重分发直连路由、静态路由和默认路由示例 课程议题 三层交换机的路由配置 三层交换的路由功能 三层交换机默认开启路由功能 Switch(config)#ip routing (开启三层交换机路由功能) 三层交换机配置路由接口的两种方法 开启三层交换机物理接口的路由功能 Switch(config)#interface fastethernet 0/5 Switch(config-if)#no switchport Switch(config-if)#ip address 192.168.1.1 255.255.255.0 Switch(config-if)#no shutdown 关闭物理接口路由功能 Switch(config-if)# switchport 采用SVI方式(switch virtual interface) Switch(config)#interface vlan 10 Switch(config-if)#ip address 192.168.1.1.255 255.255.0 Switch(config-if)#no shutdown 三层交换机和路由器相连的网络 方法一(SVI): Switch(config)#interface f0/10 Switch(config-if)#switchport access vlan 10 Switch(config-if)#exit Switch(config)#interface vlan 10 switch(config-if)#ip address 192.168.10.1 255.255.255.0 Switch(config-if)#no shutdown F0/10 F1/0 三层交换机和路由器相连的网络(续) F0/10 F1/0 方法二(路由接口): Switch(config)#interface f0/10 Switch(config-if)#no switchport Switch(config-if)#ip address 192.168.10.1 255.255.255.0 Switch(config-if)#no shutdown 三层交换机路由协议的配置 静态路由 Switch(config)#ip route x.x.x.x x.x.x.x [x.x.x.x/interface] RIP Switch(config)#router rip Switch(config-router)#network X.X.X.X Switch(config-router)#version 2 注:三层交换机不支持no auto-summary OSPF Switch(config)#router ospf Switch(config)#network X.X

文档评论(0)

1亿VIP精品文档

相关文档