Dell PowerConnect 5548P System User's Manual page 221

Dell - powerconnect switch
Hide thumbs Also See for PowerConnect 5548P:
Table of Contents

Advertisement

FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\Maintenance Projects\Dell
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 9-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
D E L L C O N F I D E N T I A L – P R E L I M I N A R Y 9 / 1 1 / 1 2 - F O R P R O O F O N LY
220
Dell PowerConnect 55xx Systems User Guide
Contax\CxUGSystemConfig.fm
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.

Advertisement

Table of Contents
loading

Table of Contents