...
Parameter | Description |
ip <ip_address> | Specifies a source IPv6 address for the static binding entry. The IPv6 address should be an unicast address. |
mac <mac-address> | Specifies a source MAC address for the static binding entry. The value is in the format of H:H:H:H:H:H. An H contains 2 hexadecimal numbers, and cannot be all 0s, all Fs (a broadcast address), or a multicast address. |
interface <interface-name> | Specifies ingress interface name for the static binding entry. The value is a physical port or a LAG port, such as ge-1/1/1, te-1/1/2, ae1. Note: IP IPv6 source guard be enabled on a physical interface or a Link Aggregation Group (LAG) interface but cannot be enabled on the member interfaces of a LAG. |
vlan <vlan-id> | Specifies the VLAN ID. The value is an integer that ranges from 1 to 4094. |
...
Code Block |
---|
set ipv6-source-guard binding ip 100::6 mac 00:00:00:00:00:01 interface ge-1/1/1 vlan 10 admin@PICOS# delete ipv6-source-guard binding ip 100::6 mac 00:00:00:00:00:01 interface ge-1/1/1 vlan 10 Deleting: 10 OK admin@PICOS# commit IPSG6: vlan is required for ip 100::6, mac 00:00:00:00:00:01, interface ge-1/1/1 Commit failed. admin@PICOS# delete ipipv6-source-guard binding ip 100::6 mac 00:00:00:00:00:01 Deleting: 00:00:00:00:00:01 { interface "ge-1/1/1" { vlan 10 } } OK admin@PICOS# commit IPSG6: mac is required for ip 100::6 Commit failed. |
...
Due to the hierarchy structure design of PICOS CLI, when performing a deletion operation, the specified level and all its subordinate levels (i.e., the parameters and subsequent parameters in the command line) will be deleted, while the upper-level hierarchy (i.e., the parameters before the command line) will not be deleted.
In the configuration of a static IP IPv6 source guard binding entry, the command set ipv6-source-guard binding ip <ip_address> mac <mac-address> interface <interface-name> vlan <vlan-id> requires all four parameters: IP address, MAC address, interface name, and VLAN ID, to be configured.
...