HP GbE2c HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Application Gu - Page 96

RIP configuration example, Add IP interfaces to VLANs. - l2 l3 commands

Page 96 highlights

RIP configuration example NOTE: An interface RIP disabled uses all the default values of the RIP, no matter how the RIP parameters are configured for that interface. RIP sends out RIP regular updates to include an Up interface, but not a Down interface. 1. Add VLANs for routing interfaces. >> Main# cfg/l2/vlan 2/ena >> VLAN 2# add 20 (Enable VLAN 2) (Add port 20 to VLAN 2) Port 20 is an UNTAGGED port and its current PVID is 1. Confirm changing PVID from 1 to 2 [y/n]: y >> VLAN 2# /cfg/l2/vlan 3/ena >> VLAN 3# add 21 (Enable VLAN 3) (Add port 21 to VLAN 3) Port 21 is an UNTAGGED port and its current PVID is 1. Confirm changing PVID from 1 to 3 [y/n]: y 2. Add IP interfaces to VLANs. >> Main# cfg/l3/if 2/ena (Enable interface 2) >> IP Interface 2# addr 102.1.1.1 (Define IP address for interface 2) >> IP Interface 2# vlan 2 (Add interface 2 to VLAN 2) >> IP Interface 2# /cfg/l3/if 3/ena (Enable interface 3) >> IP Interface 3# addr 103.1.1.1 (Define IP address for interface 3) >> IP Interface 3# vlan 3 (Add interface 3 to VLAN 3) 3. Turn on RIP globally and enable RIP for each interface. IP Forwarding must be on (/cfg/l3/frwd/on) before you turn RIP on. >> Main# cfg/l3/rip on (Turn on RIP globally) >> Routing Information Protocol# if 2/ena (Enable RIP on IP interface 2) >> RIP Interface 2# .. >> Routing Information Protocol# if 3/ena (Enable RIP on IP interface 3) >> RIP Interface 3# apply (Apply your changes) >> RIP Interface 3# save (Save the configuration) Use the /maint/route/dump command to check the current valid routes in the routing table of the switch. For those RIP learned routes, within the garbage collection period, that are routes phasing out of the routing table with metric 16, use the /info/l3/rip/routes command. Locally configured static routes do not appear in the RIP Routes table. Routing Information Protocol 96

  • 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
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165

Routing Information Protocol 96
RIP configuration example
NOTE:
An interface RIP disabled uses all the default values of the RIP, no matter how the RIP parameters are
configured for that interface. RIP sends out RIP regular updates to include an Up interface, but not a Down
interface.
1.
Add VLANs for routing interfaces.
>> Main# cfg/l2/vlan 2/ena
(Enable VLAN 2)
>> VLAN 2# add 20
(Add port 20 to VLAN 2)
Port 20 is an UNTAGGED port and its current PVID is 1.
Confirm changing PVID from 1 to 2 [y/n]: y
>> VLAN 2# /cfg/l2/vlan 3/ena
(Enable VLAN 3)
>> VLAN 3# add 21
(Add port 21 to VLAN 3)
Port 21 is an UNTAGGED port and its current PVID is 1.
Confirm changing PVID from 1 to 3 [y/n]: y
2.
Add IP interfaces to VLANs.
>> Main# cfg/l3/if 2/ena
(Enable interface 2)
>> IP Interface 2# addr 102.1.1.1
(Define IP address for interface 2)
>> IP Interface 2# vlan 2
(Add interface 2 to VLAN 2)
>> IP Interface 2# /cfg/l3/if 3/ena
(Enable interface 3)
>> IP Interface 3# addr 103.1.1.1
(Define IP address for interface 3)
>> IP Interface 3# vlan 3
(Add interface 3 to VLAN 3)
3.
Turn on RIP globally and enable RIP for each interface. IP Forwarding must be on (
/cfg/l3/frwd/on
) before
you turn RIP on.
>> Main# cfg/l3/rip on
(Turn on RIP globally)
>> Routing Information Protocol# if 2/ena (Enable RIP on IP interface 2)
>> RIP Interface 2# ..
>> Routing Information Protocol# if 3/ena (Enable RIP on IP interface 3)
>> RIP Interface 3# apply
(Apply your changes)
>> RIP Interface 3# save
(Save the configuration)
Use the
/maint/route/dump
command to check the current valid routes in the routing table of the switch.
For those RIP learned routes, within the garbage collection period, that are routes phasing out of the routing table
with metric 16, use the
/info/l3/rip/routes
command. Locally configured static routes do not appear in the RIP
Routes table.