Download NEC N8406-023 Handbook

Transcript
>> IP Interface 2 # /cfg/l3/ospf/on
3.
Define the backbone.
>> Open Shortest Path First # aindex 0 (Select menu for area index 0)
>> OSPF Area (index) 0 # areaid 0.0.0.0(Set the ID for backbone area 0)
>> OSPF Area (index) 0 # type transit (Define backbone as transit type)
>> OSPF Area (index) 0 # enable
(Enable the area)
4.
Define the stub area.
>> OSPF Area (index) 0 # ../aindex 1
(Select menu for area index 1)
>> OSPF Area (index) 1 # areaid 0.0.0.1 (Set the area ID for OSPF
area 1)
>> OSPF Area (index) 1 # type stub
(Define area as stub type)
>> OSPF Area (index) 1 # enable
(Enable the area)
5.
Attach the network interface to the backbone.
>> OSPF Area (index) 1 # ../if 1
>> OSPF Interface 1 # aindex 0
>> OSPF Interface 1 # enable
6.
Attach the network interface to the stub area.
>> OSPF Interface 1 # ../if 2
>> OSPF Interface 2 # aindex 1
>> OSPF Interface 2 # enable
7.
(Select OSPF menu for IP interface 1)
(Attach network to backbone index)
(Enable the backbone interface)
(Select OSPF menu for IP interface 2)
(Attach network to stub area index)
(Enable the stub area interface)
Configure route summarization by specifying the starting address and mask of the range of addresses to be
summarized.
>> OSPF Interface 2 # ../range 1 (Select menu for summary range)
>> OSPF Summary Range 1 # addr 36.128.192.0 (Set base IP address
of summary range)
>> OSPF Summary Range 1 # mask 255.255.192.0(Set mask address
for summary range)
>> OSPF Summary Range 1 # aindex 0 (Inject summary route into backbone)
>> OSPF Summary Range 1 # enable
(Enable summary range)
8.
Use the hide command to prevent a range of addresses from advertising to the backbone.
>>
>>
>>
>>
9.
OSPF
OSPF
OSPF
OSPF
Interface 2 #
Summary Range
Summary Range
Summary Range
../range
2 # addr
2 # mask
2 # hide
2
(Select menu for summary range)
36.128.200.0
(Set base IP address)
255.255.255.0 (Set mask address)
enable
(Hide the range of addresses)
Apply and save the configuration changes.
>> OSPF Summary Range 2 # apply
>> OSPF Summary Range 2 # save
(Apply all changes)
(Save all changes)
Verifying OSPF configuration
Use the following commands to verify the OSPF configuration on your switch:
/info/l3/ospf/general
/info/l3/ospf/nbr
/info/l3/ospf/dbase/dbsum
/info/l3/ospf/route
/stats/l3/route
See the Command Reference Guide for information on the above commands.
N8406-023 1Gb Intelligent L3 Switch Application Guide
130