|
JUNOSe 7.3.x
Command Reference Guide N to Z > About This Guide
> Documentation Conventions
Documentation Conventions Table 1 defines notice icons used in this guide.
|
|
|
|
Informational note
|
Indicates important features or instructions.
|
|
Caution
|
Indicates a situation that might result in loss of data or hardware damage.
|
|
Warning
|
Alerts you to the risk of personal injury.
|
Table 2 defines text conventions used in this guide and the syntax conventions used
primarily in the JUNOSe Command Reference Guide. For more information about
command syntax, see JUNOSe System Basics Configuration Guide, Chapter 2,
Command-Line Interface.
Table 2: Text and Syntax Conventions
|
|
|
|
Represents commands and keywords in text. |
- Issue the clock source command.
- Specify the keyword exp-msg.
|
Represents text that the user must type.
|
host1(config)#traffic class low-loss1
|
Represents information as displayed on your terminal's screen.
|
host1#show ip ospf 2
Routing Process OSPF 2 with Router ID 5.5.0.250
Router is an Area Border Router (ABR)
|
- Emphasizes words.
- Identifies variables.
- Identifies chapter, appendix, and book names.
|
- There are two levels of access, user and privileged.
- clusterId, ipAddress.
- Appendix A, System Specifications.
|
Plus sign (+) linking key names
|
Indicates that you must press two or more keys simultaneously.
|
Press Ctrl+b.
|
Syntax Conventions in the Command Reference Guide |
|
Plain typeface
|
Represents keywords.
|
terminal length
|
Italic typeface
|
Represents variables.
|
mask, accessListName
|
| (pipe symbol)
|
Represents a choice to select one keyword or variable to the left or right of this symbol. (The keyword or variable can be either optional or required.)
|
diagnostic | line
|
[ ] (brackets)
|
Represent optional keywords or variables.
|
[ internal | external ]
|
[ ]* (brackets and asterisk)
|
Represent optional keywords or variables that can be entered more than once.
|
[ level1 | level2 | l1 ]*
|
{ } (braces)
|
Represent required keywords or variables.
|
{ permit | deny } { in | out }
{ clusterId | ipAddress }
|
Using the no Version Versus the default Version of Commands
Most router configuration commands have a no version, which you can use to negate a command (or a portion of it specified by an optional keyword) or restore its default setting. When you use a command without the keyword no, you can reenable a disabled feature or override a default setting. You have the option of using the default keyword whenever the no keyword is also a choice; simply enter the keyword default instead of no.
In most cases, when you execute the default version of a command, it produces the exact results as the no version. There are some commands for which the default version yields a different result than the no version.
Commands for which the default behavior differs from the no behavior are clearly identified in this guide. Unless otherwise specified, therefore, the default command is identical to the no command and is neither documented nor discussed.
The syntax for each no command is described in this guide. Some commands do not have a no version; this is indicated in the individual command descriptions except for the show commands, none of which has a no version.
The CLI can act on no versions of commands when you have entered sufficient information to distinguish the command syntactically, and ignores all subsequent input on that line.
To be compatible with some non-E-series implementations, the no versions of commands accept the same options as the affirmative version of the commands. The CLI ignores the optional input if it has no effect on the command behavior. If using the option changes the behavior of the no version, the individual command entry in this guide describes the difference in behavior.
Deprecated Commands
A command that has been deprecated in a release or in a particular configuration mode returns a notice when you issue the command manually:
NOTICE: This command is obsolete. It may be completely removed from a
subsequent software release.
A preferred alternate command is provided in the notice. If you have a script that uses the deprecated command, the deprecated command is automatically mapped to the preferred command when you run the script. If the deprecated command no longer has a function, then that command has no effect when you run a script containing the command.
We recommend that you use the preferred command when writing new scripts.
Filtering show Commands
You have access to a variety of show commands that display router and protocol information. You can filter the output of a show command by specifying | (the UNIX pipe symbol), one of the following keywords, and either a case-sensitive text string or a regular expression.
- begin—Displays output beginning with the first line that contains the text string or regular expression
- include—Displays output lines that contain the text string or regular expression and excludes lines that do not contain the text string or regular expression
- exclude—Displays output lines that do not contain the text string or regular expression and excludes lines that do contain the text string or regular expression
For a list of regular expressions, see JUNOSe IP Services Configuration Guide, Chapter 1, Configuring Routing Policy.
You can press Ctrl+c to interrupt the show command output.
 |
