Cisco Systems 57712 Manual Do Utilizador

Página de 288
Purpose
Command or Action
Specifies the IP address of the secondary DNS
server.
Server /cimc/network # set
alternate-dns-server 
dns2-ipv4-address
Step 9
Commits the transaction to the system
configuration.
Server /cimc/network # commit
Step 10
(Optional) Displays the IPv4 network settings.
Server /cimc/network # show [detail]
Step 11
This example configures and displays the IPv4 network settings:
Server#
scope cimc
Server /cimc #
scope network
Server /cimc/network #
set dhcp-enabled yes
Server /cimc/network *#
set v4-addr 10.20.30.11
Server /cimc/network *#
set v4-netmask 255.255.248.0
Server /cimc/network *#
set v4-gateway 10.20.30.1
Server /cimc/network *#
set dns-use-dhcp-enabled no
Server /cimc/network *#
set preferred-dns-server 192.168.30.31
Server /cimc/network *#
set alternate-dns-server 192.168.30.32
Server /cimc/network *#
commit
Server /cimc/network #
show detail
Network Setting:
IPv4 Address: 10.20.30.11
IPv4 Netmask: 255.255.248.0
IPv4 Gateway: 10.20.30.1
DHCP Enabled: yes
Obtain DNS Server by DHCP: no
Preferred DNS: 192.168.30.31
Alternate DNS: 192.168.30.32
VLAN Enabled: no
VLAN ID: 1
VLAN Priority: 0
Hostname: Server
MAC Address: 01:23:45:67:89:AB
NIC Mode: dedicated
NIC Redundancy: none
Server /cimc/network #
Configuring the Server VLAN
Before You Begin
You must be logged in as admin to configure the server VLAN.
Procedure
Purpose
Command or Action
Enters the CIMC command mode.
Server# scope cimc
Step 1
Enters the CIMC network command mode.
Server /cimc # scope network
Step 2
Cisco UCS C-Series Servers Integrated Management Controller CLI Configuration Guide, Release 1.5    
   OL-28893-01
77
Configuring Network-Related Settings
Configuring the Server VLAN