文档介绍:单臂路由/PPPoE/PPPoA配置实例
     日期:2005-11-19    浏览次数: 5751
出处:互联网
单臂路由的配置实例
交换机配置
3512xl#show running-config
Building configuration...
Current conf iguration:
!
version
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 3512xl
!
no logging console
enable password mysecret
!
!
!
!
!
ip -zero
!
!
!
interface 0/1
switchport mode trunk
!
!-- If is configured,
!-- you will instead see the following output
!-- under interface FastEthe
rnet0/1:
!-- interface 0/1
!-- switchport trunk encapsulation dot1q
!-- switchport mode trunk
!
interface 0/2
switchport access vlan 2
spanning-tree portfast
!
interface 0/3
spanning-tree portfast
!
interface 0/4
!
interface 0/5
!
interface 0/6
!
interface 0/7
!
interface 0/8
!
interface 0/9
!
interface 0/10
!
interface 0/11
!
interface 0/12
!
interface 0/1
!
interface 0/2
!
interface VLAN1
ip address
no ip directed-broadcast
no ip route-cache
!
ip default-gateway
!
line con 0
transport input none
stopbits 1
line vty 0 4
password mysecret
login
line vty 5 15
login
!
end
路由器配置
Current configuration:
!
version
service timestamps debug uptime
serv