Page 241 / 400 Scroll up to view Page 236 - 240
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Routing Commands
10-9
202-10088-01, March 2005
Format
ip route default <nextHopRtr> [<preference>]
Mode
Global Config
no ip route default
This command deletes all configured default routes. If the optional <nextHopRtr> parameter is
designated, the specific next hop is deleted from the configured default route and if the optional
preference value is designated, the preference of the configured default route is reset to its default.
Format
no ip route default [{<nextHopRtr> | <preference>}]
Mode
Global Config
ip route distance
This command sets the default distance for static routes. Lower route preference values are
preferred when determining the best route. The "ip route" and "ip route default" commands allow
you to optionally set the distance of an individual static route. The default distance is used when no
distance is specified in these commands. Changing the default distance does not update the
distance of existing static routes, even if they were assigned the original default distance. The new
default distance will only be applied to static routes created after invoking the "ip route distance"
command.
Default
1
Format
ip route distance <
1-255>
Mode
Global Config
no ip route distance
This command sets the default static route preference value in the router. Lower route preference
values are preferred when determining the best route.
Format
no ip route distance
Mode
Global Config
ip forwarding
This command enables forwarding of IP frames.
Default
enabled
Page 242 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
10-10
Routing Commands
202-10088-01, March 2005
Format
ip forwarding
Mode
Global Config
no ip forwarding
This command disables forwarding of IP frames.
Format
no ip forwarding
Mode
Global Config
ip netdirbcast
This command enables the forwarding of network-directed broadcasts. When enabled, network
directed broadcasts are forwarded. When disabled they are dropped.
Default
disabled
Format
ip netdirbcast
Mode
Interface Config
no ip netdirbcast
This command disables the forwarding of network-directed broadcasts. When disabled, network
directed broadcasts are dropped.
Format
no ip netdirbcast
Mode
Interface Config
ip mtu
This command sets the maximum transmission unit (MTU) size of IP packets sent on a specific
routing interface.
Default
1500 bytes
Format
ip mtu <68 - 9194>
Mode
Interface Config
no ip mtu
This command sets the maximum transmission unit (MTU) size to the default value.
Format
no ip mtu
Page 243 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Routing Commands
10-11
202-10088-01, March 2005
Mode
Interface
Config
show ip brief
This command displays all the summary information of the IP. This command takes no options.
Format
show ip brief
Mode
Privileged EXEC and User EXEC
Default Time to Live
The computed TTL (Time to Live) of forwarding a packet from
the local router to the final destination.
Router ID
Is a 32 bit integer in dotted decimal format identifying the router, about which
information is displayed. This is a configured value.
Routing Mode
Shows whether the routing mode is enabled or disabled.
IP Forwarding Mode
Shows whether forwarding of IP frames is enabled or disabled.
This is a configured value.
show ip interface
This command displays all pertinent information about the IP interface.
Format
show ip interface
<slot/port>
Mode
Privileged EXEC and User EXEC
IP Address
Is an IP address representing the subnet configuration of the
router interface. This value was configured into the unit.
Subnet Mask
Is a mask of the network and host portion of the IP address for the
router interface. This value was configured into the unit.
Routing Mode
Is the administrative mode of router interface participation. The
possible values are enable or disable. This value was configured
into the unit.
Administrative Mode
Is the administrative mode of the specified interface. The possible
values of this field are enable or disable. This value was config-
ured into the unit.
Forward Net Directed Broadcasts
Displays whether forwarding of network-directed
broadcasts is enabled or disabled. This value was configured into
the unit.
Active State
Displays whether the interface is active or inactive. An interface
is considered active if its link is up and it is in forwarding state.
Page 244 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
10-12
Routing Commands
202-10088-01, March 2005
Link Speed Data Rate
Is an integer representing the physical link data rate of the speci-
fied interface. This is measured in Megabits per second (Mbps).
MAC Address
Is the burned in physical address of the specified interface. The
format is 6 two-digit hexadecimal numbers that are separated by
colons.
Encapsulation Type
Is the encapsulation type for the specified interface. The types
are: Ethernet or SNAP.
show ip interface brief
This command displays summary information about IP configuration settings for all ports in the
router. This command takes no options.
Format
show ip interface brief
Mode
Privileged EXEC and User EXEC
Slot/Port
Valid slot and port number separated by forward slashes.
IP Address
The IP address of the routing interface in 32-bit dotted decimal
format.
IP Mask
The IP mask of the routing interface in 32-bit dotted decimal for-
mat.
Netdir Bcast
Indicates if IP forwards net-directed broadcasts on this interface.
Possible values are Enable or Disable.
MultiCast Fwd
Indicates the multicast forwarding administrative mode on the
interface. Possible values are Enable or Disable.
In Access Mode
Indicates the inbound access list checking administrative mode
on this interface. Possible values are Enable or Disable.
Out Access Mode
Indicates the outbound access list checking administrative mode
on this interface. Possible values are Enable or Disable.
show ip route
This command displays the entire route table. This commands takes no options.
Format
show ip route
Mode
Privileged EXEC
Network Address
Is an IP address identifying the network on the specified inter-
face.
Page 245 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Routing Commands
10-13
202-10088-01, March 2005
Subnet Mask
Is a mask of the network and host portion of the IP address for the
router interface.
Protocol
Tells which protocol added the specified route. The possibilities
are: local, static, or RIP.
Total Number of Routes
The total number of routes.
For each Next Hop
Next Hop Intf
The outgoing router interface to use when forwarding traffic to
the next destination.
Next Hop IP Address
The outgoing router IP address to use when forwarding traffic to
the next router (if any) in the path toward the destination.
show ip route bestroutes
This command causes the entire route table to be displayed. This commands takes no options.
Format
show ip route bestroutes
Mode
Privileged EXEC
Network Address
Is an IP route prefix for the destination.
Subnet Mask
Is a mask of the network and host portion of the IP address for the
specified interface.
Protocol
Tells which protocol added the specified route. The possibilities
are: local, static, or RIP.
Total Number of Routes
The total number of routes in the route table.
For each Next Hop
Next Hop Intf
The outgoing router interface to use when forwarding traffic to
the next destination.
Next Hop IP Address
The outgoing router IP address to use when forwarding traffic to
the next router (if any) in the path toward the destination. The
next router will always be one of the adjacent neighbors or the IP
address of the local interface for a directly attached network.
show ip route entry
This command displays the entire route table.
Format
show ip route entry

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top