다산L3스위치 셋업

for KT

SWITCH> enable
SWITCH# con t

SWITCH(config)# bri
SWITCH(bridge)# vlan create br2
SWITCH(bridge)# vlan add 17-20 un  ?
PORTS Select port number

SWITCH(bridge)# vlan add 17-20       ?
VLAN_NAME Vlan name: (NAME | X | X-Y)

SWITCH(bridge)# vlan add br2 7-20 untagged
SWITCH(bridge)# vlan pvid 1- 7-20 2
SWITCH(bridge)# show vlan
u: untagged port, t: tagged port
——————————————————-
| 1 2 3
Name( VID| FID) |123456789012345678901234567890
——————————————————-
default( 1| 1) |uuuuuuuuuuuuuuuu….uuuuuuuuuu
br2( 2| 2) |…………….uuuu……….
SWITCH(bridge)# exit
SWITCH(config)# interface default
SWITCH(config-if)# ip address 121.187.17.1/25
SWITCH(config-if)# ip address 121.187.16.65/27
SWITCH(config-if)# no shutdown
SWITCH(config-if)# exit
SWITCH(config)# int b  erface br2
SWITCH(config-if)# ip address 121.158.9.168/   70/30
SWITCH(config-if)# no shutdown
SWITCH(config-if)# exit
SWITCH(config)# ip route 0.0.0.0/0
% Incomplete command.

SWITCH(config)# ip route 0.0.0.0/0
% Incomplete command.

SWITCH(config)# ip route 0.0.0.0/0 121.158.9.169
SWITCH(config)# sh  ve  bridge set port ?
% Unrecognized command
SWITCH(config)# bridge set port ?
% Unrecognized command
SWITCH(config)# bridge set port           

SWITCH(bridge)# port medium ?
PORTS Select port number

SWITCH(bridge)# port medium 17 ?
rj45 use RJ45 port
sfp use SFP port

SWITCH(bridge)# port medium 17 sfp ?
<cr>

SWITCH(bridge)# port medium 17 sfp
SWITCH(bridge)# se  port  nego ?
PORTS Select port number

SWITCH(bridge)# port nego 17 ?
off Auto off
on Auto on

SWITCH(bridge)# port nego 17 off
SWITCH(bridge)# exit
SWITCH(config)# wr m ?
<cr>

SWITCH(config)# wr m
[OK]

SWITCH(config)# exit
SWITCH# pinf g 168.126.63.1
PING 168.126.63.1 (168.126.63.1) 56(84) bytes of data.
64 bytes from 168.126.63.1: icmp_seq=1 ttl=251 time=1.71 ms

— 168.126.63.1 ping statistics —
9 packets transmitted, 9 received, 0% packet loss, time 8073ms
rtt min/avg/max/mdev = 1.717/1.957/1.997/0.095 ms
SWITCH# configure terminal
SWITCH(config)# sh config
=========================
CONFIG-LIST
=========================
SWITCH(config)# exit
SWITCH# ping 168.126.63.1
PING 168.126.63.1 (168.126.63.1) 56(84) bytes of data.
64 bytes from 168.126.63.1: icmp_seq=1 ttl=251 time=1.74 ms
64 bytes from 168.126.63.1: icmp_seq=2 ttl=251 time=2.00 ms

— 168.126.63.1 ping statistics —
2 packets transmitted, 2 received, 0% packet loss, time 1003ms
rtt min/avg/max/mdev = 1.742/1.873/2.004/0.131 ms
SWITCH# sh run
!
hostname SWITCH
!
syslog output info local volatile
syslog output info local non-volatile
!
service dhcp
!
bridge
vlan create 2
!
vlan add default 1-16,21-30 untagged
vlan add br2 17-20 untagged
!
vlan pvid 1-16,21-30 1
vlan pvid 17-20 2
!
port medium 17 sfp
port nego 17 off
!
!
interface lo
no shutdown
!
–More–

interface default
no shutdown
ip address 121.187.16.65/27
ip dhcp helper-address 168.126.194.232 222.113.32.196
!
interface br2
no shutdown
ip address 121.158.9.170/30
!
ip route 0.0.0.0/0 121.158.9.169
!
end
SWITCH#

service dhcp
interf def
ip dhcp dhcp-helper xxx.xxx.xxx.xxx

답글 남기기

Your email address will not be published.