分布層交換機治理接口的設定步驟 1. 指定治理接口sc0的ip地址; 2. 指定治理接口所屬的vlan,缺省為vlan1; 3. 指定治理接口的缺省網關。 sc0是Switch management interface 例如: set interface sc0 202.121.48.2 255.255.255.192 set interface sc0 vlan1 set ip route default 202.121.48.63 set interface sc0 up 可以歸并為二條命令 set interface sc0 1 202.121.48.2 255.255.255.192 202.121.48.63 set interface sc0 up
顯示sc0和sl0的當前配置 show interface sl1是將console port配置成通過slip可以治理交換,也需要設置ip地址以及目的ip地址。是一種帶外治理(共兩種:console port, slip-aux)。
流掩碼(Flow Mask)模式 用來決定將數據包中多少信息放入MLS緩存中,而不是用來將數據包與MLS緩存中現有條目進行比較的。MLS-SE支持三種流掩碼模式: 1. 目的IP(沒有訪問列表,缺省):最不具體的流掩碼(The least specific flow mask mode)。 2. 源-目的IP(標準訪問列表) 3. IP流(擴展訪問列表):最具體的流掩碼(The most specific flow mask mode )。 在mls-se上設置流掩碼:set mls flow [destinationdestination-sourcefull]
The MLS-SE supports only one flow mask for all MLS-RP's connected to the MLS-SE. If the MLS-SE receives messages indicating different flow masks from different MLS-RP's the MLS-SE will set it's flow mask to the most specific flow mask. MLS-RP's running IOS 11.3 or later do not automatically support input access lists. To incorporate input access-lists the global configuration command 'mls rp ip input-acl' must be configured.
查看虛擬路由器的IP地址和MAC地址地兩種方法: 1. show ip arp 2. show standby Ethernet3 - Group 1 Local state is Standby, priority 100 Hellotime 3 holdtime 10 Next hello sent in 00:00:00.898 Hot standby IP address is 202.121.49.251 configured Active router is 202.121.49.250 eXPires in 00:00:08 Standby router is local Standby virtual mac address is 0000.0c07.ac01 shtu-4500#
PIM DM非常有用的情形: 1. 發送方和接受訪彼此接近(Source and receivers close together); 2. 發送方很少,接受方很多(Few sources and many receivers); 3. Multicast數據流的數量很大(High volume of multicast traffic); 4. Multicast數據流是經常性的(Constant multicast data streams)。
PIM SM非常有用的情形: 1. 在一個Multicast組中有較少的接受方(Few receivers in each group);
顯示Multicast路由表實例: shtu-4500>sh ip mroute IP Multicast Routing Table Flags: D - Dense, S - Sparse, C - Connected, L - Local, P - Pruned R - RP-bit set, F - Register flag, T - SPT-bit set, J - Join SPT X - Proxy Join Timer Running Timers: Uptime/Expires Interface state: Interface, Next-Hop or VCD, State/Mode
訪問控制列表應用In和Out ip access-group:可以應用于進入或外出的數據流上。In訪問控制列表在數據包進入接口、選擇路由之前,對它進行檢查。Out訪問控制列表在數據包選擇路由之后,離開接口之前,對它進行檢查。 Access-class:In指明誰可以Telnet到這臺設備。Out指明當用戶已登錄到網絡設備內部時可以Telnet到哪里。
端口安全設置和檢查 1. 基于Set/CLI命令:set port security mod_num/port_num enable mac_address show port mod_num/port_num 2. 基于IOS命令: port secure [max-mac-count maxinum_mac_count] show mac-address-table security [type module/port] maxinum_mac_count缺省值132,范圍1~132。 端口安全中進行MAC地址鎖定有兩種方式: 1. MAC地址的靜態指定:治理員設置,比動態學習的更安全,但治理工作量大。 2. MAC地址的動態學習:在端口上第一個源MAC地址成為安全MAC地址。
SPAN Cisco switches have a Switched Port Analyzer (SPAN) feature enables you to monitor traffic on any port for analysis by a network analyzer device or RMON probe. 顯示SPAN信息 show span
填空題!by default,the catalyst switch software sends error messages to the console terminal enter the command you would use to check for error message if they are redirected to another destination.