Configure The Default Gateway And Ethernet Interface; Configure Optional Routes, Services, And Commit The Configuration - Juniper PTX10004 Manual

Hide thumbs Also See for PTX10004:
Table of Contents

Advertisement

Configure the Default Gateway and Ethernet Interface

1. Configure the default gateway.
[edit]
root@# set system management-instance
root@# set routing-instances mgmt_junos routing-options static route 0.0.0.0/0 next-hop
gateway-ip-address
2. Configure the IP address and prefix length for the router management interface.
[edit]
root@# set interfaces re0:mgmt-0 unit 0 family inet address
CAUTION: Although the CLI lets you configure two management Ethernet interfaces
within the same subnet, the PTX10004 supports only one interface.
NOTE: The management ports—em0 or re0:mgmt-0 (MGMT for RJ-45 connections) and em1 (also
labeled MGMT for fiber connections)—are on the front of the RCB.

Configure Optional Routes, Services, and Commit the Configuration

1. (Optional) Configure static routes for destinations reachable over the management interface that
should not be routed using the previously defined default route.
[edit]
root@# set routing-instances mgmt_junos routing-options static route remote-prefix next-hop
destination-ip retain no-readvertise
2. Enable services such as SSH and Telnet.
ip-address/prefix-length
default-
9

Advertisement

Table of Contents
loading

Table of Contents