Documentation Conventions
Table 1 defines notice icons used in this guide.
![]()
![]()
Indicates a situation that might result in loss of data or hardware damage.
![]()
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.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 nonE-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.
- beginDisplays output beginning with the first line that contains the text string or regular expression
- includeDisplays output lines that contain the text string or regular expression and excludes lines that do not contain the text string or regular expression
- excludeDisplays 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.
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 UTCip address 192.168.1.229 255.255.255.0ip rip receive version 2 1ip rip send version 1ip rip authentication mode md5 17ip rip authentication keyip route 10.6.0.0 255.255.0.0 192.168.1.1ip route 10.10.0.0 255.255.0.0 192.168.1.1ip route 10.10.0.166 255.255.255.255 192.168.1.1ip debounce-time 0router ripInterface 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 E120 router and the E320 router.
- ATM 1483 subinterface1
To display information about an ATM 1483 subinterface by using show commands:
- slotNumber of the chassis slot in the range 06 (ERX-7xx models), 013 (ERX-14xx models), and 02 (ERX-310 router)
- portPort number on the I/O module
- vpiVirtual path identifier of the PVC on this ATM 1483 subinterface; allowable numeric range depends on the module capabilities and current configuration
- vciVirtual circuit identifier of the PVC on this ATM 1483 subinterface; allowable numeric range depends on the module capabilities and current configuration
slot/port[.subinterface1[.subinterface2 ] ]
- slotNumber of the chassis slot in the range 06 (ERX-7xx models), 013 (ERX-14xx models), and 02 (ERX-310 router)
- portPort 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.
- subinterface1Number of the VLAN subinterface in the range 12147483647; no more than 4096 VLAN subinterfaces per Fast Ethernet physical port
- subinterface2When using PPPoE, the number of the PPPoE subinterface in the range 12147483647; no more than 4094 PPPoE subinterfaces per Fast Ethernet physical port
slot/port[.subinterface1[.subinterface2 ] ]
- slotNumber of the chassis slot in the range 06 (ERX-7xx models), 013 (ERX-14xx models), and 02 (ERX-310 router)
- portPort 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.
- subinterface1Number of the VLAN subinterface in the range 12147483647; no more than 4096 VLAN subinterfaces per Gigabit Ethernet physical port
- subinterface2When using PPPoE, the number of the PPPoE subinterface in the range 12147483647; no more than 4094 PPPoE subinterfaces per Gigabit Ethernet physical port
null2
slot/port:channel/subchannel[.subinterface ]
- slotNumber of the chassis slot in the range 06 (ERX-7xx models) and 013 (ERX-14xx models)
- portPort number on the I/O module
- channelNumber of a T1 channel on a CT3 module; in the range 128
- subchannelNumber of the channel group associated with a range of DS0 timeslots on a CT3 module; in the range 128
- subinterfaceNumber of the subinterface in the range 12147483647c
slot/port:path-channel/path-payload/ tributary-group/tributary-number/ channelNumber[.subinterface ]
- slotNumber of the chassis slot in the range 06 (ERX-7xx models), 013 (ERX-14xx models), and 02 (ERX-310 router)
- portPort number on the I/O module
- path-channelNumber of the STS-1or STM-0 line in the range 12147483648
- path-payloadNumber of the payload within the path
- tributary-groupNumber of the tributary group within the path
- tributary-numberNumber of the tributary within the group
- channelNumber1 (the router assigns the number one to an unframed E1 channel)
- subinterfaceNumber of the subinterface in the range 12147483647c
slot/port:path-channel/path-payload/ tributary-group/tributary-number/ channel-group[.subinterface ]
- slotNumber of the chassis slot in the range 06 (ERX-7xx models), 013 (ERX-14xx models), and 02 (ERX-310 router)
- portPort number on the I/O module
- path-channelNumber of the STS-1or STM-0 line in the range 12147483648
- path-payloadNumber of the payload within the path
- tributary-groupNumber of the tributary group within the path
- tributary-numberNumber of the tributary within the group
- channel-groupNumber of a fractional T1 or E1 line
- subinterfaceNumber of the subinterface in the range 12147483647c
slot/port:path-channel/ds3-channel-number [.subinterface ]
- slotNumber of the chassis slot in the range 06 (ERX-7xx models), 013 (ERX-14xx models), and 02 (ERX-310 router)
- portPort number on the I/O module
- path-channelNumber of the STS-1or STM-0 line in the range 12147483648
- ds3-channel-numberNumber of a T3 channel
- subinterfaceNumber of the subinterface in the range 12147483647c
slot/port:path-channel/ds3-channel-number/ ds1-channel-number/subchannel-number [.subinterface ]
- slotNumber of the chassis slot in the range 06 (ERX-7xx models), 013 (ERX-14xx models), and 02 (ERX-310 router)
- portPort number on the I/O module
- path-channelNumber of the STS-1or STM-0 line in the range 12147483648
- ds3-channel-numberNumber of a T3 channel
- ds1-channel-numberNumber of a T1 channel
- subchannel-numberNumber of a fractional T1 channel
- subinterfaceNumber of the subinterface in the range 12147483647c
Footnote: 1You can use the atm slot/port/vpi/vci interface specifier format as an alternative to the atm slot/port.subinterface format with the specific show interface and show subinterface commands to monitor all ATM 1483 subinterfaces (except NBMA interfaces) as well as the upper-layer interfaces configured over an ATM 1483 subinterface. You cannot, however, use the atm slot/port/vpi/vci format to create or modify an ATM 1483 subinterface.
Footnote: 2You cannot configure values on the null interface. This interface acts as a data sink; it cannot forward or receive traffic.
To configure an ATM interface or subinterface:
slot/adapter/port[.subinterface ]
- slotNumber of the chassis slot in the range 05 (E120 router) and 05 or 1116 (E320 router)
- adapterIdentifier for the IOA within the chassis slot, either 0 or 1, where:
- ATM 1483 subinterface1
To display information about an ATM 1483 subinterface by using show commands:
- slotNumber of the chassis slot in the range 05 (E120 router) and 05 or 1116 (E320 router)
- adapterIdentifier for the IOA within the chassis slot, either 0 or 1, where:
slot/adapter/port[.subinterface1[.subinterface2 ] ]
- slotNumber of the chassis slot in the range 05 (E120 router) and 05 or 1116 (E320 router)
- adapterIdentifier for the IOA within the chassis slot, either 0 or 1, where:
- 0 indicates that the IOA is installed in the right IOA bay (E120 router) or the upper IOA bay (E320 router).
- 1 indicates that the IOA is installed in the left IOA bay (E120 router) or the lower IOA bay (E320 router).
The meaning of the subinterface variables depends on the configuration context. You can configure Gigabit Ethernet interfaces with or without VLANs.
- subinterface1Number of the VLAN subinterface in the range 12147483647; no more than 4096 VLAN subinterfaces per Gigabit Ethernet physical port
- subinterface2When using PPPoE, the number of the PPPoE subinterface in the range 12147483647; no more than 4094 PPPoE subinterfaces per Gigabit Ethernet physical port
slot/adapter/port[.subinterface ]
- slotNumber of the chassis slot in the range 05 (E120 router) and 05 or 1116 (E320 router)
- adapterIdentifier for the IOA within the chassis slot, either 0 or 1, where:
slot/adapter/port[.subinterface ]
- slotNumber of the chassis slot in the range 05 (E120 router) and 05 or 1116 (E320 router)
- adapterIdentifier for the IOA within the chassis slot, either 0 or 1, where:
- slotNumber of the chassis slot in the range 05 (E120 router) and 05 or 1116 (E320 router)
- adapterIdentifier for the IOA within the chassis slot, either 0 or 1, where:
- slotNumber of the chassis slot in the range 05 (E120 router) and 05 or 1116 (E320 router)
- adapterIdentifier for the IOA within the chassis slot, either 0 or 1, where:
- slotNumber of the chassis slot in the range 05 (E120 router) and 05 or 1116 (E320 router)
- adapterIdentifier for the IOA within the chassis slot, either 0 or 1, where:
- slotNumber of the chassis slot in the range 05 (E120 router) and 05 or 1116 (E320 router)
- adapterIdentifier for the IOA within the chassis slot, either 0 or 1, where:
slot/adapter/port[.subinterface1[.subinterface2 ] ]
- slotNumber of the chassis slot in the range 05 (E120 router) and 05 or 1116 (E320 router)
- adapterIdentifier for the IOA within the chassis slot. 0 indicates that this a full-height IOA.
- portPort 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.
- subinterface1Number of the VLAN subinterface in the range 12147483647; no more than 4096 VLAN subinterfaces per 10-Gigabit Ethernet physical port
- subinterface2When using PPPoE, the number of the PPPoE subinterface in the range 12147483647; no more than 4094 PPPoE subinterfaces per 10-Gigabit Ethernet physical port
tunnel-type:tunnel-name[.subinterface]
- tunnel-typeType of the tunnel: dvmrp, gre, l2tp, or mpls
- tunnel-nameName of the tunnel
- subinterfaceFor GRE tunnels, number of the subinterface in the range 121474836472
Footnote: 1You can use the atm slot/adapter/port/vpi/vci interface specifier format as an alternative to the atm slot/adapter/port.subinterface format with the specific show interface and show subinterface commands to monitor all ATM 1483 subinterfaces (except NBMA interfaces) as well as the upper-layer interfaces configured over an ATM 1483 subinterface. You cannot, however, use the atm slot/adapter/port/vpi/vci format to create or modify an ATM 1483 subinterface.
Footnote: 2You cannot configure values on the null interface. This interface acts as a data sink; it cannot forward or receive traffic.