Ip Static Routes - Enterasys C5G124-24 Configuration Manual

Fixed switch platforms
Hide thumbs Also See for C5G124-24:
Table of Contents

Advertisement

IP Static Routes

Procedure 20-2 Configuring the Routing Interface
Step
1.
2.
3.
The following example configures a primary and secondary IP address on VLAN 100, then
displays the VLAN 100 interface configuration:
C5(su)->router
C5(su)->router>enable
C5(su)->router#configure
Enter configuration commands:
C5(su)->router(Config)#interface vlan 100
C5(su)->router(Config-if(Vlan 100))#ip address 192.168.63.1 255.255.255.0
C5(su)->router(Config-if(Vlan 100))#ip address 192.168.65.1 255.255.255.0
secondary
C5(su)->router(Config-if(Vlan 1))#no shutdown
C5(su)->router(Config-if(Vlan 1))#exit
C5(su)->router(Config)#show interface vlan 100
Vlan 100 is Administratively DOWN
Vlan 100 is Operationally DOWN
Internet Address is 192.168.63.1 , Subnet Mask is
Internet Address is 192.168.64.1 , Subnet Mask is
Mac Address is: 001F.4554.F689
The name of this device is Vlan 100
The MTU is 1500 bytes
The bandwidth is 0 Mb/s
Encapsulation type Ethernet
ARP Timeout: 14400 seconds
The no ip address command removes the specified IPv4 address configuration for this interface.
IP Static Routes
Static routes are configured in router global configuration mode using the ip route command. IP
static routes are configured by specifying the destination IPv4 prefix and mask for the route and
the next hop router (gateway) IP address.
An administrative distance can be optionally configured that is used for route selection
preference. The lower the numeric distance value, the greater the preference for the route.
Static routes can be removed from the routing table with the no ip route command.
Use the show ip route command to display IP routes known by the switch, both learned and
static.
20-4 IP Configuration
Task
Enter router interface configuration command
mode for the specified interface from global
configuration command mode.
Set the primary, and optionally the secondary,
IPv4 address for this interface, in interface
configuration command mode.
Enable this interface for IP routing and allow the
interface to automatically be enabled at device
startup, in interface configuration command
mode.
Command(s)
interface {vlan vlan-id | loopback loopback-
id }
ip address ip-address ip-mask [secondary]
no shutdown
255.255.255.0
255.255.255.0 Secondary

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents