Reference Guide
By default, a trunk interface carries only untagged trac on the access VLAN — you must manually congure other VLANs for tagged
trac.
1 Select one of the two available options:
• Congure L2 trunking in INTERFACE mode and the tagged VLAN trac that the port can transmit. By default, a trunk port is not
added to any tagged VLAN. You must create a VLAN before you can assign the interface to it.
switchport mode trunk
switchport trunk allowed vlan vlan-id-list
• Recongure the access VLAN assigned to a L2 access or trunk port in INTERFACE mode.
switchport access vlan vlan-id
2 Enable the interface for L2 trac transmission in INTERFACE mode.
no shutdown
L2 interface conguration
OS10(config)# interface ethernet 1/1/7
OS10(conf-if-eth1/1/7)# switchport mode trunk
OS10(conf-if-eth1/1/7)# switchport trunk allowed vlan 5,10
OS10(conf-if-eth1/1/7)# no shutdown
L3 mode conguration
Ethernet and port-channel interfaces are in L2 access mode by default. When you disbale L2 mode and then assign an IP address to an
Ethernet port interface, you place the port in L3 mode.
Congure one primary IP address in L3 mode. You can congure up to 255 secondary IP addresses on an interface. At least one interface in
the system must be in L3 mode before you congure or enter a L3 protocol mode, such as OSPF.
1 Remove a port from L2 switching in INTERFACE mode.
no switchport
2 Congure L3 routing in INTERFACE mode. Add the keyword secondary to congure backup IP addresses.
ip address address [secondary]
3 Enable the interface for L3 trac transmission in INTERFACE mode.
no shutdown
L3 interface conguration
OS10(config)# interface ethernet 1/1/9
OS10(conf-if-eth1/1/9)# no switchport
OS10(conf-if-eth1/1/9)# ip address 10.10.1.92/24
OS10(conf-if-eth1/1/9)# no shutdown
View L3 conguration error
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# ip address 1.1.1.1/24
% Error: remove Layer 2 configuration before assigning an IP
Fibre Channel interfaces
OS10 unied port groups support Fibre Channel (FC) interfaces. A unied port group operates in Fibre Channel or Ethernet mode. To
activate FC interfaces, congure a port group to operate in Fibre Channel mode and specify the port speed. By default, FC interfaces are
disabled. To enable an FC interface for data transmission, enter the no shutdown command.
On a S4148U-ON, FC interfaces are available in all port groups. The activated FC interfaces depend on the currently congured port prole.
For more information, see S4148U-ON port proles.
Interfaces
73