3
Part 2- Interface and Hardware Configurations
Chapter 9-Interface Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
Chapter Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
An Introduction to Interface Configuration. . . . . . . . . . . . . . . . . . . . . . . . . .76
Identification of an Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
Switch Port Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
Port Channel Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
VLAN Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
Out-of-Band (OOB) Management Port Interface. . . . . . . . . . . . . . . . . . . . .76
Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
Entering Interface Configuration Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
Adding a Description to an Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
Removing a Description from an Interface . . . . . . . . . . . . . . . . . . . . . . . . .78
Displaying Interface Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
Configuring Switch Port Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
Configuring Duplex Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
Configuring Flow Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
Configuring Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
Shutting Down an Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81
Configuring the Maximum Allowed Frame Size . . . . . . . . . . . . . . . . . . . . .81
Configuring the MTU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
Clearing Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
Configuring VLAN Interfaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83
Configuring the MTU on a VLAN Interface . . . . . . . . . . . . . . . . . . . . . . . . .83
Configuring the OOB Management Interface . . . . . . . . . . . . . . . . . . . . . . . . .83
Configuring an IP Address on the Management Interface . . . . . . . . . . . . .84
Configuring a Default Gateway on the OOB Management Interface . . . . .84
Configuring the IP MTU on the OOB Management Interface . . . . . . . . . . .85
Configuring an IPv6 Address on the OOB Management Interface . . . . . . .85
Configuring a IPv6 Default Gateway on the OOB Management Interface .86
Shutting Down the Management Interface . . . . . . . . . . . . . . . . . . . . . . . . .86
Displaying the OOB Management Port Interface Status. . . . . . . . . . . . . . .87
List of Constants and Default Settings
. . . . . . . . . . . . . . . . 87
Part 3- Layer 2 Configurations
Chapter 10-VLAN Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
Chapter Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
An Introduction to VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
Packet Classification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90
VLAN Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90
Configuration Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96
VLAN Configuration Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96
Relations with Other Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .98
List of Constants and Default Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .98
Chapter 11-VLAN Tunneling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99
Chapter Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99
An Introduction to VLAN Tunneling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99