1. Router 구성
가.RS3000 (RiverStone 제품)

나. RS8000 (RiverStone 제품)


2. Riverstone Router 기본 설정 방법
가. Configuration Status 확인
RS# show running-config 또는 RS(config)# show
현재 Active 한 Config를 표시 (전원 ON/OFF 시 삭제)
RS# show startup-config 또는 RS(config)# show startup
Flash Memory에 저장 되어있는 Configuration을 표시 (전원 ON/OFF 후에도 삭제되지 않음)
나. Configuration 저장하기
설정 후 아래의 명령어를 입력 하기 전에는 반영되지 않음
RS(config)# save active : 설정한 Configuration을 활성화
RS(config)# save startup : Flash Memory에 저장
다. Configuration 지우기
RS(config)# show
1 : vlan create test port-based id 100
2 : vlan add ports et.1.10 to test
3 : interface create ip et11 port et.1.1 address-netmask 10.0.0.1/25
4 : interface create ip ptes vlan test address-netmask 1.1.1.1/24
5 : system set name RS
6 : system set contact 0152293333hyunchulkim
7 : system set location Seoul
8 : system set terminal baud 38400
Active 한 Configuration 중 일부를 삭제하고자 할 경우
RS(config)# negate 4-6 : 해당 번호의 명령행을 삭제.
주의사항 : VLAN 의 경우 “1”번을 지우고자 한다면, 3번 2번 1번 순으로 삭제해야 한다.
대항목에 대한 소항목 부분의 configuration부터 삭제한 후 지워야함,
VLAN외에 다른 부분에서도 동일하게 적용됨.
2E : vlan create test port-based id 4
위와 같이 “E” 가 표시되면 error가 있음을 의미하며, 해당 라인을 삭제하고 다시 정확히 설정을 한다.
Scratchpad 의 내용을 지울 때
RS(config)# erase scratchpad
라. 기본 설정
RS# system set date hour 1 minute 10 second 10 month june day 30 year 2001
현재 시간을 설정 , 확인 : RS# system show date
RS(config)# system set name Kim
RS(config)# save active
Kim(config)#
System Name 설정 및 변경
RS(config)# system set location Seoul
현재 Site 위치 표시
RS(config)# system set contact 0155881004hyunchulkim
해당 Site 담당자 표시
RS(config)# system set terminal baud 38400
Console 접속 시 Baud rate를 기본 9600 에서 38400으로 변경
마.자주 쓰이는 각종 상태를 보여주는 명령어
CLI 특징 : 보고자 항목을 먼저 적은 후 show 를 입력 한다.
Cisco Router 에서 show ip route Riverstone 에서 ip show route
: 각 Hierarchy별 명령어를 나열해줌
RS# in<Spacebar> (나머지 부분을 완성시켜줌) -> RS# interface
RS>enable
RS#config
RS(config)#
반대로 빠져 나갈 때는 Ctrl + Z
RS# system show hardware
Hardware의 전반적인 상태정보를 표시
RS# port show port-status so.2.1(2번 Slot 1번 Port)
해당 Port 의 status를 표시
RS# statistics show port-stats et.1.1(1번 Slot 1번 Port)
해당 Port 의 statistics를 표시
RS# l2-tables show all-macs verbose
현재 장비에 memory 된 MAC address 를 표시
RS# arp show all
ARP table을 표시
RS# interface show ip all
전체 Interface의 자세한 정보를 표시
바. Ping , Trace
RS# ping 1.1.1.1 packets 100 size 1500 sip 2.2.2.1 ttl 10
1.1.1.1에 대하여 Packet Size 1500 , ttl 10 , Source IP 2.2.2.2로 ping 100번, Ping 도중에 중지 하려면 Ctrl + C
RS# traceroute 1.1.1.1 < ? > 여러가지 Option 확인.
Trace 도중에 중지 하려면 Ctrl + C
사. Interface IP 설정
기본적으로 RSSR은 Port에 아무런 설정을 하지 않을 경우 일반적인 Switch처럼 동작 하며 Interface에 IP address를 설정하는 순간부터 Router의 한 Interface 처럼 동작 한다.
Interface 생성방법
RS(config)# interface create ip ABC address-netmask 1.1.1.1/255.0.0.0 port et.1.1
(RSSR 의 1번 Slot의 1번 Ethernet Port에 1.1.1.1/255.0.0.0 주소를 설정함과 동시에 ABC 란 이름을 부여함)
Secondary IP address 부여방법
RS(config)# interface add ip ABC address-netmask 2.1.1.1/255.0.0.0 port et.1.1
(add 명령으로 Secondary IP address 를 부여한다.)
'Network > Router' 카테고리의 다른 글
| RIVERSTONE Router (0) | 2009/01/06 |
|---|