Dell PowerConnect M6220 Configuration Guide - Page 78

CLI Examples, Port Routing Example Network Diagram

Page 78 highlights

• To prevent any RIP packets from being received • To prevent any RIP packets from being transmitted CLI Examples The configuration commands used in the following example enable RIP on ports vlan 2 and vlan 3 as shown in the network illustrated in Figure 4-6. Layer 3 Switch acting as a router VLAN 3 1921.9P12o3.r1t0310./30.3/.3.11 PVoLrtA1N/0/22 11929.215.10.52.02.2.2 VLAN 5 192.64.4.1 Port 1/0/5 192.64.4.1 Subnet 2 Subnet 3 Subnet 5 Figure 4-6. Port Routing Example Network Diagram Example #1: Enable Routing for the Switch The following sequence enables routing for the switch: console#config ip routing exit Example #2: Enable Routing for Ports The following command sequence enables routing and assigns IP addresses for ports vlan 2 and vlan 3. console#config interface vlan 2 routing ip address 192.150.2.2 255.255.255.0 exit 78 Routing Configuration

  • 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
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126

78
Routing Configuration
To prevent any RIP packets from being received
To prevent any RIP packets from being transmitted
CLI Examples
The configuration commands used in the following example enable RIP on ports vlan 2 and vlan 3 as
shown in the network illustrated in Figure 4-6.
Figure 4-6.
Port Routing Example Network Diagram
Example #1: Enable Routing for the Switch
The following sequence enables routing for the switch:
console#config
ip routing
exit
Example #2: Enable Routing for Ports
The following command sequence enables routing and assigns IP addresses for ports vlan 2 and vlan 3.
console#config
interface vlan 2
routing
ip address 192.150.2.2 255.255.255.0
exit
Subnet
3
Subnet
5
Subnet
2
192.150.2.2
Layer 3 Switch
acting as a router
VLAN 3
192.130.3.1
VLAN 2
192.150.2.2
VLAN 5
192.64.4.1