思科交換機命令,在思科交換機模擬軟體上進行埠聚合實驗,使用

2021-04-03 06:20:21 字數 5712 閱讀 5411

1樓:青仔

哥們你做了繫結埠的動作沒啊? inte***ce range f0/1-2 channel-group 1 mode on 把1、2埠繫結成etherchannel 然後才能 inte***ce port-channel 1 才發現 哥們 是port-channel 不是port-group 給你個參考資料吧:http:

在思科交換機模擬軟體上進行埠聚合實驗,使用命令 switch(config)#inte***ce port-group 1 卻老提示錯誤

2樓:網際網路答疑

哥們你做了繫結埠的動作沒啊?

inte***ce range f0/1-2channel-group 1 mode on把1、2埠繫結成etherchannel然後才能

inte***ce port-channel 1才發現 哥們 是port-channel 不是port-group

3樓:匿名使用者

命令輸的不對,自已到書上查

【packet tracer交換機配置】switch(config-vlan)#命令下面沒有switchport?

4樓:匿名使用者

switchport是將介面配置為2層口,你在vlan介面裡顯然用不了這個命令。批量配置埠可以用range關鍵字,int range f0/1 - 10

5樓:匿名使用者

switchport 這種方式在神州數碼的裝置上可以(命令式switchport inte***ce e0/0/1-10),其他的裝置行不行不清楚,

但是思科裝置不能夠使用switchport的命令來實現為vlan新增埠

正確的命令是在全域性模式下(config)

int range [port name](輸入埠的名字入f0/1-12)

sw mode acc

sw acc vlan [vlan id] (在建立完vlan後輸入vlan號)

6樓:匿名使用者

你要加哪個介面就在哪個介面下面 打這個命令

思科模擬器埠聚合問題

7樓:匿名使用者

兩臺交換機寫入以下命令即可(三層交換機):switch>en

switch#configure terminalswitch(config)#vlan 10

switch(config-vlan)#exit

switch(config)#vlan 20

switch(config-vlan)#exit

switch(config)#inte***ce port-channel 1

switch(config-if)#switchport mode trunk

switch(config-if)#exit

switch(config)#inte***ce range fastethernet 0/1-2

switch(config-if-range)#channel-group 1 mode on

switch(config-if-range)#exit

switch(config)#inte***ce range fastethernet 0/23-24

switch(config-if-range)#switchport trunk encapsulation dot1q

switch(config-if-range)#switchport mode trunk

switch(config-if-range)#no shutdown

switch(config-if-range)#exit

switch(config)#inte***ce range fastethernet 0/1-2

switch(config-if-range)#switchport trunk encapsulation dot1q

switch(config-if-range)#switchport mode trunk

switch(config-if-range)#no shutdown switch(config-if-range)#exit

8樓:匿名使用者

要實現埠聚合,必需先把埠封裝成trunk模式,再**在一起,埠匯聚都是在交換機與交換機之間的連線

在思科模擬器上怎麼進行交換機的基本配置

9樓:軒_燦爛

樓主,你好

在模擬器上新增思科交換機

進行cli輸入

使用者模式hostname# ;

特權模式hostname(config)# ;

全域性配置模式hostname(config-if)# ;

交換機口令設定:

switch>enable ;進入特權模式

switch#config terminal ;進入全域性配置模式

switch(config)#hostname csico ;設定交換機的主機名

switch(config)#enable secret csico1 ;設定特權加密口令

switch(config)#enable password csico8 ;設定特權非密口令

switch(config)#line console 0 ;進入控制檯口

switch(config-line)#line vty 0 4 ;進入虛擬終端

switch(config-line)#login ;虛擬終端允許登入

switch(config-line)#password csico6 ;設定虛擬終端登入口令csico6

switch#exit ;返回命令

交換機vlan建立,刪除,埠屬性的設定,配置trunk埠,將某埠加入vlan中,配置vtp:

switch#vlan database ;進入vlan設定

switch(vlan)#vlan 2 ;建vlan 2

switch(vlan)#vlan 3 name vlan3 ;建vlan 3並命名為vlan3

switch(vlan)#no vlan 2 ;刪vlan 2

