show dhcp-security vlans
Syntax
show dhcp-security vlans
show dhcp-security vlans detail
show dhcp-security vlans <vlan-name>
show dhcp-security vlans <vlan-name> detail
show dhcp-security vlans interface <interface-name>
show dhcp-security vlans interface <interface-name> detail
show dhcp-security vlans <vlan-name> interface <interface-name>
show dhcp-security vlans <vlan-name> interface <interface-name> detail
show dhcp-security vlans routing-instance <routing-instance-name>
show dhcp-security vlans routing-instance <routing-instance-name> detail
show dhcp-security vlans <vlan-name> routing-instance <routing-instance-name>
show dhcp-security vlans <vlan-name> routing-instance <routing-instance-name> detail
show dhcp-security vlans logical-system <logical-system-name>
show dhcp-security vlans logical-system <logical-system-name> detail
show dhcp-security vlans <vlan-name> logical-system <logical-system-name>
show dhcp-security vlans <vlan-name> logical-system <logical-system-name> detail
show dhcp-security vlans logical-system <logical-system-name> interface <interface-name>
show dhcp-security vlans <vlan-name> logical-system <logical-system-name> interface <interface-name>
show dhcp-security vlans routing-instance <routing-instance-name> interface <interface-name>
show dhcp-security vlans <vlan-name> routing-instance <routing-instance-name> interface <interface-name>
show dhcp-security vlans logical-system <logical-system-name> routing-instance <routing-instance-name>
show dhcp-security vlans logical-system <logical-system-name> routing-instance <routing-instance-name> detail
show dhcp-security vlans <vlan-name> logical-system <logical-system-name> routing-instance <routing-instance-name>
show dhcp-security vlans <vlan-name> logical-system <logical-system-name> routing-instance <routing-instance-name> detail
show dhcp-security vlans logical-system <logical-system-name> routing-instance <routing-instance-name> interface <interface-name>
show dhcp-security vlans <vlan-name> logical-system <logical-system-name> routing-instance <routing-instance-name> interface <interface-name>Description
Display DHCP security information for VLANs. The command shows interface flags, port modes, and enabled security features. Use optional filters to narrow output by VLAN, interface, routing instance, or logical system. Add detail to view feature status and configuration reasons.
Options
| detail | (Optional) Display detailed feature status and configuration reasons |
| <vlan-name> | (Optional) Filter output by VLAN name |
| interface <interface-name> | (Optional) Filter output by interface name |
| routing-instance <routing-instance-name> | (Optional) Filter output by routing instance |
| logical-system <logical-system-name> | (Optional) Filter output by logical system |
Required Privilege Level
view
Output Fields
| Field Name | Field Description | Level of Output |
|---|---|---|
| LS Name | Logical System name | All levels |
| RI Name | Routing Instance name | All levels |
| VLAN Name | VLAN identifier name | All levels |
| vlan-id | Numerical VLAN ID | All levels |
| Interface Name | Network interface name | All levels |
| Flag | Hexadecimal flag value representing interface configuration | Standard output |
| Features Enabled | List of active security features (VLAN level) | Detail output |
| Port mode | Trusted or Untrusted port status | Detail output |
| Reason | Configuration source for port mode | Detail output |
Sample Output
show dhcp-security vlans
Flags: 0x1 - trusted, 0x2 - untrusted, 0x4 - no option82, 0x8 - no option37,
0x10 - no option18, 0x20 - no option16, 0x40 - no dhcpv6 options,
0x80 - no option79
LS Name: LS1 RI Name: L1 VLAN Name: vlan101 vlan-id: 101
Interface Name Flag
ge-0/0/4.0 0x6ashow dhcp-security vlans detail
LS Name: LS1 RI Name: L1 VLAN Name: vlan101 vlan-id: 101
Features Enabled: arp-inspection mine-dhcp-client-options
Interface Name : ge-0/0/4.0
Features Enabled : no-option16 no-option37 no-dhcpv6-options
Port mode : Untrusted Reason: Override untrustedRelease Information
Command introduced in Junos OS Release 24.1R1.