Enterasys X-Pedition XSR CLI Cli Reference Manual page 228

Enterasys security router reference guide
Table of Contents

Advertisement

Other IP Commands
Mode
Interface configuration:
Examples
The following CIDR example sets IP address 192.168.1.1 with a mask of /24 on interface F1.
XSR(config)# interface FastEthernet 1
XSR(config-if)# ip address 192.168.1.1/24
The following example sets the IP address 192.168.1.1 on G2:
XSR(config)#interface gigabitethernet 2
XSR(config-if<F1>)#ip address 192.168.1.1 255.255.255.0
In the example below, 131.108.1.27 is the primary address and 192.31.7.17 and 192.31.8.17 are 
secondary addresses for F1:
XSR(config)#interface FastEthernet 1
XSR(config-if<F1>)#ip address 131.108.1.27 255.255.255.0
XSR(config-if<F1>)#ip add 192.31.7.17 255.255.255.0 secondary
XSR(config-if<F1>)#ip add 192.31.8.17 255.255.255.0 secondary
The following example configures 1.1.1.1 as the primary and other IP addresses as secondary 
addresses for F1, removes secondary IP 4.4.4.1 from the interface by entering 
4.4.4.1 255.255.255.0 secondary
ip address 9.9.9.1 255.255.255.0.
XSR(config)#interface FastEthernet 1
XSR(config-if<F1>)#ip address 1.1.1.1 255.255.255.0
XSR(config-if<F1>)#ip address 2.2.2.1 255.255.255.0 secondary
XSR(config-if<F1>)#ip address 3.3.3.1 255.255.255.0 secondary
XSR(config-if<F1>)#ip address 4.4.4.1 255.255.255.0 secondary
XSR(config-if<F1>)#no shutdown
XSR(config)#interface FastEthernet 1
XSR(config-if<F1>)#no ip address 4.4.4.1 255.255.255.0 secondary
XSR(config)#interface FastEthernet 1
XSR(config-if<F1>)#ip address 9.9.9.1 255.255.255.0
ip default-network
This command specifies candidates for the default route and works in conjunction with the 
route
one hop away and have a natural mask attributed to it.
Syntax
ip default-network network-number
network-number
Syntax of the "no" Form
The no form of this command removes the route:
no ip default-network network-number
5-152 Configuring the Internet Protocol
XSR(config-if<xx>)#
command which creates static routes to the default network. Default routes must be at least 
Number of the network.
, and updates the primary IP address to 9.9.9.1 by entering
no ip address
ip

Advertisement

Table of Contents
loading

This manual is also suitable for:

X-pedition xsr

Table of Contents