Configuring Network-Related Settings

Configuring the Server VLAN

 

Command or Action

 

Purpose

Step 9

Server /cimc/network #

set

Specifies the IP address of the secondary DNS

 

alternate-dns-server dns2-ipv4-address

server.

Step 10

Server /cimc/network #

commit

Commits the transaction to the system

 

 

 

configuration.

Step 11

Server /cimc/network #

show [detail]

(Optional) Displays the IPv4 network settings.

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

 

Command or Action

Purpose

Step 1

Server# scope cimc

Enters the CIMC command mode.

Step 2

Server /cimc # scope network

Enters the CIMC network command mode.

Cisco UCS C-Series Servers Integrated Management Controller CLI Configuration Guide, Release 1.5

OL-28893-01

77

Page 93
Image 93
Cisco Systems 57712, UCSCPCIEBTG manual Configuring the Server Vlan, Specifies the IP address of the secondary DNS