interface

Define and configure a Interface.

Dependencies

VLANs

When defining an eth interface, vlans must be predefined using the vlan command befure they can be assigned as vlan or untagged_vlan attribures.

Usage

    locahost(config)#interface [fpPort|logical|port_channel|vlan]
    localhost(config-if-[context]#

Settings

Context Description
fpPort Ethernet Port Commands.
logical Logical Interface Commands.
port_channel Port Channel Interface.
vlan Vlan Interface Commands.

Sub-Context (interface fpPort)

leaf3sean(config)#interface fpPort 1
leaf3sean(config-if-eth-1)#
Context Description
BreakOutMode Break out mode for the port. Only applicable on ports that support breakout
Description User provided string description. Default FP Port.
EnableFEC Enable/Disable 802.3bj FEC on this interface. Default: false
IfIndex System assigned interface id for this port. Read only attribute.
LoopbackMode Desired loopback setting for this port: NONE/MAC/PHY/RMT.
MacAddr Mac address associated with this port.
MediaType Type of media inserted into this port.
PRBSPolynomial PRBS polynomial to use for generation/checking:2^7/2^23/2^31 DEFAULT:2^7
PRBSRxEnable Enable/Disable PRBS checker on this port. Default: false
PRBSTxEnable Enable/Disable generation of PRBS on this port. Default: false
PhyIntfType Type of internal physical interface:GMII/SGMII/QSMII/SFI/ XFI/XAUI/XLAUI/RXAUI/CR/CR2/CR4/KR/KR2/KR4 /SR/SR2/SR4/SR10/LR/LR4
dhcp_relay Config for DHCPRelayIntf attributes. Interface level config for enabling/disabling the relay agent. true/false
dhcp_relay_v6 onfig for DHCPv6RelayIntf attributes. Interface level config for enabling/disabling the relay agent. true/false
dscp_profile DSCP to COS Profile Name.
duplex Duplex setting for this port: Half-Duplex/Full_Duplex. Default. Full_Duplex
ip Interface IPv4 Address.
ipv6 Configure IPv6 Features.
mtu Maximum transmission unit size for this port.
negotiate Autonegotiation setting for this port: ON/OFF. Default: OFF
pcp_profile PCP to COS Profile Name.
pm Configure EthernetPM information.
port_channel Lag group ID.
queue Configure cosQ attributes.
scheduler_profile Port Scheduler Profile name.
sflow Configure SflowIntf attributes.
shutdown Set the administrative state of this port: UP/DOWN. Default: DOWN
spanning_tree Spanning Tree Port commands. Reference to a spanning Tree Bridge Instance.
speed Port speed in Mbps: 0 - 100000
storm_control_profile Name corresponsing to a storm control profile to apply to this port.
untagged_vlan 802.1Q tag/Vlan ID for vlan being provisioned: 1-4096
vlan 802.1Q tag/Vlan ID for vlan being provisioned: 1-4096
vrrp_v4 Configuration for VrrpV4Intf attributes.
vrrp_v6 Configuration for VrrpV6Intf attributes.

Sub-Context (interface logical)

leaf3sean(config)#interface logical lo1
leaf3sean(config-if)#
Context Description
ip Configure IP features
ipv6 Configure IP features
type Loopback Type of logical interface (e.x. loopback) default: Loopback

Sub-Context (ip)

leaf3sean(config-if)#ip address 10.10.10.10
leaf3sean(config-if-ip-10.10.10.10)#
Context Description
shutdown UP/DOWN Administrative state of this IP interface default: UP

Sub-Context (ipv6)

leaf3sean(config-if)#ipv6 address  2001::02/64 
leaf3sean(config-if-ip-2001::02/64)#
Context Description
shutdown UP/DOWN Administrative state of this IP interface default: UP

Sub-Context (port_channel)

leaf3sean(config)#interface port_channel portch1
leaf3sean(config-if-port-channel-portch1)#
Context Description
MinLinks Specifies the mininum number of member interfaces that must be active for the aggregate interface to be available. Default: 1
SystemIdMac The MAC address portion of the nodes System ID. This is combined with the system priority to construct the 8-octet system-id. Default: 00-00-00-00-00-00
admin_state UP/DOWN Convenient way to disable/enable a lag group. The behaviour should be such that all traffic should stop. LACP frames should continue to be processed. Default: UP
interval SLOW(1)/FAST(0) Set the period between LACP messages -- uses the lacp-period-type enumeration. Default: 1
ip Interface IPv4 address
ipv6 Configure IP features
lacp_mode ACTIVE(0)/PASSIVE(1) ACTIVE is to initiate the transmission of LACP packets. PASSIVE is to wait for peer to initiate the transmission of LACP packets. Default: 0
lag_hash LAYER2(0)/LAYER3_4(2)/LAYER2_3(1) The tx hashing algorithm used by the lag group. Default: 0
lagtype LACP(0)/STATIC(1) Sets the type of LAG. Default: 0
system_priority Sytem priority used by the node on this LAG interface. Lower value is higher priority for determining which node is the controlling system. Default: 32768
untagged_vlan 1-4094 802.1Q tag/Vlan ID for vlan being provisioned
vlan 1-4094 802.1Q tag/Vlan ID for vlan being provisioned