Show Ip Route - Accton Technology ES4710BD User Manual

Accton 10 slots l2/l3/l4 chassis switch
Table of Contents

Advertisement

[<preference>]" command deletes a static route entry.
Parameters: <ip-address> and <mask> are the IP address and subnet mask, in decimal format;
<gateway> is the IP address for the next hop in decimal format; <preference> is the
route priority, ranging from 1 to 255, the smaller preference indicates higher priority.
Default: The default priority for static route of ES4710BD is 1.
Command mode: Global Mode
Usage Guide: When configuring the next hop for static route, next hop IP address can be specified
for routing packets.
The default preference of all route type in ES4710BD is listed below:
Route Type
Direct route
Static Route
OSPF
RIP
IBEP
EBGP
By default, a direct route has the highest priority, and static route, EBGP, OSPF, RIP and IBGP have
descending priorities in the order listed.
Example:
Example 1: adding a static route
Switch(Config)#ip route 1.1.1.0 255.255.255.0 2.1.1.1
Example 2: adding a default route
Switch(Config)#ip route 0.0.0.0 0.0.0.0 2.2.2.1
18.2.3.2.2

show ip route

Command: show ip route [dest <destination>] [mask <destMask>] [nextHop <nextHopValue>]
[protocol {connected | static | rip| ospf | ospf_ase | bgp | dvmrp}] [<vlan-id>]
[preference <pref>] [count]
Function: Displays the route table.
Parameters: <destination> is the destination network address; <destMask> is the mask for
destination network; <nextHopValue> stands for the IP address of next hop; connected
for direct route; static for static route; rip for RIP route; ospf for OSPF route; ospf_ase
for route introduced by OSPF; ospf_asebgp for BGP route; bgpdvmrp for DVMRP
route; <vlan-id> for VLAN identifier; <pref> for router priority, ranging from 0 to 255;
count displays the number of IP route table entries.
Command mode: Admin Mode
Usage Guide: Displays the content of core route table including: route type, destination network,
mask, next hop address, interface, etc.
Example:
Switch#show ip route
Codes: C - connected, S - static, R - RIP derived, O - OSPF derived
A - OSPF ASE, B - BGP derived
EES4710BD 10 Slots L2/L3/L4 Chassis Switch
Preference Value
0
1
110
120
200
20
381

Advertisement

Table of Contents
loading

Table of Contents