How to perform interface range commands on 7000, 8000, 8100, M6220, M6348, M8024-K N2000, N3000 and N4000 series switches

How to perform interface range commands on 7000, 8000, 8100, M6220, M6348, M8024-K N2000, N3000 and N4000 series switches




Article Summary: This article explains how to configure multiple interfaces at the same time.

To configure multiple interfaces at the same time, you have to go into an interface range command.


Run the following commands to enter a range of interfaces.

console>enable

console#configure

For consecutive ports, the following example uses Gigabit Ethernet ports 1-5 on Unit 1

console(config)#interface range gi1/0/1-5

For non-consecutive ports, the following example uses Gigabit Ethernet ports 48 on Unit 1 and 2

console(config)#interface range gi1/0/48,gi2/0/48

Note: Notice that starting after range there are no more spaces in the rest of the command syntax for both examples
Note: To verify the way the ports are defined on your switch, you can run a console#show interfaces status


Below is an example to configure the consecutive ports 1 through 5, as well as 8 and 9.

console(config)#interface range gi1/0/1-5,gi1/0/8,gi1/0/9

Note: You may configure different interface types at the same time, such as a Gigabit Ethernet, and 10-Gigabit Ethernet interface






문서 ID: HOW10313

최종 수정일: 04/10/2018 04:20 AM


이 문서 평가하기

정확함
유용함
이해하기 쉬운
이 문서가 도움이 되셨나요?
지원 미지원
피드백을 보내 주십시오.
의견에는 <>()\와 같은 특수 문자를 사용할 수 없습니다.
죄송합니다. 현재 피드백 시스템은 사용하실 수 없습니다. 잠시 후에 다시 시도하십시오.

피드백을 보내주셔서 감사합니다.