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 用于交換機(jī)間的互連,你可以在Fast Ethernet和Gigabit Ethernet Port或在 Fast or Gigabit EtherChannel bundle上設(shè)置Trunk,作為tr unk的端口用DTP(Dynamic Trunking Protocol)協(xié)議(也可以不用)來協(xié)商。 VLAN Trunk有五種模式和兩種種封裝: 五種模式為:on , off , desirable , auto , nonegotiate 兩種封裝為:ISL,802.1Q 另外,當(dāng)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) 交換機(jī)配置。 Console> (enable) set mls enable Console> (enable) set mls include ip_address Console> (enable)set mls flow {destination destination-source full}