question
stringlengths 14
180
| context
stringlengths 6
306
| answer
stringlengths 59
470
|
---|---|---|
allow the device connected to port ge-0/0/0 to have a static IP address in Juniper ex3300 switch | set ethernet-switching-options secure-access-port interface <interface-name> dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options secure-access-port interface ge-0/0/0 dhcp-trusted
commit |
enable the device connected to port ge-0/0/7 to have a static IP address in Juniper ex3300 switch | set ethernet-switching-options secure-access-port interface <interface-name> dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options secure-access-port interface ge-0/0/7 dhcp-trusted
commit |
set port ge-1/0/5 as dhcp-trusted | set ethernet-switching-options secure-access-port interface <interface-name> dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options secure-access interface ge-1/0/5 dhcp-trusted
commit |
set port ge-1/0/5 as dhcp-trusted | set ethernet-switching-options secure-access-port interface <interface-name> dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options secure-access interface ge-1/0/5 dhcp-trusted
commit |
How to set an interface as dhcp trusted on Juniper ex3300 switch | set ethernet-switching-options secure-access-port interface <interface-name> dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options secure-access interface <interface-name> dhcp-trusted
commit |
allow the assignment of static ip address on ge-0/0/10 | set ethernet-switching-options secure-access-port interface <interface-name> dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options secure-access-port interface ge-0/0/10 dhcp-trusted
commit |
allow the assignment of static ip address on ge-0/0/11 | set ethernet-switching-options secure-access-port interface <interface-name> dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options secure-access-port interface ge-0/0/11 dhcp-trusted
commit |
enable the assignment of static ip address on ge-1/0/11 | set ethernet-switching-options secure-access-port interface <interface-name> dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options securee-access-port interface ge-1/0/11 dhcp-trusted
commit |
Let interface ge-0/0/5 bypass IP source guard inspection | set ethernet-switching-options secure-access-port interface <interface-name> dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options secure-access-port interface ge-0/0/5 dhcp-trusted
commit |
How to make an interface bypass IP source guard inspection | set ethernet-switching-options secure-access-port interface <interface-name> dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options secure-access-port interface <interface-name> dhcp-trusted
commit |
How to disable the IP source guard inspection on a specific interface | set ethernet-switching-options secure-access-port interface <interface-name> dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options secure-access-port interface <interface-name> dhcp-trusted
commit |
Disable IP source guard inspection on interface ge-0/0/15 | set ethernet-switching-options secure-access-port interface <interface-name> dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options secure-access-port interface ge-0/0/15 dhcp-trusted
commit |
Allow device connected to the interface range CAM-RANGE to have static IP addresses | set ethernet-switching-options secure-access-port interface <range-name> dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options secure-access-port interface CAM-RANGE dhcp-trusted
commit |
Allow DHCP responses from interface ge-1/0/8 | set ethernet-switching-options secure-access-port interface <range-name> dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options secure-access-port interface ge-1/0/8 dhcp-trusted
commit |
Deny DHCP responses from interface ge-1/0/18 | set ethernet-switching-options secure-access-port interface <range-name> no-dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options secure-access-port interface ge-1/0/18 no-dhcp-trusted
commit |
set the dhcp-trusted feature on the interface range TRUSTED-RANGE | set ethernet-switching-options secure-access-port interface <range-name> dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options secure-access-port interface TRUSTED-RANGE dhcp-trusted
commit |
delete the dhcp-trusted feature on the interface range TRUSTED-RANGE | delete ethernet-switching-options secure-access-port interface <range-name> dhcp-trusted | Use the following command in the configuration mode:
delete ethernet-switching-options secure-access-port interface TRUSTED-RANGE dhcp-trusted
commit |
set the no-dhcp-trusted feature on the interface range WIRELESS-RANGE | set ethernet-switching-options secure-access-port interface <interface-name> no-dhcp-trusted | Use the following command in the configuration mode:
set ethernet-switching-options secure-access-port interface WIRELESS-RANGE no-dhcp-trusted
commit |
create a new vlan | set vlans <vlan-name> vlan-id <vlan-id-number> | Use the following command in the configuration mode:
set vlans <vlan-name> vlan-id <vlan-id-number>
commit |
how to create a new vlan | set vlans <vlan-name> vlan-id <vlan-id-number> | Use the following command in the configuration mode:
set vlans <vlan-name> vlan-id <vlan-id-number>
commit |
create a new vlan with the name HR and vlan-id 10 | set vlans <vlan-name> vlan-id <vlan-id-number> | Use the following command in the configuration mode:
set vlans HR vlan-id 10
commit |
create a new vlan with the name FIN and vlan-id 11 | set vlans <vlan-name> vlan-id <vlan-id-number> | Use the following command in the configuration mode:
set vlans FIN vlan-id 11
commit |
set the interface ge-1/0/2 in the vlan Data | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode access vlan members <vlan-name-or-id> | Use the following command in the configuration mode:
set interfaces ge-1/0/2 unit 0 family ethernet-switching port-mode access vlan members Data
commit |
how to make an interface a member of a specific vlan | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode access vlan members <vlan-name-or-id> | Use the following command in the configuration mode:
set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode access vlan members <vlan-name-or-id>
commit |
how to assign an interface to a vlan | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode access vlan members <vlan-name-or-id> | Use the following command in the configuration mode:
set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode access vlan members <vlan-name-or-id>
commit |
make the interface ge-1/0/12 a member in the vlan FIN | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode access vlan members <vlan-name-or-id> | Use the following command in the configuration mode:
set interfaces ge-1/0/12 unit 0 family ethernet-switching port-mode access vlan members FIN
commit |
configure a data vlan with id 10 on juniper ex3300 switch and assign it to the following ports ge-0/0/0, ge-0/0/1, and ge-0/0/3 | set vlans <vlan-name> <vlan-id>
set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode access vlan members <vlan-name-or-id> | Use the following commands in the configuration mode:
set vlans data vlan-id 10
set interfaces ge-0/0/0 unit 0 family ethernet-switching port-mode access vlan members 10
set interfaces ge-0/0/1 unit 0 family ethernet-switching port-mode access vlan members 10
set interfaces ge-0/0/3 unit 0 family ethernet-switching port-mode access vlan members 10
commit |
configure a data vlan with vlan-id 100 on juniper ex3300 switch and make the following interfaces ge-0/0/20, ge-0/0/11, and ge-0/0/13 members of the data vlan | set vlans <vlan-name> <vlan-id>
set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode access vlan members <vlan-name-or-id> | Use the following commands in the configuration mode:
set vlans data vlan-id 100
set interfaces ge-0/0/20 unit 0 family ethernet-switching port-mode access vlan members 100
set interfaces ge-0/0/11 unit 0 family ethernet-switching port-mode access vlan members 100
set interfaces ge-0/0/13 unit 0 family ethernet-switching port-mode access vlan members 100
commit |
port ge-0/0/0 is the uplink to another EX3300 switch that has the following vlans 10,20, 30 put the required configuration on this port, given that RSTP is enabled on both switches | set vlans <vlan-name> vlan-id <vlan-id>
set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode trunk vlan members <vlan-name-or-id>
set protocols rstp interface <interface-name> mode point-to-point | Use the following commands in the configuration mode:
set vlans VLAN10 vlan-id 10
set vlans VLAN20 vlan-id 20
set vlans VLAN30 vlan-id 30
set interfaces ge-0/0/0 unit 0 family ethernet-switching port-mode trunk vlan members 10
set interfaces ge-0/0/0 unit 0 family ethernet-switching port-mode trunk vlan members 20
set interfaces ge-0/0/0 unit 0 family ethernet-switching port-mode trunk vlan members 30
set protocols rstp interface ge-0/0/0 mode point-to-point
commit |
I have a camera and I want to assign it a static IP and include it in the CAMERA vlan. The camera is connected to port ge-0/0/9 | set vlans <vlan-name> vlan-id <vlan-id>
set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode access vlan members <vlan-id-or-name>
set ethernet-switching-options secure-access-port interface <interface-name> dhcp-trusted | Use the following commands in the configuration mode:
set vlans CAMERA vlan-id <vlan-id>
set interfaces ge-0/0/9 unit 0 family ethernet-switching port-mode access vlan members CAMERA
set ethernet-switching-options secure-access-port interface ge-0/0/9 dhcp-trusted
commit |
how to tag the default vlan with vlan id of 100 | set vlans default vlan-id <id> | Use the following command in the configuration mode:
set vlans default vlan-id 100
commit |
define the l3 interface of the HR VLAN as vlan.2010 | set vlans <vlan-name> l3-interface <vlan.unit-number> | Use the following command in the configuration mode:
set vlans HR l3-interface vlan.2010
commit |
set the l3 interface of the IT_DEP vlan to vlan.3010 | set vlans <vlan-name> l3-interface <vlan.unit-number> | Use the following command in the configuration mode:
set vlans IT_DEP l3-interface vlan.3010
commit |
How to create l3 interface of a vlan | set vlans <vlan-name> l3-interface <vlan.unit-number> | Use the following command in the configuration mode:
set vlans <vlan-name> l3-interface <vlan.unit-number>
commit |
How to set an l3 interface for a vlan | set vlans <vlan-name> l3-interface <vlan.unit-number> | Use the following command in the configuration mode:
set vlans <vlan-name> l3-interface <vlan.unit-number>
commit |
set the interface ge-0/0/20 as access port | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode access | Use the following command in the configuration mode:
set interfaces ge-0/0/20 unit 0 family ethernet-switching port-mode access
commit |
How to make an interface an access port | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode access | Use the following command in the configuration mode:
set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode access
commit |
set port mode of interface ge-0/0/25 as access port | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode access | Use the following command in the configuration mode:
set interfaces ge-0/0/25 unit 0 family ethernet-switching port-mode access
commit |
set the interface ge-1/0/5 to operate in access mode | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode access | Use the following command in the configuration mode:
set interfaces ge-1/0/5 unit 0 family ethernet-switching port-mode access
commit |
let the interface ge-2/0/25 to operate in access mode | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode access | Use the following command in the configuration mode:
set interfaces ge-2/0/25 unit 0 family ethernet-switching port-mode access
commit |
allow port ge-0/0/6 to carry traffic from multiple vlans | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode trunk | Use the following commands in the configuration mode:
set interfaces ge-0/0/6 unit 0 family ethernet-switching port-mode trunk
commit |
enable the port ge-0/0/16 to carry traffic from multiple vlans | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode trunk | Use the following commands in the configuration mode:
set interfaces ge-0/0/16 unit 0 family ethernet-switching port-mode trunk
commit |
set port ge-0/0/19 as a trunk port | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode trunk | Use the following commands in the configuration mode:
set interfaces ge-0/0/19 unit 0 family ethernet-switching port-mode trunk
commit |
how to allow an interface to carry traffic from multiple vlans | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode trunk | Use the following commands in the configuration mode:
set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode trunk
commit |
how to enable an interface to carry traffic from multiple vlans | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode trunk | Use the following commands in the configuration mode:
set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode trunk
commit |
allow port ge-0/0/6 to carry traffic from all vlans | set interfaces <interface-name> unit 0 family ethernet-switching port-mode trunk vlan members all | Use the following command in the configuration mode:
set interfaces ge-0/0/6 unit 0 family ethernet-switching port-mode trunk vlan members all
commit |
allow port ge-0/0/9 to carry traffic from all vlans | set interfaces <interface-name> unit 0 family ethernet-switching port-mode trunk vlan members all | Use the following command in the configuration mode:
set interfaces ge-0/0/9 unit 0 family ethernet-switching port-mode trunk vlan members all
commit |
How to make an interface carry traffic from all vlans | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode trunk vlan members all | Use the following command in the configuration mode:
set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode trunk vlan members all
commit |
make port ge-0/0/7 carry traffic from vlans HR, FIN, and MGMT | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode trunk vlan members <vlan-name-or-id> | Use the following commands in the configuration mode:
set interfaces ge-0/0/7 unit 0 family ethernet-switching port-mode trunk vlan members HR
set interfaces ge-0/0/7 unit 0 family ethernet-switching port-mode trunk vlan members MGMT
set interfaces ge-0/0/7 unit 0 family ethernet-switching port-mode trunk vlan members FIN
commit |
make port ge-1/0/23 carry traffic from vlans REG, SUPPORT, and MGMT | set interfaces <interface-name> unit <unit-number> family ethernet-switching port-mode trunk vlan members <vlan-name-or-id> | Use the following commands in the configuration mode:
set interfaces ge-0/0/7 unit 0 family ethernet-switching port-mode trunk vlan members REG
set interfaces ge-0/0/7 unit 0 family ethernet-switching port-mode trunk vlan members MGMT
set interfaces ge-0/0/7 unit 0 family ethernet-switching port-mode trunk vlan members SUPPORT
commit |
We will connect a new switch on port ge-0/0/7 configure rstp on this interface as a point to point | set protocols rstp interface <interface-name> mode point-to-point | Use the following command in the configuration mode:
set protocols rstp interface ge-0/0/7.0 mode point-to-point
commit |
We will connect a new switch on port ge-0/0/9, the new switch has RSTP enabled, enable RSTP on ge-0/0/9 in the mode point to point | set protocols rstp interface <interface-name> mode point-to-point | Use the following command in the configuration mode:
set protocols rstp interface ge-0/0/9 mode point-to-point
commit |
How to make an interface participate in RSTP protocol in the mode point to point | set protocols rstp interface <interface-name> mode point-to-point | Use the following command in the configuration mode:
set protocols rstp interface <interface-name> mode point-to-point
commit |
How to set the RSTP interface mode to point to point | set protocols rstp interface <interface-name> mode point-to-point | Use the following command in the configuration mode:
set protocols rstp interface <interface-name> mode point-to-point
commit |
Execlude interface ge-0/0/19 from participating in RSTP | set protocols rstp interface <interface-name> disable | Use the following command in the configuration mode:
set protocols rstp interface ge-0/0/19 disable
commit |
How to execlude an interface from participating in RSTP | set protocols rstp interface <interface-name> disable | Use the following command in the configuration mode:
set protocols rstp interface <interface-name> disable
commit |
Disable RSTP protocol on interface ge-0/0/0 | set protocols rstp interface <interface-name> disable | Use the following command in the configuration mode:
set protocols rstp interface ge-0/0/0 disable
commit |
How to disable RSTP protocol on a specific interface | set protocols rstp interface <interface-name> disable | Use the following command in the configuration mode:
set protocols rstp interface <interface-name> disable
commit |
Help me configure RSTP protocol on interface ge-0/0/1 to connect another switch on that port on a juniper switch ex3300 using command line | set protocols rstp interface <interface-name> mode point-to-point | Use the following command in the configuration mode:
set protocols rstp interface ge-0/0/1 mode point-to-point
commit |
How to configure RSTP protocol on interface ge-1/0/5 to connect another switch on that port on a juniper switch ex3300 using command line | set protocols rstp interface <interface-name> mode point-to-point | Use the following command in the configuration mode:
set protocols rstp interface ge-1/0/5 mode point-to-point
commit |
Configure RSTP on interface ge-0/0/20 in the mode shared | set protocols rstp interface <interface-name> mode shared | Use the following command in the configuration mode:
set protocols rstp interface ge-0/0/20 mode shared
commit |
how to set RSTP particpating interface in the mode shared | set protocols rstp interface <interface-name> mode shared | Use the following command in the configuration mode:
set protocols rstp interface <interface-name> mode shared
commit |
set RSTP mode on interface ge-2/0/20 as shared | set protocols rstp interface <interface-name> mode shared | Use the following command in the configuration mode:
set protocols rstp interface ge-2/0/20 mode shared
commit |
Enable RSTP on interface ge-0/0/7 in the mode point to point and set the no root port feature | set protocols rstp interface <interface-name> mode point-to-point no-root-port | Use the following command in the configuration mode:
set protocols rstp interface ge-0/0/7 mode point-to-point no-root-port
commit |
set RSTP on interface ge-0/0/15 in the mode point to point and prevent this interface from becoming a root interface | set protocols rstp interface <interface-name> mode point-to-point no-root-port | Use the following command in the configuration mode:
set protocols rstp interface ge-0/0/15 mode point-to-point no-root-port
commit |
Enable RSTP root-protect feature on interface ge-0/0/13 | set protocols rstp interface <interface-name> no-root-port | Use the following command in the configuration mode:
set protocols rstp interface ge-0/0/13 no-root-port
commit |
how to enable RSTP root-protect feature on an interface | set protocols rstp interface <interface-name> no-root-port | Use the following command in the configuration mode:
set protocols rstp interface <interface-name> no-root-port
commit |
Enable the RSTP root protection feature on interface ge-0/0/3 | set protocols rstp interface <interface-name> no-root-port | Use the following command in the configuration mode:
set protocols rstp interface ge-0/0/3 no-root-port
commit |
set the RSTP root-protect feature on interface ge-0/0/23 | set protocols rstp interface <interface-name> no-root-port | Use the following command in the configuration mode:
set protocols rstp interface ge-0/0/23 no-root-port
commit |
how to set the RSTP root-protect feature on interface | set protocols rstp interface <interface-name> no-root-port | Use the following command in the configuration mode:
set protocols rstp interface <interface-name> no-root-port
commit |
Delete RSTP root-protect feature on interface ge-0/0/33 | delete protocols rstp interface <interface-name> no-root-port | Use the following command in the configuration mode:
delete protocols rstp interface ge-0/0/33 no-root-port
commit |
how to delete RSTP root-protect feature on a specific interface | delete protocols rstp interface <interface-name> no-root-port | Use the following command in the configuration mode:
delete protocols rstp interface <interface-name> no-root-port
commit |
Disable RSTP root-protect feature on interface ge-0/0/42 | delete protocols rstp interface <interface-name> no-root-port | Use the following command in the configuration mode:
delete protocols rstp interface ge-0/0/42 no-root-port
commit |
Disable RSTP protocol | set protocols rstp disable | Use the following command in the configuration mode:
set protocols rstp disable
commit |
how to disable the RSTP protocol | set protocols rstp disable | Use the following command in the configuration mode:
set protocols rstp disable
commit |
Set the RSTP maximum age of received protocol BPDUs to 30 | set protocols rstp max-age <max-age-interval> | Use the following command in the configuration mode:
set protocols rstp max-age 30
commit |
How to set the RSTP maximum age of received protocol BPDUs | set protocols rstp max-age <max-age-interval> | Use the following command in the configuration mode:
set protocols rstp max-age <max-age-interval>
commit |
Set the RSTP max age of received protocol BPDUs to 15 | set protocols rstp max-age <max-age-interval> | Use the following command in the configuration mode:
set protocols rstp max-age 15
commit |
Set the RSTP forwarding delay to 10 | set protocols rstp forward-delay <forwarding-delay-interval> | Use the following command in the configuration mode:
set protocols rstp forward-delay 10
commit |
How to set the RSTP forwarding delay | set protocols rstp forward-delay <forwarding-delay-interval> | Use the following command in the configuration mode:
set protocols rstp forward-delay <forwarding-delay-interval>
commit |
Set the RSTP protocol forwarding delay to 20 | set protocols rstp forward-delay <forwarding-delay-interval> | Use the following command in the configuration mode:
set protocols rstp forward-delay 20
commit |
Set the RSTP bridge port delay during the listening and learning states to 30 | set protocols rstp forward-delay <forwarding-delay-interval> | Use the following command in the configuration mode:
set protocols rstp forward-delay 30
commit |
how to set the RSTP bridge port delay during the listening and learning states | set protocols rstp forward-delay <forwarding-delay-interval> | Use the following command in the configuration mode:
set protocols rstp forward-delay <forwarding-delay-interval>
commit |
set RSTP protocol bridge priority to 8k | set protocols rstp bridge-priority <priority-in-increments-of-4k> | Use the following command in the configuration mode:
set protocols rstp bridge-priority 8k
commit |
set the RSTP protocol bridge priority to 12k | set protocols rstp bridge-priority <priority-in-increments-of-4k> | Use the following command in the configuration mode:
set protocols rstp bridge-priority 12k
commit |
how to set RSTP protocol bridge priority | set protocols rstp bridge-priority <priority-in-increments-of-4k> | Use the following command in the configuration mode:
set protocols rstp bridge-priority <priority-in-increments-of-4k>
commit |
set the bridge priority of RSTP protocol to 16k | set protocols rstp bridge-priority <priority-in-increments-of-4k> | Use the following command in the configuration mode:
set protocols rstp bridge-priority 16k
commit |
set RSTP protocol hello interval to 3 seconds | set protocols rstp hello-time <interval> | Use the following command in the configuration mode:
set protocols rstp hello-time 3
commit |
how to set RSTP protocol hello interval | set protocols rstp hello-time <interval> | Use the following command in the configuration mode:
set protocols rstp hello-time <interval>
commit |
set RSTP protocol hello interval to 5 seconds | set protocols rstp hello-time <interval> | Use the following command in the configuration mode:
set protocols rstp hello-time 5
commit |
set RSTP protocol hello interval to 4 seconds | set protocols rstp hello-time <interval> | Use the following command in the configuration mode:
set protocols rstp hello-time 4
commit |
Display RSTP protocol configurations from the operational mode | show configuration protocols rstp | Use the following command in the operational mode:
show configuration protocols rstp |
how to show RSTP protocol configurations from the operational mode | show configuration protocols rstp | Use the following command in the operational mode:
show configuration protocols rstp |
Show the current RSTP configuration | show configuration protocols rstp | Use the following command in the operational mode:
show configuration protocols rstp |
Show the current RSTP configuration in the set format | show configuration protocols rstp | Use the following command in the configuration mode:
show | display set |match rstp |
Display RSTP protocol configurations in the operational mode in the set format | show configuration protocols rstp | display set | Use the following command in the operational mode:
show configuration protocols rstp | display set |
block rstp bpdu on edge interfaces | set protocols rstp bpdu-block-on-edge | Use the following command in the configuration mode:
set protocols rstp bpdu-block-on-edge
commit |
set all interfaces on the switch to edge RSTP interfaces and enable bpdu-block-on-edge | set protocols rstp interface all edge
set protocols rstp bpdu-block-on-edge | Use the following command in the configuration mode:
set protocols rstp interface all edge
set protocols rstp bpdu-block-on-edge
commit |
How to block RSTP bpdu on edge interfaces | set protocols rstp bpdu-block-on-edge | Use the following command in the configuration mode:
set protocols rstp bpdu-block-on-edge
commit |
set interface ge-0/0/7 as RSTP edge interface | set protocols rstp interface <interface-name> edge | Use the following command in the configuration mode:
set protocols rstp interface ge-0/0/7 edge
commit |
Dataset Card for NIT Dataset
The Network Intent Translations (NIT) dataset is specialized for translating descriptive networking scenarios into low-level deployable configurations. The NIT is intended for network intent translations in Intent-Based Networking (IBN). The dataset includes network configuration tasks in natural language (network intents) and their corresponding low-level configurations for Juniper EX3300 switches with JUNOS Base OS boot [12.3R12-S12].
Dataset Details
The NIT dataset covers various networking tasks implemented on the Juniper EX3300 switch. The distribution of the commands used to implement the networking tasks is as follows:
- set commands: 582
- show commands: 249
- delete commands: 73
- other commands: 96
Set Commands Topics
- ethernet-switching-options
- vlans
- interfaces
- protocols
- system
- virtual-chassis
- routing-options
- poe
- snmp
- igmp-snooping
- chassis
Show Commands Topics
- configuration
- lldp
- virtual-chassis
- ethernet-switching
- ospf
- vlans
- dhcp
- poe
- spanning-tree
- as-path
- cli
- arp
- log
- system
- chassis
- | (pipe)
- ethernet-switching-options
- sflow
- ip-source-guard
- igmp
- igmp-snooping
- version
Delete Commands Topics
- ethernet-switching-options
- protocols
- system
- virtual-chassis
- interfaces
- vlans
- snmp
Other Commands
- clear [19]
- status [2]
- save [3]
- ping [4]
- run [4]
- start [6]
- request [29]
- load [3]
- commit [15]
- replace [4]
- rollback [4]
- monitor [3]
Dataset Structure
Each entry in the dataset is a JSON object with three elements: question, context, and answer. The question represents the network intent in natural language, the context contains the generic form of the commands required to achieve the intent, and the answer includes the low-level command-line configurations necessary to fulfill the network intent, along with any parameters provided in the question field (if applicable). Example from the dataset:
- "question": "enable the device connected to port ge-0/0/7 to have a static IP address in Juniper ex3300 switch"
- "context": "set ethernet-switching-options secure-access-port interface dhcp-trusted"
- "answer": "Use the following command in the configuration mode:\nset ethernet-switching-options secure-access-port interface ge-0/0/7 dhcp-trusted\ncommit"
Uses
Direct Use
The NIT dataset can be utilized for parameter-efficient fine-tuning (PEFT) of large language models (LLMs) to translate network intent into low-level, deployable command-line configurations
Out-of-Scope Use
The dataset focuses solely on translating high-level network intent into command-line configurations. It does not aim to verify the accuracy of parameter values within the prompts or address any conflict detection or resolution. However, all parameter values in the dataset are valid for their respective tasks.
Dataset Creation
The NIT dataset was manually created using configuration manuals and the expertise of a network engineer. It includes various ways of requesting the same configuration task to reflect different user behaviors. The dataset contains three types of prompts (questions): Type 1 prompts include all the required parameters for the low-level configurations, Type 2 prompts include some of the required parameters, and Type 3 prompts contain no parameters. The completions (answers) include the operating mode of the required commands, the commands themselves, and a commit when necessary. The completions use the parameters provided in the prompts, or if the prompt does not include a value for a specific parameter.
Dataset Card Authors
Ala’ A. Samarneh. Researchgate: https://www.researchgate.net/profile/Alaa-Smarneh
Dr. Omar Al-Jarrah. Researchgate: https://www.researchgate.net/profile/Omar-Al-Jarrah
Dr. Ahmad Al-Hammouri. Researchgate: https://www.researchgate.net/profile/Ahmad-Al-Hammouri
- Downloads last month
- 49