02.10.2013 Views

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

To place a physical or port channel interface in Layer 2 mode, use <strong>the</strong> switchport command; to place an<br />

interface in Layer 3 mode, assign an IP address to that interface. These interfaces also contain Layer 2 and<br />

Layer 3 commands to configure and modify <strong>the</strong> interfaces. VLANs are different and, by default, <strong>the</strong>se<br />

interfaces are in Layer 2 mode.<br />

Layer 2 Mode<br />

Use <strong>the</strong> switchport command to place an interface in Layer 2 mode. You cannot configure switching or<br />

Layer 2 protocols such as Spanning Tree Protocol on <strong>the</strong> interface unless <strong>the</strong> interface is in Layer 2 mode.<br />

Figure 154 displays <strong>the</strong> basic configuration found in a Layer 2 interface.<br />

Figure 154 show config Command Example of a Layer 2 Interface<br />

<strong>Force10</strong>(conf-if)#show config<br />

!<br />

interface Port-channel 1<br />

no ip address<br />

switchport<br />

no shutdown<br />

<strong>Force10</strong>(conf-if)#<br />

Layer 3 Mode<br />

To enable Layer 3 traffic on <strong>the</strong> interface, add an IP address to <strong>the</strong> interfaces using <strong>the</strong> ip address<br />

command and no shutdown command in <strong>the</strong> INTERFACE mode. In all interface types but VLANs, <strong>the</strong><br />

shutdown command prevents all traffic from passing through <strong>the</strong> interface. In VLANs, <strong>the</strong> shutdown<br />

command prevents Layer 3 traffic from passing through <strong>the</strong> interface, yet Layer 2 traffic is unaffected by<br />

this command. One of <strong>the</strong> interfaces in <strong>the</strong> system must be in Layer 3 mode be<strong>for</strong>e you configure or enter a<br />

Layer 3 protocol mode (<strong>for</strong> example, OSPF).<br />

Figure 155 shows how <strong>the</strong> show config command displays an example of a Layer 3 interface.<br />

Figure 155 show config Command Example of a Layer 3 Interface<br />

<strong>Force10</strong>(conf-if)#show config<br />

!<br />

interface GigabitE<strong>the</strong>rnet 1/5<br />

ip address 10.10.10.1 /24<br />

no shutdown<br />

<strong>Force10</strong>(conf-if)#<br />

246 Interfaces

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!