Documente Academic
Documente Profesional
Documente Cultură
QRN
- CONFIGURE IP ADDRESS
Function
Use this command to configure a new IP address for a network interface.
The EL0 and EL1 are used as the slav e interf aces f or bond0.
Parameters
unit identification; plug-in unit identification; interface name; IP address; netmask, address type and attributes;
destination IP address;
Syntax
Syntax
QRN: <unit type>, [<unit index> | <unit group> , <unit index>]:
[<plug-in unit type>, <plug-in unit index>]:
<interface name>, [<redundant ip address interface name>]:
<IP address>, [ <IPv4 netmask length> | 8/16/24 def |
<IPv6 prefix length> | <64> def ],
[[IP address type <L> | <P> | <L> def ] ,
[<attributes <V> | <I> | <D> | <M> | <C>]]:
[ <destination IP address> ];
1/5
11/30/12
IP address
The IP address of the network interf ace.
The address is specif ied in conv entional dot notation: (#.#.#.#) f or IPv 4 or (#:#:#:#:#:#:#:#) f or IPv 6.
For IPv 4 the parameter v alue ranges f or each part of the address f rom 0 to 255, except f or the f irst and the last part where the range is f rom 1 to 255.
For IPv 6 the range is f rom 0 to FFFF, except f or the f irst and last part where the range is f rom 1 to FFFF.
Only one IP address can be giv en at a time.
netmask length
This parameter giv es the length of the numerical part of the IP address in bits.
The v alues range f rom 4 to 32 f or IPv 4 addresses and f rom 1 to 128 f or IPv 6 addresses.
The parameter can be giv en only if an IP address is giv en.
The def ault length of the netmask f or IPv 4 addresses is determined by the IP address: f or a class A address it is 8, f or a class B address it is 16, and
f or a class C address it is 24. For point-to-point links it is alway s 32.
Examples of the corresponding netmasks: 255.0.0.0, 255.255.0.0, and 255.255.255.0. For IPv 6 addresses the def ault pref ix length is 64.
IP address type
The logical or phy sical IP address f or the network interf ace.
L
Logical IP address
This address belongs to the specif ied interf ace of the specif ied f unctional unit. The logical IP address f ollows the activ e unit. The
logical IP address can be giv en to 2N and N+1 units.
IP address attributes
Virtual and/or Internal attribute of the IP address.
V
Virtual IP address
The v irtual IP address can be conf igured concurrently to network interf aces in dif f erent units.
Internal IP address
This address is an internal address.
ETPSIG-M IP address
ETPSIG-C IP address
destination IP address
This parameter can only be conf igured to a point-to-point interf ace. It is the remote address of the link.
Exam ples
Exam ples
1.
Assign a phy sical IPv 4 address to the network interf ace EL0 of OMU-0.
QRN:OMU,0::EL0:"131.228.45.176",,P;
2.
Assign a phy sical IPv 4 address to the network interf ace EL0 of BCSU-0's PCUS-1.
QRN:BCSU,0:PCUS,1:EL0:"131.230.42.22",,P;
3.
Assign a phy sical IPv 4 address to the network interf ace EL0 of OMU-0 with a netmask of 20.
QRN:OMU,0::EL0:"131.228.45.178",20,P;
4.
Assign a logical IPv 6 address to the network interf ace EL0 of OMU units.
QRN:OMU::EL0:"3FFE:100:80:1:45:1:1:1",,L;
5.
Assign a logical IPv 4 address to the network interf ace EL0 of PAPU-2.
QRN:PAPU,2::EL0:"131.228.45.180",,L;
6.
Assign a logical IPv 4 address to the network interf ace AA0 of the IOCPEA plug-in unit.
QRN:PAPU,0:IOCPEA,1:AA0:"131.228.45.181",,L:"140.0.0.1";
7.
Assign a phy sical redundant IPv 4 address to two network interf aces EL0 and EL1 of OMU-0.
QRN:OMU,0::EL0,EL1:"131.228.45.183",,P;
8.
Assign a phy sical v irtual IPv 4 address to the network interf ace EL0 of SIGU-0 with a netmask of 32.
QRN:SIGU,0::EL0:"131.228.45.188",32,P,V;
9.
Assign a phy sical IPv 4 address to the network interf ace EMB0 of OMU-0.
2/5
serv ice=printv
11/30/12 iew&library =a25003a0000a7700676p1&source=xdoc&item=d
QRN:OMU,0::EMB:"192.168.100.14",24,P;
10.
Assign a logic ETPSIG-C IPv 4 address to the network interf ace IFETH0 of SP-EX ETME-0.
QRN:ETME,0::IFETH0:"192.168.100.24",24,L,C;
Execution printouts
Execution printouts
The f ollowing abbrev iations are used in the execution printouts:
UNIT
Computer unit and plug-in unit whose network interf ace is conf igured
INTERFACE
IF NAME
ADMIN STATE
MTU
ADDR ATTR
IP ADDRESS
3/5
serv ice=printv
11/30/12 iew&library =a25003a0000a7700676p1&source=xdoc&item=d
UNIT
ADMIN
ADDR
INTERFACE STATE MTU ATTR IP ADDRESS
------------ ----- ----- ----- ----------------------------------------------ETME-0
IFETH0
UP
1500 LC (192.168.100.24/24)
COMMAND EXECUTED
DN0993509
Id: 0900d8058088fccf
5/5