Logging in Simulated Subscribers with the CLI
You can log in IPv4 subscribers who are:
- Authenticated DHCP subscribers
- Authenticated interface subscribers
- Unauthenticated DHCP subscribers
- Unauthenticated interface subscribers
Logging in simulated subscribers allows you to test your SRC application without the need for a router or other device.
You can log out from the simulated subscriber session in the same way that you log out from other subscriber sessions.
Logging In Authenticated DHCP Subscribers
Use the following command to log in simulated IPv4 authenticated DHCP subscribers:
request sae login ipv4 authenticated-dhcp virtual-routervirtual-router
addressaddress
login-namelogin-name
mac-addressmac-address
<service-bundleservice-bundle
> <radius-classradius-class
> <interface-nameinterface-name
> <interface-aliasinterface-alias
> <interface-descriptioninterface-description
> <nas-port-idnas-port-id
>To log in a simulated IPv4 authenticated DHCP subscriber:
- Issue the
request sae login ipv4 authenticated-dhcp
command. Specify thevirtual-router
,address
,login-name
, andmac-address
options.user@host> request sae login ipv4 authenticated-dhcp virtual-routervirtual-router
addressaddress
login-namelogin-name
mac-addressmac-address
- (Optional) To specify the service bundle used when logging in the simulated subscriber, use the
service-bundle
option.- (Optional) To specify the RADIUS class used when logging in the simulated subscriber, use the
radius-class
option.- (Optional) To specify the virtual interface used when logging in the simulated subscriber, use the
interface-name
option.- (Optional) To specify the interface description used when logging in the simulated subscriber, use the
interface-alias
option.If you are simulating JUNOSe routers, the interface alias is the description that is configured on JUNOSe routers with the
interface description
command.
- (Optional) To specify the alternate interface name used when logging in the simulated subscriber, use the
interface-description
option.- (Optional) To specify the port identifier of an interface used when logging in the simulated subscriber, use the
nas-port-id
option.Logging In Authenticated Interface Subscribers
Use the following command to log in simulated IPv4 authenticated interface subscribers:
request sae login ipv4 authenticated-interface
virtual-routervirtual-router
addressaddress
login-namelogin-name
<service-bundleservice-bundle
> <radius-classradius-class
> <interface-nameinterface-name
> <interface-aliasinterface-alias
> <interface-descriptioninterface-description
> <nas-port-idnas-port-id
>To log in a simulated IPv4 authenticated interface subscriber:
- Issue the
request sae login ipv4 authenticated-interface
command. Specify thevirtual-router
,address
, andlogin-name
options.user@host> request sae login ipv4 authenticated-interface virtual-routervirtual-router
addressaddress
login-namelogin-name
- (Optional) To specify the service bundle used when logging in the simulated subscriber, use the
service-bundle
option.- (Optional) To specify the RADIUS class used when logging in the simulated subscriber, use the
radius-class
option.- (Optional) To specify the virtual interface used when logging in the simulated subscriber, use the
interface-name
option.- (Optional) To specify the interface description used when logging in the simulated subscriber, use the
interface-alias
option.If you are simulating JUNOSe routers, the interface alias is the description that is configured on JUNOSe routers with the
interface description
command.
- (Optional) To specify the alternate interface name used when logging in the simulated subscriber, use the
interface-description
option.- (Optional) To specify the port identifier of an interface used when logging in the simulated subscriber, use the
nas-port-id
option.Logging In Unauthenticated DHCP Subscribers
Use the following command to log in simulated IPv4 unauthenticated DHCP subscribers:
request sae login ipv4 unauthenticated-dhcp virtual-routervirtual-router
addressaddress
mac-addressmac-address
<login-namelogin-name
> <service-bundleservice-bundle
> <radius-classradius-class
> <interface-nameinterface-name
> <interface-aliasinterface-alias
> <interface-descriptioninterface-description
> <nas-port-idnas-port-id
>To log in a simulated IPv4 unauthenticated DHCP subscriber:
- Issue the
request sae login ipv4 unauthenticated-dhcp
command. Specify thevirtual-router
,address
, andmac-address
options.user@host> request sae login ipv4 unauthenticated-dhcp virtual-routervirtual-router
addressaddress
mac-addressmac-address
- (Optional) To specify the fully-qualified name used to log in the simulated subscriber, use the
login-name
option.- (Optional) To specify the service bundle used when logging in the simulated subscriber, use the
service-bundle
option.- (Optional) To specify the RADIUS class used when logging in the simulated subscriber, use the
radius-class
option.- (Optional) To specify the virtual interface used when logging in the simulated subscriber, use the
interface-name
option.- (Optional) To specify the interface description used when logging in the simulated subscriber, use the
interface-alias
option.If you are simulating JUNOSe routers, the interface alias is the description that is configured on JUNOSe routers with the
interface description
command.
- (Optional) To specify the alternate interface name used when logging in the simulated subscriber, use the
interface-description
option.- (Optional) To specify the port identifier of an interface used when logging in the simulated subscriber, use the
nas-port-id
option.Logging In Unauthenticated Interface Subscribers
Use the following command to log in simulated IPv4 unauthenticated interface subscribers:
request sae login ipv4 unauthenticated-interface
virtual-routervirtual-router
interface-nameinterface-name
<addressaddress
> <login-namelogin-name
> <service-bundleservice-bundle
> <radius-classradius-class
> <interface-aliasinterface-alias
> <interface-descriptioninterface-description
> <nas-port-idnas-port-id
>To log in a simulated IPv4 authenticated interface subscriber:
- Issue the
request sae login ipv4 authenticated-interface
command. Specify thevirtual-router
andinterface-name
options.user@host> request sae login ipv4 authenticated-interface virtual-routervirtual-router
interface-nameinterface-name
- (Optional) To specify the IP address from which you log in the simulated subscriber, use the
address
option.- (Optional) To specify the fully-qualified name used to log in the simulated subscriber, use the
login-name
option.- (Optional) To specify the service bundle used when logging in the simulated subscriber, use the
service-bundle
option.- (Optional) To specify the RADIUS class used when logging in the simulated subscriber, use the
radius-class
option.- (Optional) To specify the interface description used when logging in the simulated subscriber, use the
interface-alias
option.If you are simulating JUNOSe routers, the interface alias is the description that is configured on JUNOSe routers with the
interface description
command.