244
22.1.2 Route-related commands
route
Description
This command specifies the IP route table in the
rtg
level of configuration definition mode.
Syntax
To set information:
route {
A.B.C.D/M
|default-ipv4} {
A.B.C.D
|
INTERFACE
} [reject] [
DISTANCE
]
route {
X:X::X:X/M
|default-ipv6} {
X:X::X:X
[%INTERFACE]|INTERFACE} [reject]
[DISTANCE]
To delete information:
delete route {
A.B.C.D/M
|default-ipv4}
delete route {
X:X::X:X/M
|default-ipv6}
delete route {all|ipv4|ipv6}
Parameters
A.B.C.D/M
Specifies the IPv4 address and the IPv4 prefix.
Specify the IPv4 address in dot notation.
1.
Default value when this parameter is omitted:
None (this parameter cannot be omitted).
2.
Range of values:
0.0.0.0 to 255.255.255.255
For the prefix, this parameter specifies the IPv4 address network mask length.
1.
Default value when this parameter is omitted:
None (this parameter cannot be omitted).
2.
Range of values:
0 to 32
A.B.C.D
Specifies the gateway IP address.
1.
Default value when this parameter is omitted:
None (this parameter cannot be omitted).
2.
Range of values:
If
A.B.C.D/M
is specified, the range is from 0.0.0.0 to 255.255.255.255.
If
X:X::X:X/M
is specified, the range is from
0000:0000:0000:0000:0000:0000:0000:0000 to ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff.
INTERFACE
Specifies the interface.
1.
Default value when this parameter is omitted:
Summary of Contents for GX1000-SMC013X
Page 94: ...94 5 Configuration Guide 5 1 Base Software Configuration Guide ...
Page 105: ...105 7 Access Lists 7 1 Access lists ...
Page 153: ...153 8 Policy Based Switching 8 1 Policy based switching ...
Page 165: ...165 9 Policy Based Routing 9 1 Policy based routing ...
Page 177: ...177 Figure 10 1 Overview of mode transitions ...
Page 213: ...213 17 MIB Reference 17 1 Private MIBs 17 2 Supported MIB Traps ...
Page 229: ...229 H W BOOT 11 44 MISC 1 0 SPCT 0 34 10 The updating of the SP files is finished ...
Page 451: ...451 28 Additional Information ...