當前位置:首頁 » 存儲配置 » 如何配置思科2960

如何配置思科2960

發布時間: 2022-01-08 14:50:59

㈠ cisco2960如何配置子介面

2960是二層交換機,不能配置子介面。要把接路由器的口設為TRUNK
做單臂,可以這樣:
# conf t
<config># vlan XXX (xxx對應的就是你的VLAN ID)
<config-vlan># no shut

<config-vlan>#exit
<config># int fa0/1 (假設此口連接路由器)
<config-if>#switch mode trunk

這樣,fa0/1就被設置為TRUNK模式,可以承載多個VLAN的流量了

㈡ 以下交換機配置如何實現(CISCO 2960)

你問的應該是設備基本操作吧 這些配置是通過全局配置模式做的
switch>enable 進入使能模式
switch#conf t 進入全局配置模式
之後敲你發的如上命令就行了
interface X X 會進入介面配置模式 需要敲EXIT返回全局配置模式

什麼叫區域網底層交換機的SHOW RUN參數

㈢ 思科 C2960配置

兩個交換機通過VTP設置,C2960交換機將自動學習到C3550交換機的VLAN信息,然後將C2960的相應埠劃入相應的VLAN即可。

配置如下:
C3550配置:
3550b#vlan database
3550b(vlan)#vtp ?
client Set the device to client mode.
domain Set the name of the VTP administrative domain.
password Set the password for the VTP administrative domain.
pruning Set the administrative domain to permit pruning.
server Set the device to server mode.
transparent Set the device to transparent mode.
v2-mode Set the administrative domain to V2 mode.

3550b(vlan)#vtp server //將C3550設為VTP伺服器,由它控制VLAN信息
Setting device to VTP SERVER.
3550b(vlan)#vtp domain ccnp //VTP域名,和C2960一致
Change vtp domain name to ccnp .
3550b(vlan)#exit
APPLY completed.
Exiting....
3550b#show vtp status //查詢VTP狀態
。。。
3550b#config t
3550b(config)#int g0/1
3550b(config-if)#switchport mode trunk //將3550和2960連接的埠設置為trunk模式

C2960配置:
2960#vlan database
2960(vlan)#vtp client //將C3550設為VTP伺服器,由它控制VLAN信息
Setting device to VTP client
2960(vlan)#vtp domain ccnp //VTP域名,和C3550一致
Change vtp domain name to ccnp .
2960(vlan)#exit
APPLY completed.
Exiting....
2960#show vtp status //查詢VTP狀態
。。。
2960#config t
2960(config)#int g0/1 //假設2960埠g0/1與3550相連
2960(config-if)#switchport mode trunk //將3550和2960連接的埠設置為trunk模式
2960(config-if)#exit
2960(config)#exit
2960#show vlan //查看3550的vlan信息是否傳遞到2960

將2960上的相應埠劃入相應VLAN

以上 供參考,有問題M我。

㈣ 思科交換機2960怎麼配置snmp

ro還是wr? 具體的請網路搜索攻城獅論壇 我前幾天看到過 還有不少學習視頻電子書 實驗手冊 我剛在那裡報名考完CCNA 希望我們一起學習 多認識些學網路的朋友們

㈤ 思科交換機怎麼配置

1、首先將一台PC和一台交換機用線纜連接起來。

(5)如何配置思科2960擴展閱讀

交換機的主要功能包括物理編址、網路拓撲結構、錯誤校驗、幀序列以及流控。交換機還具備了一些新的功能,如對VLAN(虛擬區域網)的支持、對鏈路匯聚的支持,甚至有的還具有防火牆的功能。

學習:乙太網交換機了解每一埠相連設備的MAC地址,並將地址同相應的埠映射起來存放在交換機緩存中的MAC地址表中。

轉發/過濾:當一個數據幀的目的地址在MAC地址表中有映射時,它被轉發到連接目的節點的埠而不是所有埠(如該數據幀為廣播/組播幀則轉發至所有埠)。

消除迴路:當交換機包括一個冗餘迴路時,乙太網交換機通過生成樹協議避免迴路的產生,同時允許存在後備路徑。

交換機除了能夠連接同種類型的網路之外,還可以在不同類型的網路(如乙太網和快速乙太網)之間起到互連作用。如今許多交換機都能夠提供支持快速乙太網或FDDI等的高速連接埠,用於連接網路中的其它交換機或者為帶寬佔用量大的關鍵伺服器提供附加帶寬。

