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

首頁(yè) > 學(xué)院 > 網(wǎng)絡(luò)通信 > 正文

Catalyst 3550的一些新特性

2019-11-04 23:23:37
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

  1. Layer 3 routing
  
  3550#config t
  Enter configuration commands, one per line. End with CNTL/Z.
  3550(config)#int f0/10
  3550(config-if)#no switchport
  3550(config-if)#ip add 10.10.10.10 255.255.255.0
  3550(config-if)#no shut
  3550(config-if)#
  
  通過(guò)‘no switchport’配置命令, 就可以把3550中的layer 2 端口變成和一般路由器的fastethernet 端口沒(méi)什么區(qū)別, 在里面, 你可以分配ip address或者做訪問(wèn)列表的控制、Qos相關(guān)的配置等等....
  
  2. Security
  
  當(dāng)你在機(jī)房放置一臺(tái)3550,但你不能保證其物理上的安全, 就可以考慮使用取消密碼恢復(fù).
  配置命令為: (config)#no service passWord-recovery
  這樣就可以防止一些人通過(guò)密碼恢復(fù)來(lái)達(dá)到控制交換機(jī)的目的。
  當(dāng)交換機(jī)啟動(dòng)時(shí)候被中斷的時(shí)候, 就要求你是否要‘刪除交換機(jī)的配置’,假如選擇N,交換機(jī)仍然正常啟動(dòng)....
  
  3. Extended Range VLANs
  
  假如3550交換機(jī)處在VTP 透明模式下, 就可以使用 extended range VLANs (1006-4094), 這樣你就可以擴(kuò)展你的VLAN使用數(shù)量....
  
  配置如下:
  3550(config)#vtp mode server
  Setting device to VTP SERVER mode
  3550(config)#vlan 2000
  3550(config-vlan)#exit
  Extended VLANs not allowed in VTP SERVER mode
  
  在server mode下, 不讓使用此特性
  
  3550(config)#vtp mode transparent
  Setting device to VTP TRANSPARENT mode.
  3550(config)#vlan 2000
  3550(config-vlan)#exit
  3550(config)#end
  3550#show vlan
  
  .............................................................................
  
  VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
  ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
  1 enet 100001 1500 - - - - - 0 0
  3 enet 100003 1500 - - - - - 0 0
  4 enet 100004 1500 - - - - - 0 0
  6 enet 100006 1500 - - - - - 0 0
  200 enet 100200 1500 - - - - - 0 0
  1002 fddi 101002 1500 - - - - - 0 0
  1003 tr 101003 1500 - - - - - 0 0
  1004 fdnet 101004 1500 - - - ieee - 0 0
  1005 trnet 101005 1500 - - - ibm - 0 0
  
  2000 enet 102000 1500 - - - - - 0 0
  
  4. standard VLAN configurations
  
  你可以在全局配置模式下或者VLAN 配置模式下進(jìn)行配置范圍在1-1005范圍的VLAN
  
  3550#config t
  Enter configuration commands, one per line. End with CNTL/Z.
  3550(config)#vlan 50
  3550(config-vlan)#name test
  3550(config-vlan)#end
  
  或者
  
  3550#vlan database
  3550(vlan)#vlan 20 name test20
  VLAN 20 added:
   Name: test20
  3550(vlan)#exit
  APPLY completed.
  Exiting....
  
  5. PRotected Ports ( 類似于P VLAN)
   有一些應(yīng)用要求同一個(gè)交換機(jī)上的不同端口之間不能有流量進(jìn)出,Protected Port的用法就是在交換機(jī)的端口之間沒(méi)有單播、多播、廣播流交換。所以, 它們假如設(shè)置了Protected Port,流量就必須由第3層設(shè)備進(jìn)行轉(zhuǎn)發(fā)。
  
  3550#config t
  Enter configuration commands, one per line. End with CNTL/Z.
  3550(config)#int f0/13
  3550(config-if)#switchport ?
  access Set access mode characteristics of the interface
  block Disable forwarding of unknown uni/multi cast addresses
  broadcast Set broadcast suppression level on this interface
  host Set port host
  mode Set trunking mode of the interface
  multicast Set multicast suppression level on this interface
  nonegotiate Device will not engage in negotiation protocol on this
   interface
  port-security Security related command
  priority Set appliance 802.1p priority
  
  protected Configure an interface to be a protected port
  
  trunk Set trunking characteristics of the interface
  unicast Set unicast suppression level on this interface
  voice Voice appliance attributes
  
  3550(config-if)#switchport protected
  3550(config-if)#end
  
  6.SSH
  
  對(duì)于網(wǎng)絡(luò)設(shè)備,你假如要遠(yuǎn)程治理它,必定要使用遠(yuǎn)程登陸,而要使用遠(yuǎn)程登陸,自然要在服務(wù)器上啟用Telnet服務(wù)。但是Telnet服務(wù)有一個(gè)致命的弱點(diǎn)——它以明文的方式傳輸用戶名及口令,所以,很輕易被別有專心的人竊取口令。目前,一種有效代替Telnet服務(wù)的有用工具就是SSH服務(wù)。SSH客戶端與服務(wù)器端通訊時(shí),用戶名及口令均進(jìn)行了加密,有效防止了對(duì)口令的竊聽(tīng)。
  
  SSH 目前有SSH Ver 1和Ver 2, 3550只支持Ver 1方式。
  
  配置如下:
  3550#config t
  Enter configuration commands, one per line. End with CNTL/Z.
  3550(config)#crypto ?
  key Long term key Operations
  
  3550(config)#crypto key ?
  generate Generate new keys
  pubkey-chain Peer public key chain management
  zeroize Remove keys
  
  3550(config)#crypto key gene
  3550(config)#crypto key generate ?
  rsa Generate RSA keys
  
  3550(config)#crypto key generate rsa ?
  modulus Provide number of modulus bits on the command line
  usage-keys Generate separate RSA keys for signing and encryption
  
  
  3550(config)#crypto key generate rsa
  % Please define a domain-name first.
  3550(config)#ip domain-name ciscolab.net
  3550(config)#crypto key generate rsa
  The name for the keys will be: 3550.ciscolab.net
  Choose the size of the key modulus in the range of 360 to 2048 for your
  General Purpose Keys. Choosing a key modulus greater than 512 may take
  a few minutes.
  
  How many bits in the modulus [512]:
  Generating RSA keys ...
  [OK]
  
  3550(config)#
  00:09:32: %SSH-5-ENABLED: SSH 1.5 has been enabled
  3550(config)#username cisco password cisco
  3550(config)#line vty 0 4
  3550(config-line)#login local
  3550(config-line)#transport i
  3550(config-line)#transport input ssh
  3550(config-line)#end
  3550#
  
  然后telnet到交換機(jī)的時(shí)候,會(huì)提示:‘password required,but none set’
  
  最后,要提醒一下的是,必須帶有crypto image的ios 才支持此特性,一般的ios 沒(méi)有此特性
  
  3550#sh Flash
  Directory of flash:/
  
  2 -rwx 0 Jan 01 1970 00:01:30 env_vars
  3 -rwx 342 Jan 01 1970 00:01:30 system_env_vars
  4 -rwx 916 Mar 01 1993 05:07:46 vlan.dat
  5 -rwx 5 Mar 01 1993 02:30:29 private-config.text
  6 -rwx 2662 Mar 01 1993 02:30:29 config.text
  7 drwx 192 Mar 01 1993 00:03:34 c3550-i5q3l2-mz.121-11.EA1
   ----> (該ios 不支持ssh特性)
  15998976 bytes total (10910208 bytes free)
  
  3550(config-line)#transport input ?
  all All protocols
  none No protocols
  telnet TCP/IP Telnet protocol
  -----> 沒(méi)有ssh 選項(xiàng)
  
  3550#sh flash
  Directory of flash:/
  2 -rwx 4404040 Mar 02 1993 00:39:47 c3550-i5k2l2q3-mz.121-12c.EA1a.b
  in --------------------> 帶有crypto image的ios
  3 -rwx 2824 Mar 02 1993 00:39:56 config.text
  4 -rwx 5 Mar 02 1993 00:39:56 private-config.text
  5 -rwx 736 Mar 01 1993 00:00:51 vlan.dat
  15998976 bytes total (11589120 bytes free)
  
  3550#config t
  Enter configuration commands, one per line. End with CNTL/Z.
  3550(config)#line vty 0 4
  3550(config-line)#transp
  3550(config-line)#transport input ?
  all All protocols
  none No protocols
  [ssh TCP/IP SSH protocol-----------> 多了這個(gè)ssh參數(shù)
  telnet TCP/IP Telnet protocol


發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 建湖县| 汝阳县| 新余市| 嘉义市| 常州市| 长葛市| 高州市| 瓮安县| 雷波县| 新龙县| 万山特区| 无棣县| 雅江县| 潜山县| 奇台县| 清丰县| 稻城县| 都匀市| 岐山县| 上栗县| 邛崃市| 棋牌| 青冈县| 保靖县| 晴隆县| 克拉玛依市| 永胜县| 永登县| 商洛市| 蒲城县| 武义县| 应用必备| 日喀则市| 宁明县| 洞头县| 剑河县| 五莲县| 临邑县| 龙江县| 泗洪县| 稷山县|