Dell PowerConnect 5524P User Manual page 213

Powerconnect 5000 series
Hide thumbs Also See for PowerConnect 5524P:
Table of Contents

Advertisement

Configuring Two IP Networks on Two Different VLANS Using CLI
The following shows how to configure two IP networks on two different
VLANS using CLI:
Table 9-25. Sample CLI Script to Configure Two IP Networks on Two Different VLANSs
CLI Command
console#config
console(config)# vlan database
console(config-vlan)# vlan 100-150
console(config-vlan)# exit
console(config)#interface gi1/0/1
console(config-if)# switchport access
vlan 100
console(config-if)# ip address
1.1.1.1 255.255.255.0
console(config-vlan)# exit
console(config)#interface gi1/0/2
console(config-if)# switchport access
vlan 150
console(config-if)# ip address
2.1.1.1 255.255.255.0
console(config-vlan)# exit
To test this setup described in Figure 11-18:
1 Connect a host whose address is 1.1.1.2 to interface 1/0/1 (default route
1.1.1.1)
2 Connect a host whose address 2.1.1.2 to port 1/0/2 (default route 2.1.1.1)
3 Ping from 1.1.1.2 to 2.1.1.2 to verify the configuration
Dell PowerConnect 55xx Systems User Guide
Description
Enter Global Configuration
mode.
Enter VLAN mode.
Create VLANs number 100 to
150.
Exit VLAN mode.
Enter Interface mode for port
1 on unit 1.
Make port a member of
VLAN 100.
Set the IP address with mask.
Exit Interface mode for port.
Enter Interface mode for port
2 on unit 1.
Make port a member of
VLAN 150.
Set the IP address with mask.
Exit Interface mode for port.
213

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerconnect 5548Powerconnect 5548pPowerconnect 5524

Table of Contents