13-单臂路由-vtp.ppt
文本预览下载声明
内容回顾 VLAN产生的背景 VLAN的运作 VLAN的配置 配置实例 VLAN 间路由概述 4、VLAN之间的路由(单臂路由) 配置实例 步骤1:交换机中继接口配置 2950(config)#int f0/12 2950(config-if)#switchport mode trunk 步骤2:路由器单臂路由配置 2621(config)#int f0/0 2620(config-if)#no shu 2621(config)#int f0/0.1 //子接口1,VLAN10数据传输 2621(config-subif)#encapsulation dot1q 10 //使用802.1q封装VLAN10的帧 2621(config-subif)#ip address 192.168.1.100 255.255.255.0 2621(config)#int f0/0.2 //子接口2,VLAN20中数据传输 2621(config-subif)#encapsulation dot1q 20 //使用802.1q封装VLAN20的帧 2621(config-subif)#ip address 192.168.2.100 255.255.255.0 VTP协议(VLAN Trunking Protocol ) 一个能够宣告VLAN配置信息的信息系统 通过一个共有的管理域,维持VLAN配置信息的一致性 VTP只能在主干端口发送要宣告的信息 支持混合的介质主干连接(快速以太网, FDDI, ATM) VTP模式 VTP是如何工作的 VTP裁剪 VTP配置步骤 1.全局配置模式下,定义VTP模式: Switch(config)#vtp mode {server|client|transparent} 2.定义VTP域名,在同一VLAN管理域的交换机的VTP域名必须相同.该域名长度为1到32字符: Switch(config)#vtp domain {domain-name} 3.设置VTP域的密码,同一VTP域里的交换机的VTP域的密码必须一致,密码长度为8到64字符.可选: Switch(config)#vtp password {password} Purpose: This figure shows a router on a stick being used to interconnect VLANs. Emphasize: The VLANs are on different networks. Without a network layer device the could not communicate. Review the protocols operating at each of the OSI layers. 一个VLAN =一个广播域 = 逻辑网段 (子网) Slide 1 of 1 Purpose: Emphasize: Notes: VTP is a Cisco proprietray feature. VTP is a Layer 2 messaging protocol that maintains VLAN configuration consistency by managing the addition, deletion, and renaming of VLANs on a network-wide basis. VTP minimizes misconfigurations and configuration inconsistencies that can cause several problems, such as duplicate VLAN names, incorrect VLAN-type specifications, and security violations. A VTP domain (also called a VLAN management domain) is one switch or several interconnected switches sharing the same VTP domain. A switch is configured to be in only one VTP domain. You make global VLAN configuration changes for the domain by using the Cisco IOS command-line interface (CLI), Cisco Visual Switch Manager Software, or Simple Network Ma
显示全部