Cisco WS-C3550-12G Software Configuration Manual page 235

Multilayer switch
Hide thumbs Also See for WS-C3550-12G:
Table of Contents

Advertisement

Chapter 8
Configuring Interface Characteristics
Beginning in privileged EXEC mode, follow these steps to configure a Layer 3 interface:
Command
Step 1
configure terminal
Step 2
interface {{fastethernet | gigabitethernet} interface-id}
| {vlan vlan-id} | {port-channel port-channel-number}
Step 3
no switchport
Step 4
ip address ip_address subnet_mask
Step 5
no shutdown
Step 6
end
Step 7
show interfaces [interface-id]
show ip interface [interface-id]
show running-config interface [interface-id]
Step 8
copy running-config startup-config
To remove an IP address from an interface, use the no ip address interface configuration command.
This example shows how to configure an interface as a routed port and to assign it an IP address:
Switch# configure terminal
Enter configuration commands, one per line.
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# no switchport
Switch(config-if)# ip address 192.20.135.21 255.255.255.0
Switch(config-if)# no shutdown
Switch(config-if)# end
This is an example of output from the show interfaces privileged EXEC command for an interface:
Switch(config)# show interfaces gigabitethernet0/2
GigabitEthernet0/2 is up, line protocol is up
Hardware is Gigabit Ethernet, address is 0002.4b29.4400 (bia 0002.4b29.4400)
Internet address is 192.20.135.21/24
MTU 1500 bytes, BW 100000 Kbit, DLY 10 usec,
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s
input flow-control is off, output flow-control is off
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:02, output 00:00:08, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
78-11194-03
reliability 255/255, txload 1/255, rxload 1/255
89604 packets input, 8480109 bytes, 0 no buffer
Received 81848 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
60665 packets output, 6029820 bytes, 0 underruns
0 output errors, 0 collisions, 16 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Purpose
Enter global configuration mode.
Enter interface configuration mode, and enter the
interface to be configured as a Layer 3 interface.
For physical ports only, enter Layer 3 mode.
Configure the IP address and IP subnet.
Enable the interface.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
End with CNTL/Z.
Catalyst 3550 Multilayer Switch Software Configuration Guide
Configuring Layer 3 Interfaces
8-23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3550

Table of Contents