Cisco Systems 57712 Manual Do Utilizador

Página de 288
Purpose
Command or Action
Selects whether the CIMC is connected to a
VLAN.
Server /cimc/network # set vlan-enabled
{yes no}
Step 3
Specifies the VLAN number.
Server /cimc/network # set vlan-id id
Step 4
Specifies the priority of this system on the
VLAN.
Server /cimc/network # set vlan-priority
priority
Step 5
Commits the transaction to the system
configuration.
Server /cimc/network # commit
Step 6
(Optional) Displays the network settings.
Server /cimc/network # show [detail]
Step 7
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
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-enabled command is set to no.
Note
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  
Configuring Network-Related Settings
Connecting to a Port Profile