Cisco 系列交换机的管理与配置
一、 Cisco4000 系列交换机
Cisco4000 系列交换机完全基于 2 层交换,从理论上讲,可以把他当成一台普通 HUB 来
管理。机房现有一台 Catalyst4003 交换机,IP 为:61.139.46.62
1、查看交换机所配 vlan
sc-nj-switch-4000> (enable) sh vlan,响应类似如下:
VLAN Name Status IfIndex Mod/Ports, Vlans
---- -------------------------------- --------- ------- --------- -----------------------------
1 default active 4 3/4-6
10 Lan_PPP active 59 2/2-3,2/6-12
11 Huawei-A8010 active 64 2/13,2/15-22
12 fttx+lan_neijiang_6_middleschool active 65 2/44
13 ADSL_8750 active 66 2/46-47
14 fttx+lan_fangxiang_keji_company active 78 2/45
15 fttx+lan_wangshirufeng_netbar active 79 2/23
16 fttx+lan_eWangqingshen_netbar active 80 2/24
17 fttx+lan_yuhang_netbar active 81 2/25
2、查看系统配置
sc-nj-switch-4000> (enable) sh config
通过该命令,可以了解该交换机所有相关信息,比如 IP 地址等。
3、查看交换机 FE 端口
目前我们所使用的 Catalyst4003 交换机有 48 个 FE 口,6 个 GE 口,除去 2 个 TRUNK 外,
FE 口可用为 47,GE 口可用为 5。
sc-nj-switch-4000> (enable) sh port 2/34
,
系统响应类似如下:
Port Name Status Vlan Level Duplex Speed Type
----- ------------------ ---------- ---------------- ------ ----- ----- -------
2/34 connected 20 normal full 100 10/100BaseTX
Port Security Secure-Src-Addr Last-Src-Addr Shutdown Trap IfIndex
----- -------- ----------------- ----------------- -------- -------- -------
2/34 disabled No enabled 42
Port Status Channel Channel Neighbor Neighbor
mode status device port
----- ---------- --------- ----------- ------------------------- ----------
2/34 connected auto not channel