Академический Документы
Профессиональный Документы
Культура Документы
Let’s enable logging and set a SYSLOG server where Z.Z.Z.Z is your syslog server IP
address
Let’s create some VLANs and assign them names and VLAN IDs and L3 interfaces
(DATA = 8, VOICE = 16, SECURITY = 99);
Let’s assign some IP addresses to our Layer3 interfaces for each VLAN;
Now it’s time to configure some ports… by default all ports belong to VLAN 1 (the
default VLAN) as access ports. In JunOS we need to use the wildcard command to
configure multiple interfaces with a single command. In the samples below I’m
configuring ports 0-47 on the first two switches in the virtual chassis (stack).
Let’s setup DHCP relay for the DATA and VOICE VLANs where X.X.X.X is your
DHCP server;
Since we’re not using the local management port let’s disable the alarm (show chassis
alarms).
[edit]
user@switch# set routing–options static route 0.0.0.0/0 next-hop 10.0.1.1
To configure a static route and specify the next address to be used when routing traffic to
the static route:
[edit]
user@switch# set routing-options static route 198.51.100.0/24 next-hop 10.0.0.2
[edit]
user@switch# set routing-options static route 198.51.100.0/24 retain
[edit]
user@switch# load factory-default
[edit]
user@switch# delete system commit factory-settings
[edit]
user@switch# set system root-authentication plain-text-password
[edit]
user@switch# commit
How to perform initial switch configuration using EZsetup via CLI for the EX-series
switch
SOLUTION:
Initial Switch Configuration Using CLI
1. Connect the console port to a laptop or PC using the RJ-45 to DB-9 serial port adapter.
The RJ-45 cable and RJ-45 to DB-9 serial port adapter are supplied with the switch.
4. Enter the root password. You are prompted to re-enter the root password.
7. Manage the switch using the default VLAN. In this scenario all data ports are
configured as members of the default VLAN. Specify the management and gateway
address for the default VLAN. This IP address is used to connect to the switch.
8. Manage the switch using the management port. Specify the IP address and gateway of
the management interface. Use this IP address to connect to the switch.
9. Specify the SNMP Read Community, Location, and Contact to configure SNMP
parameters. These parameters are optional.
10. Specify the system date and time. Select the time zone from the list.
The configured parameters are displayed. Enter yes to save the configuration.
Configuring a User Account
user@host# commit
Display Log