Configuring Network-Related Settings

Connecting to a Port Profile

 

Command or Action

 

Purpose

Step 3

Server /cimc/network #

set vlan-enabled

Selects whether the CIMC is connected to a

 

{yes no}

 

VLAN.

Step 4

Server /cimc/network # set vlan-idid

Specifies the VLAN number.

Step 5

Server /cimc/network #

set vlan-priority

Specifies the priority of this system on the

 

priority

 

VLAN.

Step 6

Server /cimc/network #

commit

Commits the transaction to the system

 

 

 

configuration.

Step 7

Server /cimc/network #

show [detail]

(Optional) Displays the network settings.

This example configures the server VLAN:

Server# scope cimc

Server /cimc # scope network

Server /cimc/network # set vlan-enabled yes

Server /cimc/network *# set vlan-id 10

Server /cimc/network *# set vlan-priority 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: yes

VLAN ID: 10

VLAN Priority: 32

Hostname: Server

MAC Address: 01:23:45:67:89:AB

NIC Mode: dedicated

NIC Redundancy: none

Server /cimc/network #

Connecting to a Port Profile

Note You can configure a port profile or a VLAN, but you cannot use both. If you want to use a port profile, make sure the set vlan-enabledcommand is set to no.

Before You Begin

You must be logged in as admin to connect to a port profile.

 

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

78

OL-28893-01

Page 94
Image 94
Cisco Systems UCSCPCIEBTG, 57712 manual Connecting to a Port Profile, Set vlan-enabled, Set vlan-priority