Page 81 / 998 Scroll up to view Page 76 - 80
Emergency command reference
Emergency
1-49
iMG/RG Software Reference Manual (System Configuration)
1.3.4
Emergency command reference
This chapter describes the Emergency CLI module commands.
1.3.4.1 Emergency CLI commands
The table below lists the
Emergency
commands provided by the CLI:
Optione2prom recovery config. data
Î
bootstrap file recovery config. data
Ð
NOT AVAILABLE
AVAILABLE
NOT AVAILABLE
If the system restarts
in recovery mode,
the recovery applica-
tion will then use the
default configuration
data coded within
the recovery applica-
tion.
The e2prom recov-
ery configuration
data is removed and
if the system restarts
in recovery mode,
the recovery applica-
tion will then use the
default configuration
data coded within
the recovery applica-
tion.
AVAILABLE
The im.conf recovery
configuration data is
copied into the
e2prom. In this way,
if the system restarts
in recovery mode,
the recovery applica-
tion will then use the
same configuration
data reported by the
im.conf recovery
configuration data.
The im.conf recovery
configuration data is
copied into the
e2prom overriding
any previous configu-
ration present in the
e2prom. In this way,
if the system restarts
in recovery mode,
the recovery applica-
tion will then use the
same configuration
data reported by the
im.conf recovery
configuration data.
Page 82 / 998
Emergency
Emergency command reference
iMG/RG Software Reference Manual (System Configuration)
1-50
TABLE 1-3
Emergency CLI Commands
1.3.4.1.1 EMERGENCY ADD
Syntax
EMERGENCY ADD VLAN <vlan_vid> PORT <port_name> FRAME TAGGED
Description
This command adds and tags an Ethernet port to the specified vlan. The vlan must be
already defined in the Emergency module using the EMERGENCY CREATE VLAN com-
mand.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option Description Default Value
Example
Example
..
emergency add vlan 2 port lan4 frame tagged
See also
EMERGENCY CREATE
EMERGENCY SHOW
EMERGENCY UPDATE
Option
Fiber
A
Fiber
B
Fiber
C
Fiber
D
Fiber
E
Modular
ADSL
A
ADSL
B
ADSL
C
EMERGENCY ADD
EMERGENCY CREATE
EMERGENCY DELETE
EMERGENCY SET DHCP
EMERGENCY SET IPINTERFACE GATEWAY
EMERGENCY SET IPINTERFACE IPADDRESS
EMERGENCY SHOW
EMERGENCY UPDATE
Option
Description
Default Value
vlan_id
The vlan identifier (VID) previously created with the
EMERGENCY CREATE VLAN command. To display
the existing vlan, use the EMERGENCY SHOW com-
mand.
N/A
port_name
The name of an Ethernet port. Available values are:
lan1, lan2, lan3 and lan4.
N/A
Page 83 / 998
Emergency command reference
Emergency
1-51
iMG/RG Software Reference Manual (System Configuration)
1.3.4.1.2 EMERGENCY CREATE
Syntax
EMERGENCY CREATE LAN <vlan_vid>
Description
This command defines a new vlan on which will be attached the ip interface used to reach
the system when running in recovery mode. Creating a new vlan requires also the defini-
tion of which Ethernet port must be tagged for this vlan. To add an Ethernet port to the
new vlan, use the EMERGENCY ADD command.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option Description Default Value
Example
emergency create vlan 2
See also
EMERGENCY ADD
EMERGENCY SHOW
EMERGENCY UPDATE
1.3.4.1.3 EMERGENCY DELETE
Syntax
EMERGENCY DELETE VLAN <vlan_vid> [ PORT <port_name> ]
Description
This command is used to delete an Ethernet port from a previously created vlan and
delete any vlan different from the default. It’s not possible delete a vlan if an Ethernet
port is assigned to this vlan as tagged port. In this case it’s necessary delete first the
Ethernet port with the command EMERGENCY DELETE VLAN PORT and then remove
the vlan with the command EMERGENCY DELETE VLAN.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option
Description
Default Value
vlan_id
The vlan identifier (VID) of the new vlan to be cre-
ated.
Only tagged frame with this VID will be processed
by the upper layer (IP layer) when recovery applica-
tion runs.
N/A
Option
Description
Default Value
vlan_id
he vlan identifier (VID) of the vlan used when recov-
ery application runs.
N/A
Page 84 / 998
Emergency
Emergency command reference
iMG/RG Software Reference Manual (System Configuration)
1-52
Option Description Default Value
Example
emergency delete vlan 2 port lan4
emergency delete vlan 2
See also
EMERGENCY ADD
EMERGENCY SHOW
EMERGENCY UPDATE
1.3.4.1.4 EMERGENCY SET DHCP
Syntax
Syntax EMERGENCY SET DHCP { ENABLE | DISABLE }
Description
This command is used to set the ip interface address used when the system runs in
recovery mode to be dynamic or static. If the interface is set statically and no ipaddress
is set with the command EMERGENCY SET IPINTERFACE command, the recovery
default ip address 192.168.1.1/24 will be used.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
emergency set dhcp enable
See also
EMERGENCY SET IPINTERFACE IPADDRESS
EMERGENCY SHOW
EMERGENCY UPDATE
port_name
The name of an Ethernet port. Available values are:
lan1, lan2, lan3 and lan4. To display the current tagged
port configured in the emergency module, use the
EMERGENCY SHOW command.
N/A
Option
Description
Default Value
ENABLE
Set the recovery ip interface address dynamically. If no
DHCP server is available or cannot be reached, the ip
address will get an autoip address in the subnet
169.254.0.0.
N/A
DISABLE
Turn off the dhcpclient on the recovery ip interface.
N/A
Option
Description
Default Value
Page 85 / 998
Emergency command reference
Emergency
1-53
iMG/RG Software Reference Manual (System Configuration)
1.3.4.1.5 EMERGENCY SET IPINTERFACE GATEWAY
Syntax
Syntax EMERGENCY SET IPINTERFACE GATEWAY <ip_address>
Description
This command sets the default gateway ip address to be used when the system runs in
recovery mode.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Example
emergency set ipinterface gateway 192.168.1.254
See also
EMERGENCY SET IPINTERFACE
EMERGENCY SHOW
EMERGENCY UPDATE
1.3.4.1.6 EMERGENCY SET IPINTERFACE IPADDRESS
Syntax
EMERGENCY SET IPINTERFACE IPADDRESS <ip_address> NETMASK <netmask>
Description
This command sets the ip interface address and netmask to be used when the system
runs
in recovery mode.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option Description Default Value
Example
emergency set ipinterface ipaddress 192.168.1.1 netmask
255.255.255.0
Option
Description
Default Value
ip_address
The default gateway ipaddress in IPv4 format (e.g.
192.168.1.254)
N/A
Option
Description
Default Value
p_address
The ip interface address in IPv4 format (e.g.
192.168.1.1)
N/A
netmask
Network for the interface
N/A

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top