EasyManua.ls Logo

Allied Telesis AT-x210-9GT - Ip Route

Allied Telesis AT-x210-9GT
1575 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
C613-50105-01 REV C Command Reference for x210 Series 596
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
STATIC ROUTING COMMANDS FOR MANAGEMENT PURPOSES
IP
ROUTE
ip route
Overview This command creates a static route, in order to send management packets to the
appropriate VLAN.
Your switch does not use static routes to route traffic from one VLAN to another
VLAN, even if the VLANs have IP addresses. You cannot create static routes to route
data, only management packets.
The no variant of this command removes the static route.
Syntax
ip route <subnet&mask> {<gateway-ip>|<interface>} [<distance>]
no ip route <subnet&mask> {<gateway-ip>|<interface>}
[<distance>]
Mode Global Configuration
Default The default administrative distance for a static route is 1.
Example To send management traffic on the 10.0.0.0 network to vlan10 and other
management traffic to vlan5, use the commands:
awplus# configure terminal
awplus(config)# ip route 10.0.0.0/8 vlan10
awplus(config)# ip route 0.0.0.0/0 vlan5
Related
Commands
show ip route
show ip route database
Parameter Description
<subnet&mask> The IPv4 address of the destination subnet defined using either a
prefix length or a separate mask specified in one of the following
formats:
The IPv4 subnet address in dotted decimal notation followed by
the subnet mask, also in dotted decimal notation.
The IPv4 subnet address in dotted decimal notation, followed by a
forward slash, then the prefix length.
<gateway-ip> The IPv4 address of the gateway device.
<interface> The VLAN interface that the target packets should be sent to. Enter
the name of the VLAN or its VID.
The gateway IP address or the interface is required.
<distance> The administrative distance for the static route in the range
<1-255>. Static routes by default have an administrative distance
of 1.

Table of Contents

Related product manuals