6.2 Configuring route
6-4
6.2 Configuring route
6.2.1 Adding a route
Command Description
Config
Enter the global configuration mode
ip route <A.B.C.D> <E.F.G.H> <I.J.K.L>
Add a route.
A.B.C.D: The first parameter is the IP address of
the target network subnet or host in the format of
decimal numbers separated by dots.
E.F.G.H: The second parameter is the subnet mask
for the IP address of the target network or a host in
the format of decimal numbers separated by dots.
I.J.K.L: The third parameter is the IP address of
gateway in the format of decimal numbers
separated by dots.
show ip route
Shows the route information
Example:
Mro-tek#
config
Mro-tek(config)#
ip route
192.168.6.0 255.255.255.0 192.168.4.28
Successfully add a route
Mro-tek(config)#
show ip route
ROUTE NET TABLE
destination gateway flags(0x)Rfc Use pro Interface
-----------------------------------------------------------------------
192.168.4.0/24 192.168.4.28 2010101 0 0 1 motfec0
192.168.5.0/24 192.168.5.20 2000101 0 0 2 motfek0
192.168.6.0/24 192.168.4.28 2010101 0 0 1 motfec0
-----------------------------------------------------------------------
ROUTE HOST TABLE
destination gateway flags(0x)Rfc Use pro Interface
----------------------------------------------------------------------
127.0.0.1 127.0.0.1 2200005 0 0 2
lo0
----------------------------------------------------------------------
Mro-tek(config)#
Содержание PINE-16M
Страница 1: ...2010 All Rights Reserved PINE 16M Configuration Guide...
Страница 6: ......
Страница 9: ...1 1 Chapter 1 Overview...
Страница 11: ...2 1 Chapter 2 Using Command Lines...
Страница 15: ...3 1 Chapter 3 System Command...
Страница 17: ...4 1 Chapter 4 Configuration at Central Site...
Страница 69: ...5 1 Chapter 5 Configuration of remote inverse multiplexer device...
Страница 78: ......
Страница 79: ...6 1 Chapter 6 Network Protocol Configuration...
Страница 89: ...7 1 Chapter 7 Example of the Configuring PINE 16M...