Dell PowerConnect B-TI24x Hardware Installation Guide - Page 35

Configuring IP addresses, Devices running Layer 2 software

Page 35 highlights

Configuring IP addresses 3 Configuring IP addresses You must configure at least one IP address using the serial connection to the CLI before you can manage the system using the other management interfaces. In addition, Dell routers require an IP subnet address for the subnet in which you plan to place them in your network. Dell PowerConnect devices support both classical IP network masks (Class A, B, and C subnet masks, and so on) and Classless Interdomain Routing (CIDR) and network prefix masks as follows: • To enter a classical network mask, enter the mask in IP address format. For example, enter, "209.157.22.99 255.255.255.0" for an IP address with a Class-C subnet mask. • To enter a prefix number for a network mask, enter a forward slash ( / ) and the number of bits in the mask immediately after the IP address. For example, enter, "209.157.22.99/24" for an IP address that has a network mask with 24 significant ("mask") bits. By default, the CLI displays network masks in classical IP address format (example: 255.255.255.0). You can change the display to the prefix format. Referto the PowerConnect B-Series TI24X Configuration Guide. Devices running Layer 2 software Follow the steps to configure an IP address on a device running Layer 2 software. 1. At the opening CLI prompt, enter enable. PowerConnect> enable 2. Enter the following command at the Privileged EXEC level prompt (for example, PowerConnect Switch#), then press Enter. This command erases the factory test configuration if still present. PowerConnect# erase startup-config CAUTION Use the erase startup-config command only for new systems. If you enter this command on a system you have already configured, the command erases the configuration. If you accidentally do erase the configuration on a configured system, enter the write memory command to save the running configuration to the startup-config file. 3. Access the configuration level of the CLI by entering the following command. PowerConnect# configure terminal Privileged EXEC Level PowerConnect(config)# Global CONFIG Level 4. Configure the IP address and mask for the switch. PowerConnect(config)# ip address 192.22.3.44 255.255.255.0 5. Set a default gateway address for the switch. PowerConnect(config)# ip default-gateway 192.22.3.1 NOTE You do not need to assign a default gateway address for single subnet networks. Syntax: enable [] Dell PowerConnect B-Series TI24X Hardware Installation Guide 25 53-1002265-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82

Dell PowerConnect B-Series TI24X Hardware Installation Guide
25
53-1002265-01
Configuring IP addresses
3
Configuring IP addresses
You must configure at least one IP address using the serial connection to the CLI before you can
manage the system using the other management interfaces. In addition,
Dell
routers require an IP
subnet address for the subnet in which you plan to place them in your network.
Dell PowerConnect devices support both classical IP network masks (Class A, B, and C subnet
masks, and so on) and Classless Interdomain Routing (CIDR) and network prefix masks as follows:
To enter a classical network mask, enter the mask in IP address format. For example, enter,
"209.157.22.99 255.255.255.0" for an IP address with a Class-C subnet mask.
To enter a prefix number for a network mask, enter a forward slash ( / ) and the number of bits
in the mask immediately after the IP address. For example, enter,
"209.157.22.99/24" for an IP address that has a network mask with 24 significant ("mask")
bits.
By default, the CLI displays network masks in classical IP address format (example:
255.255.255.0). You can change the display to the prefix format. Referto the
PowerConnect
B-Series TI24X Configuration Guide
.
Devices running Layer 2 software
Follow the steps to configure an IP address on a device running Layer 2 software.
1.
At the opening CLI prompt, enter
enable
.
PowerConnect> enable
2.
Enter the following command at the Privileged EXEC level prompt (for example, PowerConnect
Switch#), then press Enter. This command erases the factory test configuration if still present.
PowerConnect# erase startup-config
CAUTION
Use the erase startup-config command only for new systems. If you enter this command on a
system you have already configured, the command erases the configuration. If you accidentally
do erase the configuration on a configured system, enter the write memory command to save the
running configuration to the startup-config file.
3.
Access the configuration level of the CLI by entering the following command.
PowerConnect# configure terminal Privileged EXEC Level
PowerConnect(config)# Global CONFIG Level
4.
Configure the IP address and mask for the switch.
PowerConnect(config)# ip address 192.22.3.44 255.255.255.0
5.
Set a default gateway address for the switch.
PowerConnect(config)# ip default-gateway 192.22.3.1
NOTE
You do not need to assign a default gateway address for single subnet networks.
Syntax:
enable [<password>]