Command Reference Guide
14 ● clns route-static 3Com Router 5000 Family and Router 6000 Family
Command Reference
clns route-static
Purpose Use the clns route-static command to configure a static OSI route.
Use the undo clns route-static command to remove a static OSI route.
Syntax clns route-static { default-nsap-prefix | NSAP prefix } interface-type
interface-number SNPA [ reject | blackhole ]
undo clns route-static { NSAP prefix [ interface-type interface-number ] |
all | default-nsap-prefix } [ interface-type interface-number]
Parameters NSAP prefix
Prefix of the destination address of an OSI static route.
Provide this argument in the format of ##.####. ...
.##.
interface-type
interface-number
Type and number of the outbound interface leads to
the next hop of the route. The
interface-type
argument can be ATM, Ethernet, NULL, Serial, Tunnel,
MFR, MP-group, Virtual-Template, and Loopback.
SNPA
Layer 2 address of the next hop in the format of
####.####.####. Only available for Ethernet
interfaces.
default-nsap-prefix
Specifies to use the default destination address prefix.
This keyword is used to configure default routes.
reject
Specifies the route to be an unreachable route.
blackhole
Specifies the route to be a blackhole route.
all
Specifies to remove all static routes. This keyword is
only for the undo command.
Example Configure a static OSI route.
<3Com > system-view
System View: return to User View with Ctrl+Z.
[3Com ] clns route-static 49.0001 vlan-interface1 00e0.fc00.1a01 reject
View This command can be used in the following views:
■ System view
Description If you execute this command with the interface-type interface-number
argument not provided, all static routes with their destination address prefixes
identical to the specified destination address prefix are removed.