5.配置VLAN: Console> (enable) set vlan vlan_num [name name] Console> (enable) show vlan vlan_num Console> (enable) set vlan vlan_num mod_num/port_num Console> (enable) show vlan vlan_num Console> (enable) show port [mod_num/port_num]
6. 配置 VLAN Trunks on Fast Ethernet and Gigabit Ethernet Ports: VLAN Trunk 用于交换机间的互连,你可以在Fast Ethernet和Gigabit Ethernet Port或在 Fast or Gigabit EtherChannel bundle上设置Trunk,作为tr unk的端口用DTP(Dynamic Trunking Protocol)协议(也可以不用)来协商。 VLAN Trunk有五种模式和两种种封装: 五种模式为:on , off , desirable , auto , nonegotiate 两种封装为:ISL,802.1Q 另外,当Trunk 配置后,所有VLAN都被加入到此Trunk中,你可以增加或删除Trunk中的VALN,但是你不能删除缺省VLAN(即VLAN1)。 配置如下: Console> (enable) set trunk mod_num/port_num {on desirable auto} {isl dot1q negotiate } Console> (enable) show trunk
MLS由三部分组成: Multilayer Switching-Switching Engine (MLS-SE):Catalyst 5000 series switch with the NFFC or NFFC II。 Multilayer Switching-Route Processor (MLS-RP):The MLS-RP provides Cisco IOS-based multiprotocol routing, network services, and central configuration and control for the switches。 Multilayer Switching Protocol (MLSP)---The protocol running between the MLS- SE and MLS-RP to enable MLS。
1) 路由器配置。 Router(config)#mls rp ip Router(config-if)#mls rp vtp-domain [domain_name] Router(config-if)#mls rp vlan-id [vlan_id_num] Router(config-if)#mls rp ip Router(config-if)#mls rp management-interface 2) 交换机配置。 Console> (enable) set mls enable Console> (enable) set mls include ip_address Console> (enable)set mls flow {destination destination-source full}