MES53xx, MES33xx, MES23xx Ethernet Switch Series
192
Enable RIP for subnetwork
172.16.23.0
(IP address on switch
172.16.23.1
) and MD5 authentication
via
mykeys
set of keys:
console#
console#
configure
console(config)#
router rip
console(config-rip)#
network
172.16.23.1
console(config-rip)#
interface ip
172.16.23.1
console(config-if)#
ip rip authentication mode md5
console(config-if)#
ip rip authentication key-chain
mykeys
11.6.3
OSPF and OSPFv3 configuration
OSPF
(
Open Shortest Path First
) — dynamic routing protocol that is based on a link-state technology
and uses Dijkstra's algorithm to find the shortest route. OSPF protocol is a protocol of an internal gateway
(IGP). OSPF protocol distributes information on available routes between routers in a single autonomous
system.
The device supports multiple independent instances of OSPF processes operating simultaneously.
An OSPF instance is configured by specifying its ID (
process_id
).
Global configuration mode commands
Command line prompt in the global configuration mode is as follows:
console(config)#
Table 5.228. Global configuration mode commands
Command
Value/Default value
Action
router ospf [
process_id
]
process_id: (1..65535)/1
Enable routing via OSPF.
Specify the process ID.
no router ospf [
process_id
]
Disable routing via OSPF.
ipv6 router ospf
[
process_id
]
process_id: (1..65535)/1
Enable routing via OSPFv3 protocol.
Specify the process ID.
no ipv6 router ospf
[
process_id
]
Disable routing via OSPFv3 protocol.
ipv6 distance ospf
,interas | intra-as}
distance
distance: (1..255)
Set administrative distance for OSPF and OSPFv3 routes.
-
inter-as
- for external autonomous systems
-
intra-as
- inside an autonomous system
no ipv6 distance ospf
{inter-as |intra-as}
Return default values.
OSPF process mode commands
Command line request in the OSPF process configuration mode:
console(router_ospf_process)#
console(ipv6 router_ospf_process)#
Table 5.229. OSPF process configuration mode commands
Command
Value/Default value
Action
redistribute connected
[metric
metric
] [route-map
name
] [subnets]
metric: (1..65535);
name: (1..255) characters
Allow announcing of connected routes:
-
metric
- a metric for imported routes;
-
name
- the name of the import policy that allows filtering
and changes in imported routes;
-
subnets
- allows you to import subnetworks.
no redistribute connected
[metric
metric
] [route-map
name
] [subnets]
Disable a specific function