![Comnet CWGE24MS2 Скачать руководство пользователя страница 168](http://html1.mh-extra.com/html/comnet/cwge24ms2/cwge24ms2_installation-and-operation-manual_2644377168.webp)
INS_CWGE24MS2_REV–
10/05/16 PAGE 168
INSTALLATION AND OPERATION MANUAL
CWGE24MS2
TECH SUPPORT: 1.888.678.9427
Static Route
Introduction
Static routes, which define explicit paths between two routers, cannot be automatically updated;
you must manually reconfigure static routes when network changes occur. Static routes use less
bandwidth than dynamic routes. No CPU cycles are used to calculate and analyze routing updates.
IP forwarding
IP forwarding provides on end to end delivery of IP packet between hosts with help of routers.
Routing database plays import role in forwarding the packets. Routers populate its routing
database either by manual configurations or by using dynamic routing protocols.
IP forwarding works as router as well as Inter VLAN routing with trunk stick.
Manual routing configurations are called as Static routes. Static routes are permanent routes; we
can delete those routes with manual configurations only.
Whenever an IP packet received by a router then it fetches destination IP address and it will do the
lookup in routing table to find the longest prefix match route. Packet is forwarded on the assigned
next-hop in the route.
CLI configuration
Node
Command
Description
enable
show ip forwarding
status
This command displays the current configuration of the ip forwarding
status.
enable
show ip routes
(all|ipv4|ipv6)
This command displays the configurations of IPv4 or IPv6 or both
routes from routing table.
enable
show ip arp
(all|ipv4|ipv6)
This command displays dynamic and static IPv4 or IPv6 or both ARP
entries in ARP table.
enable
show ip hosts
(all|ipv4|ipv6)
This command displays assigned IPv4 or IPv6 or both addresses for
interfaces in router.
configure ip forwarding enable This command enables layer 3 IPv4 and IPv6 forwarding/routing
globally.
configure no ip forwarding
enable
This command disables layer 3 IPv4 and IPv6 forwarding/routing
globally.
This will delete all assigned IP addresses and static routes from
interfaces.
configure ip arp proxy enable
This command enables route to act as an ARP proxy globally; It will be
useful in InterVLAN routing.
configure no ip arp proxy enable This command disables route to act as an ARP proxy.
configure ipv4 arp <IPv4_ADDR>
<MAC_ADDR>
This command allows adding static IPv4 ARP entry in ARP table.
configure ip6 arp <IPv6_ADDR>
<MAC_ADDR>
This command allows adding static IPv6 ARP entry in ARP table.