Dell PowerConnect 5548 User Guide - Page 213
Configuring Two IP Networks on Two Different VLANS Using CLI, Table 9-25.
View all Dell PowerConnect 5548 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 213 highlights
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 Description console#config Enter Global Configuration mode. console(config)# vlan database Enter VLAN mode. console(config-vlan)# vlan 100-150 Create VLANs number 100 to 150. console(config-vlan)# exit Exit VLAN mode. console(config)#interface gi1/0/1 Enter Interface mode for port 1 on unit 1. console(config-if)# switchport access Make port a member of vlan 100 VLAN 100. console(config-if)# ip address 1.1.1.1 255.255.255.0 Set the IP address with mask. console(config-vlan)# exit Exit Interface mode for port. console(config)#interface gi1/0/2 Enter Interface mode for port 2 on unit 1. console(config-if)# switchport access Make port a member of vlan 150 VLAN 150. console(config-if)# ip address 2.1.1.1 255.255.255.0 Set the IP address with mask. console(config-vlan)# exit Exit Interface mode for port. 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 213