Avaya P330-ML-ML 사용자 설명서

다운로드
페이지 320
Chapter 2        Avaya P330-ML Layer 2 CLI Commands
72
Avaya P330-ML Reference Guide
set ip route
User level: privileged, supervisor.
Use the set ip route command to add a route to the IP routing table. You can 
configure from 1 to 10 default static gateways for a P330-ML switch. 
The syntax for this command is:
set ip route <destination> <gateway>
Example:
This example shows how to add a default route to the IP routing table:
set license
User level: privileged, supervisor.
Use the set license command to activate the SMON and Routing capabilities 
of the Avaya P330-ML stack. An Avaya P330-ML stack can include several Avaya 
P330-ML switches. One SMON  license is required per Avaya P330-ML stack; a 
routing license is required for each P330-ML-ML switch in the stack. 
For a full description of the SMON or Routing License and the installation 
procedure please refer to the Installation Guide provided with the SMON/Routing 
License.
destination
IP address of the network, or specific host to be added
gateway
IP address of the router
P330-N# set ip route 0.0.0.0 192.168.1.1
destination = 0.0.0.0  gateway = 192.168.1.1
ROUTE NET TABLE
destination      gateway          flags  Refcnt  Use           Interface
------------------------------------------------------------------------
0.0.0.0          192.168.1.1      1      1       3199          se0
127.1.1.0        127.1.1.1        1      8       7606          se1
------------------------------------------------------------------------
ROUTE HOST TABLE
destination      gateway          flags  Refcnt  Use           Interface
------------------------------------------------------------------------
127.0.0.1        127.0.0.1        5      2       131           lo0
10.10.10.10      192.168.1.1      7      0       0             se0
------------------------------------------------------------------------