5.3.2
network
Command Description
network
A.B.C.D/M area area-id
//Declaration of OSPF network and regional.
no network
A.B.C.D/M area area-id
//Delete the declaration of OSPF network and regional.
Parameter
Parameter
Parameters of the command mode
A.B.C.D/M
Ip address and mask
area-id
area,range: <0-4294967295>
Default
None
Command Mode
Global configuration mode
Example
//Declaration of 192.168.1.0 network and divided in region 0
switch(config-ospf)#Network 192.168.1.0 0.0.0.255 area 0
5.3.3
router-id
Command Description
router-id A.B.C.D
//This command is to set up the router-id.
no router-id
//This command is set as the default router-id.
Parameter
Parameter
Parameters of the command mode
A.B.C.D
Router-id address
Default
0.0.0.0
Command Mode
Global configuration mode
Example
switch(config-ospf)#router-id 1.1.1.1
//This command is to modify the router-id for 1.1.1.1
Содержание DH-PFS6428-24T
Страница 1: ...L3 Manage Switch CLI Configuration Manual Applicable to DH PFS6428 24T ...
Страница 69: ...pc2 ping pc1 ...
Страница 90: ...PC1 ping PC2 ...