Command-line Interface: Specifying the Management VLAN and IP Details

Specify the management interface, IP address, and default gateway:

Console#config

Console(config)#interface vlan 2

Console(config-if)#ip address 10.1.0.2 255.255.255.0

Console(config-if)#exit

Console(config)#ip default-gateway 10.1.0.254

Console(config)#

MIB Variables: Specifying the Management VLAN and IP Details

TABLE 3-4MIB Variables for Specifying the Management VLAND and IP Details

Field Name

MIB Variable

Access

Value Range

Default Value

 

 

 

 

 

Management

sun...

Read/write

Integer (1-4094)

1

VLAN

switchMgt.

 

 

 

 

switchManagementVla

 

 

 

 

n

 

 

 

IP Address Mode sun...

Read/write

user (1),

user

 

vlanMgt.

 

bootp (2),

 

 

vlanTable.vlanEntry

 

dhcp (3)

 

 

.

 

 

 

 

vlanAddressMethod

 

 

 

IP Address

MIB-II.

Read/write

IP address

 

Configuration

ip.ipAddrTable.

 

 

 

 

ipAddrEntry.

 

 

 

 

ipAdEntAddr

 

 

 

Subnet Mask

MIB-II.

Read/write

IP address

 

Configuration

ip.ipAddrTable.

 

 

 

 

ipAddrEntry.

 

 

 

 

ipAdEntNetMask

 

 

 

Broadcast

MIB-II.

Read only

Integer (0-1)

1

Address

ip.ipAddrTable.

 

 

 

 

ipAddrEntry.

 

 

 

 

ipAdEntBcastAddr

 

 

 

Default Gateway

sun...

Read/write

IP address

 

Configuration

ipMgt.

 

 

 

 

netDefaultGateway

 

 

 

 

 

 

 

 

Chapter 3 General Management of the Switch 3-15

Page 53
Image 53
Sunfire B1600 manual MIB Variables Specifying the Management Vlan and IP Details, Consoleconfig-if#ip address 10.1.0.2