Chapter 9 Routing Protocol

9.2.1 RIP Commands

This table lists the commands for RIP.

Table 49 router Commands: RIP

COMMAND

DESCRIPTION

router rip

Enters sub-command mode.

[no] network interface_name

Enables RIP on the specified Ethernet interface. The no

 

command disables RIP on the specified interface.

[no] redistribute {static ospf}

Enables redistribution of routing information learned from

 

the specified source. The no command disables

 

redistribution from the specified source.

redistribute {static ospf} metric <0..16>

Sets the metric when redistributing routing information

 

learned from the specified source.

 

 

[no] version <1..2>

Sets the default RIP version for all interfaces with RIP

 

enabled. If the interface RIP version is blank, the interface

 

uses the default version. This is not available in the GUI.

 

The no command sets the default RIP version to 2.

[no] passive-interface interface_name

Sets the direction to “In-Only” for the specified interface.

 

The no command sets the direction to bi-directional.

[no] authentication mode {md5 text}

Sets the authentication mode for RIP. The no command

 

sets the authentication mode to “none”.

[no] authentication string authkey

Sets the password for text authentication. The no

 

command clears the password.

authentication key <1..255> key-string authkey

Sets the MD5 ID and password for MD5 authentication.

no authentication key

Clears the MD5 ID and password.

[no] outonly-interface interface_name

Sets the direction to “Out-Only” for the specified interface.

 

The no command sets the direction to “BiDir”.

9.2.2 General OSPF Commands

 

This table lists the commands for general OSPF configuration.

Table 50 router Commands: General OSPF Configuration

COMMAND

DESCRIPTION

router ospf

Enters sub-command mode.

[no] redistribute {static rip}

Enables redistribution of routing information learned from the

 

specified non-OSPF source. The no command disables redistribution

 

from the specified non-OSPF source.

[no] redistribute {static rip} metric-

Sets the metric for routing information learned from the specified

type <1..2> metric <0..16777214>

non-OSPF source. The no command clears the metric.

[no] passive-interface interface_name

Sets the direction to “In-Only” for the specified interface. The no

 

command sets the direction to “BiDir”.

[no] router-id IP

Sets the 32-bit ID (in IP address format) of the ZyWALL. The no

 

command resets it to “default”, or the highest available IP address.

108

 

ZyWALL (ZLD) CLI Reference Guide