![MRV Communications OptiSwitch-2400/L3 User Manual Download Page 96](http://html1.mh-extra.com/html/mrv-communications/optiswitch-2400-l3/optiswitch-2400-l3_user-manual_1846068096.webp)
OptiSwitch 2400/L3
CLI
Commands
C
HAPTER
5
88
Command ip
prefix-list
{
name
|sequence-number}
{
deny|permit|description
line number
|seq
sequence number
}
ip prefix
|any
Description
Enables you to create an entry in a prefix list for efficient match
searches.
Syntax
Description
name
: Specifies the prefix-list name.
sequence-number
: Includes the sequence number in the prefix
list being created.
deny
: Denies access to match certain packets.
permit
: Permits access to match certain packets.
description
: Prefix-list specific description.
line number
: A series of up to 80 characters specifying the prefix
list.
seq
: Indicates the placement of a sequence number in the prefix
list.
sequence number
: Specifies the actual sequence number.
ip prefix
: Specifies the IP network and prefix length.
No Form
no ip prefix-list
{
name
|sequence number}
{
deny|permit|description
line number
|seq
sequence number
}
ip
prefix
|any
:
Deletes the prefix list entry.
Example
OS2400(config)# ip prefix-list rina permit any
OS2400(config)#
Command
ip route
{
destination-prefix|ip network and mask
}
{
gateway-
address|gateway interface-name
}
Description
Establishes static routes and defines the next hop for IP routing.
Syntax
Description
destination-prefix
:
Specifies the IP address of the destination
network or subnet.
ip network and mask
: Specifies the network and mask that let you
mask network and subnetwork bits.
gateway address
:
Specifies the internet address of the gateway
that can be used to reach the network in standard IP address
format. Example: 1.1.1.1.
interface
: Specifies the gateway interface to be used.
No Form
no ip route
:
Disables the static route.
Example
OS2400(config)# ip route 195.91.136.1/24 195.91.137.1