Switch 7700 Command reference Guide, v2.0

Table Of Contents
148 CHAPTER 5: USING ROUTING PROTOCOL COMMANDS
Example
To configure an imported RIP route with the route of type 2, a route tag of 33 and
a route cost of 50, enter the following:
[SW7700-ospf]import-route rip type 2 tag 33 cost 50
network Syntax
network ip_address ip_mask
undo network ip_address ip_mask
View
OSPF Area view
Parameter
ip_address Enter the IP address of the network segment where the interface is
located.
ip_mask Enter the IP subnet mask, which is similar to the reversed form of the
mask of IP address.
Description
Using the network command, you can configure the interface running OSPF
protocol to which the interface belongs.
Using the undo network command, you can cancel the interface running OSPF. By
default, the interface does not belong to any area.
With the two parameters, ip_address and ip_mask, one or more interfaces can
be configured as an area. To run the OSPF protocol on one interface, the master IP
address of this interface must be in the range of the network segment specified by
this command. If the slave IP address of the interface is in the range of the
network segment specified by this command, this interface will not run OSPF
protocol.
Related command: ospf.
Example
To configure the interfaces whose master IP addresses are in the segment range of
10.110.36.0 to run the OSPF protocol, and to specify the number of the OSPF area
where these interfaces are located as 6, enter the following:
[SW7700-ospf]area 6
[SW7700-ospf-area-0.0.0.6]network 10.110.36.0.0 0.0.0.255
nssa Syntax
nssa [ default-route-advertise ] [ no-import-route ] [ no-summary ]
undo nssa
View
OSPF Area view