NOTE: The router does not recognize beginning spaces of the text string. For example, if you enter the include option with IP as the text string on which to filter, the router ignores the space and displays lines that include words such as RIP.
|
Example
In the following example, the output display consists only of lines that contain the string ip. The router omits all other lines of the output from the display because none of them contain the string ip.
host1#show config include-defaults | include ip
! Configuration script generated on FRI NOV 12 1999 16:56:41 UTC
ip address 192.168.1.229 255.255.255.0
ip rip receive version 2 1
ip rip send version 1
ip rip authentication mode md5 17
ip rip authentication key
ip route 10.6.0.0 255.255.0.0 192.168.1.1
ip route 10.10.0.0 255.255.0.0 192.168.1.1
ip route 10.10.0.166 255.255.255.255 192.168.1.1
ip debounce-time 0
router rip
Interface Types and Specifiers
Many commands take the variables interfaceType and interfaceSpecifier. Some commands support all types of interfaces, whereas other commands support only certain types of interfaces. Similarly, some commands support all interface specifier formats for a particular interface type, whereas other commands support only certain interface specifier formats.
Table 3 lists the interface specifiers for each type of interface on ERX-7xx models, ERX-14xx models, and the ERX-310 router.
Table 4 lists the interface specifiers for each type of interface on the E320 router.
Table 3: Interface Types and Specifiers for ERX-7xx Models, ERX-14xx Models, and ERX-310 Router
|
|
|
|
atm
|
ATM interface or
ATM 1483 subinterface
|
Refer to the individual formats listed below.
|
- ATM interface or subinterface
|
|
To configure an ATM interface or subinterface:
slot/port[.subinterface ]
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models), 0-13 (ERX-14xx models), and 0-2 (ERX-310 router)
- port—Port number on the I/O module
- subinterface—Number of the subinterface in the range 1-2147483647
|
atm 3/2.6
|
|
|
|
To display information about an ATM 1483 subinterface by using show commands:
slot/port/vpi/vci
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models), 0-13 (ERX-14xx models), and 0-2 (ERX-310 router)
- port—Port number on the I/O module
- vpi—Virtual path identifier of the PVC on this ATM 1483 subinterface; allowable numeric range depends on the module capabilities and current configuration
- vci—Virtual circuit identifier of the PVC on this ATM 1483 subinterface; allowable numeric range depends on the module capabilities and current configuration
|
atm 3/2/1/2
|
fastEthernet
|
IEEE 802.3 Fast Ethernet (FE) interface
|
slot/port[.subinterface1[.subinterface2 ] ]
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models), 0-13 (ERX-14xx models), and 0-2 (ERX-310 router)
- port—Port number on the I/O module or port 0 for the Fast Ethernet management port on the SRP I/O module
The meaning of the subinterface variables depends on the configuration context. You can configure Fast Ethernet interfaces with or without VLANS.
- subinterface1—Number of the VLAN subinterface in the range 1-2147483647; no more than 4096 VLAN subinterfaces per Fast Ethernet physical port
- subinterface2—When using PPPoE, the number of the PPPoE subinterface in the range 1-2147483647; no more than 4094 PPPoE subinterfaces per Fast Ethernet physical port
- subinterface1—When using PPPoE, the number of the PPPoE subinterface in the range 1-2147483647; no more than 4094 PPPoE subinterfaces per Fast Ethernet physical port
- subinterface2—Not used
|
fastEthernet 3/2.6.20
|
gigabitEthernet
|
IEEE 802.3 Gigabit Ethernet (GE) interface
|
slot/port[.subinterface1[.subinterface2 ] ]
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models), 0-13 (ERX-14xx models), and 0-2 (ERX-310 router)
- port—Port number on the I/O module
The meaning of the subinterface variables depends on the configuration context. You can configure Gigabit Ethernet interfaces with or without VLANs.
- subinterface1—Number of the VLAN subinterface in the range 1-2147483647; no more than 4096 VLAN subinterfaces per Gigabit Ethernet physical port
- subinterface2—When using PPPoE, the number of the PPPoE subinterface in the range 1-2147483647; no more than 4094 PPPoE subinterfaces per Gigabit Ethernet physical port
- subinterface1—When using PPPoE, the number of the PPPoE subinterface in the range 1-2147483647; no more than 4094 PPPoE subinterfaces per Gigabit Ethernet physical port
- subinterface2—Not used
|
gigabitEthernet 3/0.6.20
|
hssi
|
High-speed serial interface
|
slot/port[.subinterface ]
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models) and 0-13 (ERX-14xx models)
- port—Port number on the I/O module
- subinterface—Number of the subinterface in the range 1-21474836472
|
hssi 3/0
|
lag
|
IEEE 802.3ad link aggregation group (LAG) interface
|
bundle-name[.subinterface ]
- bundle-name—Name of the bundle
- subinterface—Number of the LAG subinterface in the range 1-2147483647
|
lag paris.2
|
loopback
|
Loopback interface
|
integer
- integer—Integer in the range
1-4294967293
|
loopback 20
|
mlframe-relay
|
Multilink frame relay interface
|
bundle-name[.subinterface ]
- bundle-name—Name of the bundle
- subinterface—Number of the MLFR subinterface in the range 1-4294967293
|
mlframe-relay boston.1
|
mlppp
|
Multilink PPP interface
|
bundle-name
- bundle-name—Name of the bundle
|
mlppp chicago
|
null3
|
Null interface, which cannot forward or receive traffic
|
0
|
null 0
|
pos
|
Packet over SONET (POS) interface
|
slot/port[.subinterface ]
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models), 0-13 (ERX-14xx models), and 0-2 (ERX-310 router)
- port—Port number on the I/O module
- subinterface—Number of the subinterface in the range 1-2147483647c
|
pos 3/2
|
serial
|
CE1, CT1, CT3, E3-FRAME, T3-FRAME, cOCx/STMx interface, or X.21/V.35 interface
|
Refer to the individual formats listed below.
|
|
|
|
slot/port:channel-group[.subinterface ]
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models) and 0-13 (ERX-14xx models)
- port—Port number on the I/O module
- channel-group—Number of the channel group associated with a range of DS0 timeslots on a CE1 or CT1 module; in the range 1-31 for a CE1 module, and 1-24 for a CT1 module
- subinterface—Number of the subinterface in the range 1-2147483647c
|
serial 3/2:20
|
|
|
|
slot/port:channel/subchannel[.subinterface ]
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models) and 0-13 (ERX-14xx models)
- port—Port number on the I/O module
- channel—Number of a T1 channel on a CT3 module; in the range 1-28
- subchannel—Number of the channel group associated with a range of DS0 timeslots on a CT3 module; in the range 1-28
- subinterface—Number of the subinterface in the range 1-2147483647c
|
serial 3/2:20/15
|
|
|
|
slot/port[.subinterface ]
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models) and 0-13 (ERX-14xx models)
- port—Port number on the I/O module
- subinterface—Number of the subinterface in the range 1-2147483647c
|
serial 3/2
|
|
|
|
slot/port:path-channel/path-payload/
tributary-group/tributary-number/
channelNumber[.subinterface ]
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models), 0-13 (ERX-14xx models), and 0-2 (ERX-310 router)
- port—Port number on the I/O module
- path-channel—Number of the STS-1or STM-0 line in the range 1-2147483648
- path-payload—Number of the payload within the path
- tributary-group—Number of the tributary group within the path
- tributary-number—Number of the tributary within the group
- channelNumber—1 (the router assigns the number one to an unframed E1 channel)
- subinterface—Number of the subinterface in the range 1-2147483647c
|
serial 3/0:10/1/2/2/1
|
- cOCx/STMx: fractional E1/T1
|
|
slot/port:path-channel/path-payload/
tributary-group/tributary-number/
channel-group[.subinterface ]
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models), 0-13 (ERX-14xx models), and 0-2 (ERX-310 router)
- port—Port number on the I/O module
- path-channel—Number of the STS-1or STM-0 line in the range 1-2147483648
- path-payload—Number of the payload within the path
- tributary-group—Number of the tributary group within the path
- tributary-number—Number of the tributary within the group
- channel-group—Number of a fractional T1 or E1 line
- subinterface—Number of the subinterface in the range 1-2147483647c
|
serial 3/0:10/1/2/2/1
|
- cOCx/STMx: unchannelized DS3
|
|
slot/port:path-channel/ds3-channel-number
[.subinterface ]
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models), 0-13 (ERX-14xx models), and 0-2 (ERX-310 router)
- port—Port number on the I/O module
- path-channel—Number of the STS-1or STM-0 line in the range 1-2147483648
- ds3-channel-number—Number of a T3 channel
- subinterface—Number of the subinterface in the range 1-2147483647c
|
serial 3/0:1/1
|
- cOCx/STMx: DS3 channelized to DS0
|
|
slot/port:path-channel/ds3-channel-number/
ds1-channel-number/subchannel-number
[.subinterface ]
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models), 0-13 (ERX-14xx models), and 0-2 (ERX-310 router)
- port—Port number on the I/O module
- path-channel—Number of the STS-1or STM-0 line in the range 1-2147483648
- ds3-channel-number—Number of a T3 channel
- ds1-channel-number—Number of a T1 channel
- subchannel-number—Number of a fractional T1 channel
- subinterface—Number of the subinterface in the range 1-2147483647c
|
serial 3/0:1/1/10/15
|
|
|
|
slot/port[.subinterface ]
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models) and 0-13 (ERX-14xx models)
- port—Port number on the I/O module
- subinterface—Number of the subinterface in the range 1-2147483647c
|
serial 3/1
|
sonet - line layer
|
Line layer of a SONET/SDH interface
|
slot/port
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models), 0-13 (ERX-14xx models), and 0-2 (ERX-310 router)
- port—Port number on the I/O module
|
sonet 3/0
|
sonet - path layer
|
Path layer of a SONET/SDH interface
|
slot/port:path-channel
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models), 0-13 (ERX-14xx models), and 0-2 (ERX-310 router)
- port—Port number on the I/O module
- path-channel—Number of the STS-1or STM-0 line in the range 1-2147483648
|
sonet 3/0:2
|
sonet - section layer
|
Section layer of a SONET/SDH interface
|
slot/port
- slot—Number of the chassis slot in the range 0-6 (ERX-7xx models), 0-13 (ERX-14xx models), and 0-2 (ERX-310 router)
- port—Port number on the I/O module
|
sonet 3/0
|
tunnel
|
Tunnel interface
|
tunnel-type:tunnel-name[.subinterface ]
- tunnel-type—Type of the tunnel: dvmrp, gre, ipsec, l2tp, or mpls
- tunnel-name—Name of the tunnel
- subinterface—For GRE tunnels, number of the subinterface in the range 1-2147483647c
|
tunnel gre:boston
|
Table 4: Interface Types and Specifiers for E320 Router
|
|
|
|
atm
|
ATM interface or
ATM 1483 subinterface
|
Refer to the individual formats listed below.
|
- ATM interface or subinterface
|
|
To configure an ATM interface or subinterface:
slot/adapter/port[.subinterface ]
- slot—Number of the chassis slot in the range 0-5 or 11-16
- adapter—Identifier for the IOA within the chassis slot, either 0 or 1, where:
- 0 indicates that the IOA is installed in the upper IOA bay.
- 1 indicates that the IOA is installed in the lower IOA bay.
- port—Port number on the IOA
- subinterface—Number of the subinterface in the range 1-2147483647
|
atm 3/1/7.6
|
|
|
|
To display information about an ATM 1483 subinterface by using show commands:
slot/adapter/port/vpi/vci
- slot—Number of the chassis slot in the range 0-5 or 11-16
- adapter—Identifier for the IOA within the chassis slot, either 0 or 1, where:
- 0 indicates that the IOA is installed in the upper IOA bay.
- 1 indicates that the IOA is installed in the lower IOA bay.
- port—Port number on the IOA
- vpi—Virtual path identifier of the PVC on this ATM 1483 subinterface; numeric range for the E320 router is 0-255
- vci—Virtual circuit identifier of the PVC on this ATM 1483 subinterface; numeric range for the E320 router is 1-65535
|
atm 3/1/7/1/2
|
fastEthernet
(for Fast Ethernet management port on SRP IOA)
|
IEEE 802.3 Fast Ethernet (FE) interface
|
slot/adapter/port
- slot—Number of the chassis slot, either 6 or 7
- adapter—Identifier for the SRP I/O adapter (IOA) within the chassis slot; always 0
- port—Port number on the SRP IOA; always 0
|
fastEthernet 6/0/0
|
gigabitEthernet
|
IEEE 802.3 Gigabit Ethernet (GE) interface
|
slot/adapter/port[.subinterface1[.subinterface2 ] ]
- slot—Number of the chassis slot in the range 0-5 or 11-16
- adapter—Identifier for the IOA within the chassis slot, either 0 or 1, where:
- 0 indicates that the IOA is installed in the upper IOA bay.
- 1 indicates that the IOA is installed in the lower IOA bay.
- port—Port number on the IOA
The meaning of the subinterface variables depends on the configuration context. You can configure Gigabit Ethernet interfaces with or without VLANs.
- subinterface1—Number of the VLAN subinterface in the range 1-2147483647; no more than 4096 VLAN subinterfaces per Gigabit Ethernet physical port
- subinterface2—When using PPPoE, the number of the PPPoE subinterface in the range 1-2147483647; no more than 4094 PPPoE subinterfaces per Gigabit Ethernet physical port
- subinterface1—When using PPPoE, the number of the PPPoE subinterface in the range 1-2147483647; no more than 4094 PPPoE subinterfaces per Gigabit Ethernet physical port
- subinterface2—Not used
|
gigabitEthernet 4/0/1.20
|
lag
|
IEEE 802.3ad link aggregation group (LAG) interface
|
bundle-name[.subinterface ]
- bundle-name—Name of the bundle
- subinterface—Number of the LAG subinterface in the range 1-2147483647
|
lag paris.2
|
pos
|
Packet over SONET (POS) interface
|
slot/adapter/port
- slot—Number of the chassis slot in the range 0-5 or 11-16
- adapter—Identifier for the IOA within the chassis slot, either 0 or 1, where:
- 0 indicates that the IOA is installed in the upper IOA bay.
- 1 indicates that the IOA is installed in the lower IOA bay.
- port—Port number on the IOA
|
pos 5/0/0
|
sonet - line layer
|
Line layer of a SONET/SDH interface
|
slot/adapter/port
- slot—Number of the chassis slot in the range 0-5 or 11-16
- adapter—Identifier for the IOA within the chassis slot, either 0 or 1, where:
- 0 indicates that the IOA is installed in the upper IOA bay.
- 1 indicates that the IOA is installed in the lower IOA bay.
- port—Port number on the IOA
|
sonet 3/0/0
|
sonet - path layer
|
Path layer of a SONET/SDH interface
|
slot/adapter/port
- slot—Number of the chassis slot in the range 0-5 or 11-16
- adapter—Identifier for the IOA within the chassis slot, either 0 or 1, where:
- 0 indicates that the IOA is installed in the upper IOA bay.
- 1 indicates that the IOA is installed in the lower IOA bay.
- port—Port number on the IOA
|
sonet 3/0/0
|
sonet - section layer
|
Section layer of a SONET/SDH interface
|
slot/adapter/port
- slot—Number of the chassis slot in the range 0-5 or 11-16
- adapter—Identifier for the IOA within the chassis slot, either 0 or 1, where:
- 0 indicates that the IOA is installed in the upper IOA bay.
- 1 indicates that the IOA is installed in the lower IOA bay.
- port—Port number on the IOA
|
sonet 3/0/0
|
tenGigabitEthernet
|
IEEE 802.3ae 10-Gigabit Ethernet (GE) interface
|
slot/adapter/port[.subinterface1[.subinterface2 ] ]
- slot—Number of the chassis slot in the range 0-5 or 11-16
- adapter—Identifier for the IOA within the chassis slot. 0 indicates that this a full-height IOA.
- port—Port number on the IOA
The meaning of the subinterface variables depends on the configuration context. You can configure 10-Gigabit Ethernet interfaces with or without VLANs.
- subinterface1—Number of the VLAN subinterface in the range 1-2147483647; no more than 4096 VLAN subinterfaces per 10-Gigabit Ethernet physical port
- subinterface2—When using PPPoE, the number of the PPPoE subinterface in the range 1-2147483647; no more than 4094 PPPoE subinterfaces per 10-Gigabit Ethernet physical port
- subinterface1—When using PPPoE, the number of the PPPoE subinterface in the range 1-2147483647; no more than 4094 PPPoE subinterfaces per 10-Gigabit Ethernet physical port
- subinterface2—Not used
|
tenGigabitEthernet 4/0/1.20
|
tunnel
|
Tunnel interface
|
tunnel-type:tunnel-name[.subinterface]
- tunnel-type—Type of the tunnel: dvmrp, gre, l2tp, or mpls
- tunnel-name—Name of the tunnel
- subinterface—For GRE tunnels, number of the subinterface in the range 1-21474836472
|
tunnel gre:boston
|
|