一般來說,交換機的每個埠都用來連接一個獨立的網段,但是有時為了提供更快的接入速度,我們可以把一些重要的網路計算機直接連接到交換機的埠上。這樣,網路的關鍵伺服器和重要用戶就擁有更快的接入速度,支持更大的信息流量。

最後簡略的概括一下交換機的基本功能:

1. 像集線器一樣,交換機提供了大量可供線纜連接的埠,這樣可以採用星型拓撲布線。

2. 像中繼器、集線器和網橋那樣,當它轉發幀時,交換機會重新產生一個不失真的方形電信號。

3. 像網橋那樣,交換機在每個埠上都使用相同的轉發或過濾邏輯。

4. 像網橋那樣,交換機將區域網分為多個沖突域,每個沖突域都是有獨立的寬頻,因此大大提高了區域網的帶寬。

5. 除了具有網橋、集線器和中繼器的功能以外,交換機還提供了更先進的功能,如虛擬區域網(VLAN)和更高的性能。

㈥ 思科2960s怎麼配置LACP

思科交換機的埠匯聚
Cat2950的配置:
Cat2950#conf t
Cat2950(config)#vtp mode server
Cat2950(config)#vtp domain cisco
Cat2950(config)#vlan 10
Cat2950(config-vlan)#exit
Cat2950(config)#vlan 20
Cat2950(config-vlan)#exit
Cat2950(config)#int range fa0/5 - 14
Cat2950(config-if-range)#switchport access vlan 10
Cat2950(config-if-range)#exit
Cat2950(config)#int range fa0/15 - 26
Cat2950(config-if-range)#switchport access vlan 20
Cat2950#conf t
Cat2950(config)#int vlan 10
Cat2950(config-if)#ip address 10.10.10.10 255.255.255.0
Cat2950(config)#ip default-gateway 10.10.10.1
Cat2950(config-if)#no shutdown
Cat2950(config)#int port-channel 1
Cat2950(config-if)#exit
Cat2950(config)#int fa0/2
Cat2950(config-if)#channel-group 1 mode on
Cat2950(config-if)#exit
Cat2950(config)#int fa0/3
Cat2950(config-if)#channel-group 1 mode on
Cat2950(config-if)#exit
Cat2950(config)#int port-channel 1
Cat2950(config-if)#switchport mode trunk
Cat2950(config-if)#switchport trunk native vlan 10
cisco7200的配置:
Cisco7200#conf t
Cisco7200(config)#int port-channel 1
Cisco7200(config-if)#exit
Cisco7200(config)#int fa3/0
Cisco7200(config-if)#channel-group 1
Cisco7200(config-if)#exit
Cisco7200(config)#int fa4/0
Cisco7200(config-if)#channel-group 1
Cisco7200(config-if)#exit
Cisco7200(config)#int port-channel 1.10
Cisco7200(config-subif)#encapsulation dot1Q 10 native
Cisco7200(config-subif)#ip address 10.10.10.1 255.255.255.0
Cisco7200(config-subif)#exit
Cisco7200(config)#int port-channel 1.20
Cisco7200(config-subif)#encapsulation dot1Q 20
Cisco7200(config-subif)#ip address 10.10.11.1 255.255.255.0
Cisco7200(config-subif)#exit
Cisco7200(config)#exit
埠的聚合有兩種方式,一種是手動的方式,一個是自動協商的方式。(1)手動方式 這種方式很簡單,設置埠成員鏈路兩端的模式為「on」。
命令格式為: channel-group <number組號> mode on
(2)自動方式 自動方式有兩種協議:PAgP(Port Aggregation Protocol)和LACP(Link aggregation Control Protocol)。
PAgP:Cisco設備的埠聚合協議,有auto和desirable兩種模式。
auto模式在協商中只收不發,desirable模式的埠收

㈦ 如何配置cisco交換機

你好~

一般有兩種方法:

1、控制台埠(Console):可以直接對交換機進行Cisco交換機配置。

2、遠程登錄(Telnet):通過TELNET程序對已經設置了IP的交換機進行遠程配置,一般等控制台埠配置好交換機的IP後才可以進行。除了以上的兩種方法外,其實還有兩種方法:

1、WEB的配置方式,此方法只能是Cisco交換機配置的一般設置。

2、硬體自帶的應用程序,專用的程序,一般很少用。

