Sunfire B1600 Switch User Manual


 
Chapter 3 General Management of the Switch 3-15
Command-line Interface: Specifying the Management VLAN and IP
Details
Specify the management interface, IP address, and default gateway:
MIB Variables: Specifying the Management VLAN and IP Details
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)#
TABLE 3-4 MIB Variables for Specifying the Management VLAND and IP Details
Field Name MIB Variable Access Value Range Default Value
Management
VLAN
sun...
switchMgt.
switchManagementVla
n
Read/write Integer (1-4094) 1
IP Address Mode sun...
vlanMgt.
vlanTable.vlanEntry
.
vlanAddressMethod
Read/write user (1),
bootp (2),
dhcp (3)
user
IP Address
Configuration
MIB-II.
ip.ipAddrTable.
ipAddrEntry.
ipAdEntAddr
Read/write IP address
Subnet Mask
Configuration
MIB-II.
ip.ipAddrTable.
ipAddrEntry.
ipAdEntNetMask
Read/write IP address
Broadcast
Address
MIB-II.
ip.ipAddrTable.
ipAddrEntry.
ipAdEntBcastAddr
Read only Integer (0-1) 1
Default Gateway
Configuration
sun...
ipMgt.
netDefaultGateway
Read/write IP address