ES4710BD 10 Slots L2/L3/L4 Chassis Switch
(3)Configure other OSPF protocol parameters
a.Configure OSPF routing protocol priority
b.Configure cost for OSPF STUB area and default route
c.Configure OSPF virtual link
d.Configure the priority of the interface when electing designated layer 3 switch (DR).
3.Disable OSPF protocol.
1. Enable OSPF protocol
Basic configuration of OSPF routing protocol on ES4710BD series switches is quite simple, usually only enabling OSPF and configuration of the OSPF area for the interface are required. The OSPF protocol parameters can use the default settings. If OSPF protocol parameters need to be modified, please refer to “2. Configure OSPF
Command | Explanation |
|
| ||
Global Mode |
|
|
|
| |
[no] router ospf | Enables | OSPF | protocol; the “no | router ospf” | |
command disables OSPF protocol (required) | |||||
| |||||
|
| ||||
| Configures the ID number for the layer 3 switch | ||||
router id <router_id> | running | OSPF; | the “no router | id” command | |
cancels | the ID | number. The IP | address of an | ||
no router id | |||||
interface is selected to be the layer 3 switch ID. | |||||
| |||||
| (optional) |
|
| ||
OSPF protocol configuration mode |
|
|
|
| |
[no] network <network> <mask> area | Defines several segments in an area to a network | ||||
scope; the “no network <network> <mask> area | |||||
<area_id> [ advertise notadvertise ] | <area_id> [ advertise notadvertise ]” command | ||||
| cancels the network scope. (optional) | ||||
Interface Mode |
|
|
|
| |
ip ospf enable area <area_id> | Sets an area for the specified interface; the “no ip | ||||
ospf enable area” command cancels the setting. | |||||
no ip ospf enable area | |||||
(required) |
|
| |||
|
|
|
2. Configure OSPF
(1)Configure OSPF packet sending mechanism parameters
a.Configure OSPF packet verification
b.Set the OSPF interface to receive only
c.Configure the cost for sending packets from the interface
Command |
|
| Explanation | |
Interface Mode |
|
|
| |
ip ospf authentication | { simple | Configures the authentication method and key | ||
<auth_key> | md5 | <auth_key> | required by the interface to accept OSPF packets; | |
<key_id>} |
|
| the “no ip ospf authentication” command | |
no ip ospf authentication |
| restores the default setting. | ||
[no] ip ospf | Sets the interface to receive only, the “no ip ospf | |||
|
|
| ||
ip ospf cost <cost > |
| Sets the cost for running OSPF on the interface; | ||
| the “no ip ospf cost” command restores the | |||
no ip ospf cost |
|
| ||
|
| default setting. | ||
|
|
| ||
|
|
| 408 |