国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

cisco交換機3548配置

2019-11-05 01:29:44
字體:
來源:轉載
供稿:網友
第一次連接交換機,配置終端參數為:
  波特率:9600;數據位:8;停止位:1;奇偶校驗:無;流控制:無。
  通過串口線連上路由器后,按回車,即可看到配置向導:
  (假如不是第一次配置,可以進入超級用戶模式后用命令setup調用以下過程)
  
  --- System Configuration Dialog ---
  
  At any point you may enter a question mark '?' for help.任何時候可以打?取得幫助
  Use ctrl-c to abort configuration dialog at any PRompt.按Ctrl-C可以取消并退出
  Default settings are in square brackets '[]'.默認參數在[]中
  
  Continue with configuration dialog? [yes/no]: y繼續交互配置嗎?回答:y
  Enter ip address: 10.1.1.249ip地址
  Enter IP netmask: 255.255.255.0子網掩碼
  Would you like to enter a default gateway address? [yes]: y設置默認網關?y
  IP address of default gateway: 10.1.1.254默認網關
  Enter host name [3548_9A]:
  
  The enable secret is a one-way cryptographic secret used
  instead of the enable passWord when it exists.
  
  Enter enable secret: _password輸入超級用戶密碼
  
  Would you like to configure a Telnet password? [yes]: y
  Enter Telnet password: _password輸入telnet密碼
  Would you like to enable as a cluster command switch? [yes/no]: n集群模式?n
  
  The following configuration command script was created:已建立以下配置信息
  
  ip subnet-zero
  interface VLAN1
  ip address 10.1.1.249 255.255.255.0
  ip default-gateway 10.1.1.254
  enable secret 5 $1$biZ3$AOLb9cMTtBwMtGB9lyBzr.
  line vty 0 15
  password _domainwlzx
  snmp community private rw
  snmp community public ro
  !
  end
  
  Use this configuration? [yes/no]:使用該配置信息嗎? y
  
  修改配置:
  
  禁止通過snmp治理:
  3548>enable
  password:
  3548#config term
  3548(config)#no snmp community private
  3548(config)#no snmp community public
  
  接著配置干道:(確定上級交換機對應端口已設為干道模式)
  3548(config)#inter g0/1 選擇第一個千兆口
  3548(config if)# switchport mode trunk設為干道模式
  假如g0/2用于連接另一臺3548,也設為干道
  3548(config)#inter g0/2
  3548(config if)# switchport mode trunk
  返回
  3548(config if)# exit
  3548(config)# exit
  3548#
  驗證: ping 10.1.1.254
  
  配置Vlan數據:
  3548#vlan database
  3548(vlan)#reset清除以前的配置
  3548(vlan)#vtp client設為vtp客戶模式
  3548(vlan)#vtp domain _domainvtp域是_domain
  3548(vlan)#vtp password ********設定vtp域密碼
  3548(vlan)#exit
  3548#
  驗證:show vtp status顯示vlan 數據
  show vtp counters
  show vlan
  同步后看到的vlan數目和名稱應與6506上的一致
  
  指定端口到Vlan、配置端口為portfast方式(快速建立連接):
  方法1:命令方式
  3548#config term
  3548(config)#inter f0/1配置1號快速以太網端口
  3548(config if)# switchport access vlan 2指定端口到Vlan 2
  3548(config if)# spanning-tree portfast配置端口為portfast方式
  3548(config)#inter f0/2配置1號快速以太網端口
  3548(config if)# switchport access vlan 2指定端口到Vlan 2
  3548(config if)# spanning-tree portfast配置端口為portfast方式
  ...對每個要設定的端口重復上述步驟。
  3548(config if)# exit

  3548(config)# exit
  3548#
  方法1:Web 方式
  (預先要安裝插件:jre-1-2-2-005-win-i-09-mar-2000.exe)
  打開瀏覽器連接設備:在地址欄輸入設備的治理頁面url,如3548_9a(10.1.1.248)為http://10.1.1.249/basiccfg.Html
  選中菜單port -> port configure -> 設port fast 為Enable
  選中菜單vlan -> vlan membership -> 指定端口所屬的Vlan號 可同時指定多個端口
  
  
  ! 注重: 假如把一個端口指定到不存在的VLAN上,3548交換機的VLAN同步會異常,此時應該為正確VLAN并重新“配置Vlan數據”
  
  保存配置信息:
  方法1:命令方式
  3548# write ( 或 copy running-config startup-config )
  方法1:Web 方式
  選中設備(而不是單個端口),點擊save configure按鈕。
  
  
  3548_9A#show run
  Building configuration...
  
  Current configuration:
  !
  version 12.0#軟件版本
  no service pad
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname 3548_9A#系統名稱
  !
  enable secret 5 $1$4ZMs$rfC.g/nN.owt3eW2uoCL/0#加密后的enable密碼
  !
  !
  !
  !
  !
  !
  ip subnet-zero
  !
  !
  !
  interface FastEthernet0/1#模塊0的1號快速以太網接口
  switchport access vlan 5#指定端口0/1到vlan 5
  spanning-tree portfast#假如接的是工作站,指定端口為portfast方式(不運行生成樹協議,加快建立連接速度)
  !
  interface FastEthernet0/2
  spanning-tree portfast#默認情況下端口屬vlan 1
  !
  interface FastEthernet0/3
  spanning-tree portfast
  !
  interface FastEthernet0/4
  spanning-tree portfast
  !
  interface FastEthernet0/5
  spanning-tree portfast
  !
  interface FastEthernet0/6
  spanning-tree portfast
  !
  interface FastEthernet0/7
  spanning-tree portfast
  !
  interface FastEthernet0/8
  spanning-tree portfast
  !
  interface FastEthernet0/9
  spanning-tree portfast
  !
  interface FastEthernet0/10
  spanning-tree portfast
  !
  interface FastEthernet0/11
  spanning-tree portfast
  !
  interface FastEthernet0/12
  spanning-tree portfast
  !
  interface FastEthernet0/13
  spanning-tree portfast
  !
  interface FastEthernet0/14
  spanning-tree portfast
  !
  interface FastEthernet0/15
  spanning-tree portfast
  !
  interface FastEthernet0/16
  spanning-tree portfast
  !
  interface FastEthernet0/17
  spanning-tree portfast
  !
  interface FastEthernet0/18
  spanning-tree portfast
  !
  interface FastEthernet0/19
  spanning-tree portfast
  !
  interface FastEthernet0/20
  spanning-tree portfast
  !
  interface FastEthernet0/21
  spanning-tree portfast
  !
  interface FastEthernet0/22
  spanning-tree portfast
  !
  interface FastEthernet0/23
  spanning-tree portfast
  !
  interface FastEthernet0/24
  spanning-tree portfast
  !
  interface FastEthernet0/25
  spanning-tree portfast
  !
  interface FastEthernet0/26

  spanning-tree portfast
  !
  interface FastEthernet0/27
  spanning-tree portfast
  !
  interface FastEthernet0/28
  spanning-tree portfast
  !
  interface FastEthernet0/29
  spanning-tree portfast
  !
  interface FastEthernet0/30
  spanning-tree portfast
  !
  interface FastEthernet0/31
  spanning-tree portfast
  !
  interface FastEthernet0/32
  spanning-tree portfast
  !
  interface FastEthernet0/33
  spanning-tree portfast
  !
  interface FastEthernet0/34
  spanning-tree portfast
  !
  interface FastEthernet0/35
  spanning-tree portfast
  !
  interface FastEthernet0/36
  spanning-tree portfast
  !
  interface FastEthernet0/37
  spanning-tree portfast
  !
  interface FastEthernet0/38
  spanning-tree portfast
  !
  interface FastEthernet0/39
  spanning-tree portfast
  !
  interface FastEthernet0/40
  spanning-tree portfast
  !
  interface FastEthernet0/41
  spanning-tree portfast
  !
  interface FastEthernet0/42
  spanning-tree portfast
  !
  interface FastEthernet0/43
  spanning-tree portfast
  !
  interface FastEthernet0/44
  spanning-tree portfast
  !
  interface FastEthernet0/45
  spanning-tree portfast
  !
  interface FastEthernet0/46
  spanning-tree portfast
  !
  interface FastEthernet0/47
  spanning-tree portfast
  !
  interface FastEthernet0/48
  spanning-tree portfast
  !
  interface GigabitEthernet0/1
  switchport mode trunk#設置G0/1為運行isl協議的干道,默認答應所有vlan通過
  !
  interface GigabitEthernet0/2
  !
  interface VLAN1
  ip address 10.1.1.249 255.255.255.0#本交換機的IP地址
  no ip directed-broadcast
  no ip route-cache
  !
  ip default-gateway 10.1.1.254#默認網關
  snmp-server engineID local 00000009020000036BC
  !
  line con 0
  transport input none
  stopbits 1
  line vty 0 4
  password _password#telnet密碼
  login
  line vty 5 15
  password _password#telnet密碼
  login
  !
  end

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 明溪县| 浦城县| 堆龙德庆县| 黑河市| 阳春市| 玛沁县| 义马市| 亳州市| 淮南市| 舒兰市| 靖远县| 甘肃省| 惠来县| 洛浦县| 长子县| 会理县| 神池县| 赣州市| 广东省| 华坪县| 阜城县| 伊金霍洛旗| 台江县| 德令哈市| 共和县| 皮山县| 定陶县| 鹿邑县| 调兵山市| 秦安县| 长海县| 南木林县| 仙居县| 龙里县| 东台市| 海口市| 江孜县| 台中县| 邯郸县| 富川| 乌苏市|