Oracle® Switch ES2-72 和 Oracle Switch ES2-64 配置指南

退出打印视图

更新时间: 2015 年 4 月
 
 

在 SP 上配置网络管理

因为默认情况下会启用 dhcp,所以,如果网络上有 DHCP 服务器,则 SP 可以自动获取网络配置。

以下示例中的名称和地址仅用于演示。


注 - 如果计划使用串行控制台来访问交换机,则不需要执行管理网络配置。不过,配置网络管理可以允许多个管理员来远程管理交换机。
  1. 登录到 SP 上运行的 Oracle ILOM。
    ORACLESP-AKCH444444 login: root
    Password: changeme
    Detecting screen size; please wait...done
    Oracle(R) Integrated Lights Out Manager
    Version 3.2.5.60 r98416
    Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
    Warning: password is set to factory default.
    Warning: HTTPS certificate is set to factory default.
    Hostname: ORACLESP-AKCH444444
    ->
    
  2. 搜索网络配置。
    -> cd /SP/network
    /SP/network
     
    -> show
     /SP/network
        Targets:
            ipv6
            test
        Properties:
            commitpending = (Cannot show property)
            dhcp_clientid = none
            dhcp_server_ip = 10.134.178.5
            ipaddress = 10.134.178.170
            ipdiscovery = dhcp <---------
            ipgateway = 10.134.178.1
            ipnetmask = 255.255.255.0
            macaddress = 00:21:28:79:8B:58
            pendingipaddress = 10.134.178.170
            pendingipdiscovery = dhcp
            pendingipgateway = 10.134.178.1
            pendingipnetmask = 255.255.255.0
            pendingvlan_id = (none)
            state = enabled
            vlan_id = (none)
     
        Commands:
            cd
            set
            show
    
  3. 在 SP 上配置静态网络设置(可选)。
    -> set pendingipaddress=10.134.178.170
    Set 'pendingipaddress' to '10.134.178.170'
    -> set pendingipnetmask=255.255.255.0
    Set 'pendingipnetmask' to '255.255.255.0'
    -> set pendingipgateway=10.134.178.1
    Set 'pendingipgateway' to '10.134.178.1'
    -> set pendingipdiscovery=static
    Set 'pendingipdiscovery' to 'static'
    -> set commitpending=true
    Set 'commitpending' to 'true'
     
    -> show
    /SP/network
        Targets:
            ipv6
            test
     
        Properties:
            commitpending = (Cannot show property)
            dhcp_clientid = none
            dhcp_server_ip = none
            ipaddress = 10.134.178.170
            ipdiscovery = static <---------
            ipgateway = 10.134.178.1
            ipnetmask = 255.255.255.0
            macaddress = 00:21:28:79:8B:58
            pendingipaddress = 10.134.178.170
            pendingipdiscovery = static
            pendingipgateway = 10.134.178.1
            pendingipnetmask = 255.255.255.0
            pendingvlan_id = (none)
            state = enabled
            vlan_id = (none
    
  4. 设置 SP hostname。
    -> set /SP/ hostname=ES2-72-swi-sp
    Set 'hostname' to 'ES2-72-swi-sp'
    

    在 SP 上执行网络配置后,可以通过 ssh 访问和修改 SP。


    注 - 还可以使用 Oracle ILOM Web 界面来配置其他与管理相关的设置。请参见Configure Other Network Settings (Oracle ILOM Web Interface)

相关信息