建立控制台連接到交換機,一般交換機自帶一根Console線,一端連接到交換機的Comsole口,一端連接到電腦的串列口。打開超級終端,一般就可以連接到交換機。具體的參數設置如下,這樣就可以連接到交換機了。



希望可以幫助到你~

㈧ 求助:思科2960交換機怎麼配置

這個配置的話,我覺得還是可以的,你一定要在官方網站上找好配置才可以的。

㈨ Cisco 2960配置

路由器上用ACL控制就行啦,vlan間的訪問應用在子介面上,外網的訪問應用在默認路由的出介面上,
如:f0/0接交換機,f0/1接internet
int f0/0
no sh
int f0/0.2
en do 2
ip add 192.168.2.1 255.255.255.0
ip acc 3 out ##禁止vlan2,3訪問
int f0/0.3
en do 3
ip add 192.168.3.1 255.255.255.0
int f0/0.4
en do 4
ip route 0.0.0.0 0.0.0.0 f0/1
int f0/1
ip add 1.1.1.1 255.255.255.252
ip acc INTERNET out ##只允許列表INTERNET訪問外網
no sh
ip route 0.0.0.0 0.0.0.0 int f0/1
acc 3 d 192.168.3.0 0.0.0.255
acc 3 p a
ip acce ex INTERNET
p ip 192.168.4.2 host any ##匹配允許上外網的主機

㈩ 思科 2960交換機配置

交換機基本狀態:
switch: ;ROM狀態, 路由器是rommon>
hostname> ;用戶模式
hostname# ;特權模式
hostname(config)# ;全局配置模式
hostname(config-if)# ;介面狀態

交換機口令設置:
switch>enable ;進入特權模式
switch#config terminal ;進入全局配置模式
switch(config)#hostname ;設置交換機的主機名
switch(config)#enable secret xxx ;設置特權加密口令
switch(config)#enable password xxa ;設置特權非密口令
switch(config)#line console 0 ;進入控制台口
switch(config-line)#line vty 0 4 ;進入虛擬終端
switch(config-line)#login ;允許登錄
switch(config-line)#password xx ;設置登錄口令xx
switch#exit ;返回命令

交換機VLAN設置:
switch#vlan database ;進入VLAN設置
switch(vlan)#vlan 2 ;建VLAN 2
switch(vlan)#no vlan 2 ;刪vlan 2
switch(config)#int f0/1 ;進入埠1
switch(config-if)#switchport access vlan 2 ;當前埠加入vlan 2
switch(config-if)#switchport mode trunk ;設置為干線
switch(config-if)#switchport trunk allowed vlan 1,2 ;設置允許的vlan
switch(config-if)#switchport trunk encap dot1q ;設置vlan 中繼
switch(config)#vtp domain ;設置發vtp域名
switch(config)#vtp password ;設置發vtp密碼
switch(config)#vtp mode server ;設置發vtp模式
switch(config)#vtp mode client ;設置發vtp模式

交換機設置IP地址:
switch(config)#interface vlan 1 ;進入vlan 1
switch(config-if)#ip address ;設置IP地址
switch(config)#ip default-gateway ;設置默認網關
switch#dir flash: ;查看快閃記憶體

交換機顯示命令:
switch#write ;保存配置信息
switch#show vtp ;查看vtp配置信息
switch#show run ;查看當前配置信息
switch#show vlan ;查看vlan配置信息
switch#show interface ;查看埠信息
switch#show int f0/0 ;查看指定埠信息

熱點內容
linux安全模式 發布:2024-05-19 07:27:25 瀏覽:175
為什麼安卓手機安裝不了cpk 發布:2024-05-19 07:22:21 瀏覽:311
pythonempty 發布:2024-05-19 07:15:16 瀏覽:928
路由器虛擬伺服器搭建 發布:2024-05-19 07:15:15 瀏覽:997
方舟編譯器何時推送 發布:2024-05-19 07:15:10 瀏覽:597
魔獸世界自動釣魚腳本 發布:2024-05-19 06:43:07 瀏覽:495
cbs加密 發布:2024-05-19 06:29:56 瀏覽:201
ssis存儲過程 發布:2024-05-19 06:21:31 瀏覽:631
怎樣刪除小視頻文件夾 發布:2024-05-19 05:49:29 瀏覽:589
開啟php短標簽 發布:2024-05-19 05:44:12 瀏覽:473