Skip to main content
Cluster and storage switches
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

配置BES-53248集群交换机

贡献者

按照以下步骤对BES-53248集群交换机执行初始设置。

开始之前
关于示例

配置过程中的示例使用以下交换机和节点命名:

  • NetApp交换机名称是 cs1cs2。升级将从第二台交换机_CS2._开始

  • 集群 LIF 名称是 node1 的 node1_clus1node1_clus2 , node2 的 node2_clus1node2_clus2

  • IP 空间名称为集群。

  • cluster1 :: > 提示符指示集群的名称。

  • 每个节点上的集群端口均命名为 e0ae0b。请参见 "NetApp Hardware Universe" 您的平台支持的实际集群端口。

  • NetApp 交换机支持的交换机间链路( ISL )为端口 0/55 和 0/56 。

  • NetApp 交换机支持的节点连接为端口 0/1 到 0/16 ,并具有默认许可。

  • 这些示例使用两个节点、但一个集群中最多可以有24个节点。

步骤
  1. 将串行端口连接到主机或串行端口。

  2. 将管理端口(交换机左侧的 RJ-45 扳手端口)连接到 TFTP 服务器所在的同一网络。

  3. 在控制台中、设置主机端串行设置:

    • 115200 波特

    • 8 个数据位

    • 1 个停止位

    • 奇偶校验:无

    • 流量控制:无

  4. 以身份登录到交换机 admin 并在系统提示输入密码时按* Enter 。默认交换机名称为*路由。在提示符处、输入 enable。这样,您就可以访问交换机配置的特权执行模式。

    显示示例
    User: admin
    Password:
    (Routing)> enable
    Password:
    (Routing)#
  5. 将交换机名称更改为*CS2*。

    显示示例
    (Routing)# hostname cs2
    (cs2)#
  6. 要设置静态 IP 地址,请使用 serviceport protocolnetwork protocolserviceport ip 命令,如示例所示。

    默认情况下, serviceport 设置为使用 DHCP 。系统会自动分配 IP 地址,子网掩码和默认网关地址。

    显示示例
    (cs2)# serviceport protocol none
    (cs2)# network protocol none
    (cs2)# serviceport ip ipaddr netmask gateway
  7. 使用命令验证结果:

    s如何使用 serviceport

    显示示例
    (cs2)# show serviceport
    Interface Status............................... Up
    IP Address..................................... 172.19.2.2
    Subnet Mask.................................... 255.255.255.0
    Default Gateway................................ 172.19.2.254
    IPv6 Administrative Mode....................... Enabled
    IPv6 Prefix is ................................ fe80::dac4:97ff:fe71:123c/64
    IPv6 Default Router............................ fe80::20b:45ff:fea9:5dc0
    Configured IPv4 Protocol....................... DHCP
    Configured IPv6 Protocol....................... None
    IPv6 AutoConfig Mode........................... Disabled
    Burned In MAC Address.......................... D8:C4:97:71:12:3C
  8. 配置域和名称服务器:

    配置

    显示示例
    (cs2)# configure
    (cs2) (Config)# ip domain name company.com
    (cs2) (Config)# ip name server 10.10.99.1 10.10.99.2
    (cs2) (Config)# exit
    (cs2) (Config)#
  9. 是否配置 NTP 服务器?

    1. 配置时区和时间同步( SNTP ):

      sNTP

      显示示例
      (cs2)#
      (cs2) (Config)# sntp client mode unicast
      (cs2) (Config)# sntp server 10.99.99.5
      (cs2) (Config)# clock timezone -7
      (cs2) (Config)# exit
      (cs2) (Config)#

      对于EFOS 3.10.0.3及更高版本、请使用命令 ntp

      ntp

      显示示例
      (cs2)configure
      (cs2)(Config)# ntp ?
      
      authenticate             Enables NTP authentication.
      authentication-key       Configure NTP authentication key.
      broadcast                Enables NTP broadcast mode.
      broadcastdelay           Configure NTP broadcast delay in microseconds.
      server                   Configure NTP server.
      source-interface         Configure the NTP source-interface.
      trusted-key              Configure NTP authentication key number for trusted time source.
      vrf                      Configure the NTP VRF.
      
      (cs2)(Config)# ntp server ?
      
      ip-address|ipv6-address|hostname  Enter a valid IPv4/IPv6 address or hostname.
      
      (cs2)(Config)# ntp server 10.99.99.5
    2. 手动配置时间:

      时钟

    显示示例
    (cs2)# config
    (cs2) (Config)# no sntp client mode
    (cs2) (Config)# clock summer-time recurring 1 sun mar 02:00 1 sun nov 02:00 offset 60 zone EST
    (cs2) (Config)# clock timezone -5 zone EST
    (cs2) (Config)# clock set 07:00:00
    (cs2) (Config)# *clock set 10/20/2020
    
    (cs2) (Config)# show clock
    
    07:00:11 EST(UTC-5:00) Oct 20 2020
    No time source
    
    (cs2) (Config)# exit
    
    (cs2)# write memory
    
    This operation may take a few minutes.
    Management interfaces will not be available during this time.
    
    Are you sure you want to save? (y/n) y
    
    Config file 'startup-config' created successfully.
    
    Configuration Saved!
下一步是什么?

"安装 EFOS 软件"