switch(config)#int f0/1 ;進入埠1

switch(config)#speed ? 檢視speed命令的子命令

switch(config)#speed 100 設定該埠速率為100mb/s (10/auto)

switch(config)#duplex ? 檢視duplex的子命令

switch(config)#duplex full 設定該埠為全雙工(auto/half)

switch(config)#description to_pc1 這是該埠描述為to_pc1

switch(config-if)#switchport access vlan 2 ;當前埠加入vlan 2

switch(config-if)#switchport mode trunk ;設定為trunk模式(access模式)

switch(config-if)#switchport trunk allowed vlan 1,2 ;設定允許的vlan

switch(config-if)#switchport trunk encap dot1q ;設定vlan 中繼

switch(config)#vtp domain vtpserver ;設定vtp域名相同

switch(config)#vtp password ;設定發vtp密碼

switch(config)#vtp server ;設定vtp伺服器模式

switch(config)#vtp client ;設定vtp客戶機模式

交換機設定ip地址,預設閘道器,域名,域名伺服器,配置和檢視mac地址表:

switch(config)#inte***ce vlan 1 ;進入vlan 1

switch(config-if)#ip address 192.168.1.1 255.255.255.0 ;設定ip地址

switch(config)#ip default-gateway 192.168.1.6 ;設定預設閘道器

switch(config)#ip domain-name cisco.com 設定域名

switch(config)#ip name-server 192.168.1.18 設定域名伺服器

switch(config)#mac-address-table? 檢視mac-address-table的子命令

switch(config)#mac-address-table aging-time 100 設定超時時間為100ms

switch(config)#mac-address-table permanent 0000.0c01.bbcc f0/3 加入永久地址在f0/3埠

switch(config)#mac-address-table restricted static 0000.0c02.bbcc f0/6 f0/7 加入靜態地址目標埠f0/6源埠f0/7

switch(config)#end

switch#show mac-address-table 檢視整個mac地址表

switch#clear mac-address-table restricted static 清除限制性靜態地址

交換機顯示命令:

switch#write ;儲存配置資訊

switch#show vtp ;檢視vtp配置資訊

switch#show run ;檢視當前配置資訊

switch#show vlan ;檢視vlan配置資訊

switch#show inte***ce ;檢視埠資訊

switch#show int f0/0 ;檢視指定埠資訊

switch#show int f0/0 status;檢視指定埠狀態

switch#dir flash: ;檢視快閃記憶體

10樓:匿名使用者

恩。現在需要轉換ip來操作

去下個ip軟體。。九州ip。。就可以了

直接在官網下的喲。

我在思科交換機輸入這個命令時候,怎麼不行啊,就是開啟埠安全,switch(config-if-range)#switchport po

11樓:匿名使用者

switch(config-if)#switchport port-security ?

mac-address secure mac address

maximum max secure addresses

violation security violation mode

switch(config-if)#switchport po

command rejected: fastethernet0/1 is a dynamic port.

dynamic port不能啟用port security,只有靜態接入埠或中繼埠才行。要將模式切換為access。動態埠是自動識別的,既可以為access,也可以為trunk,所以要設為access

解決辦法:

switch(config-if)#switchport mode access

接下來再switchport po ……

思科模擬器交換機怎麼配置ip,思科交換機怎麼給埠配置ip?

二層交換機可以配ip,但只能在vlan中配,如果要設定tel 的話要將網管指向三層裝置 二層只是透傳vlan,三層 起ip二層switch mode access switch access vlan 10三層 int vlan 10 ip add 192.168.10.1 255.255.255....

交換機中的快速埠命令如何設定,思科交換機怎麼給埠配置ip?

交換機品牌是什麼。speed 100思科的,交換機埠最大速率為100m s 你是指portfast特性麼?介面下spanning tree portfast,建議加上spanning tree bpduguard 進入要設定的埠 執行portfast 思科交換機怎麼給埠配置ip?1 首先交換機連線到...

關於思科三層交換機,思科三層交換機配置命令

假設vlan12 網段 192.168.12.0 16 access list 101 permit ip 192.168.12.0 0.0 host 192.168.16.105 access list 101 permit ip 192.168.12.0 0.0 host 192.168.16....